On Feb 2, 2008, at 2:05 AM, Foundation Flash wrote: > I would like to avoid scrollbars if possible, which I believe that > would > give me. It is an option though. > > Simon Tiplady wrote: >> What immediately springs to mind is setting "overflow: auto;" on >> the ".code" >> definition, not sure if its the best option or even what you want...
pre { white-space: pre-wrap; } would do this; support is currently a bit week across browsers. Using vendor prefixes appears to work in the listed browsers: pre { white-space: -moz-pre-wrap; /* Gecko */ white-space: -webkit-pre-wrap; /* WebKit, Safari 2 & 3 */ white-space: -o-pre-wrap; /* Opera 9 ?*/ white-space: pre-wrap; /* Opera 9.5b does support this */ } Test: <http://dev.l-c-n.com/_temp/pre-wrap.html> Not sure what to do about iExploder. Philippe --- Philippe Wittenbergh http://l-c-n.com/ ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/