[geeklog-devel] comment.thtml

Dirk Haun dirk at haun-online.de
Sun Sep 26 03:51:35 EDT 2004


Vinny,

>Is there a way to override <pre> tags to force wrapping?

According to the W3C, user agents "May disable automatic word wrap" for
the <pre> element (which, it seems, most of them do).
<http://www.w3.org/TR/html401/struct/text.html#edef-PRE>

The CSS2 'max-width' property is meant to let your override this:
<http://www.w3.org/TR/REC-CSS2/visudet.html#propdef-max-width>

However, IIRC, IE6 doesn't support max-width ...

bye, Dirk


-- 
http://www.haun-online.de/
http://www.macosx-faq.de/




More information about the geeklog-devel mailing list