[thelist] apply PRE formatting with css?

Hassan Schroeder hassan at webtuitive.com
Fri Aug 31 13:14:49 CDT 2001


Joe Crawford wrote:
> 
> You should take a look at this - this is the CSS1 spec:
>         http://www.w3.org/TR/REC-CSS1#white-space
> 
> I fear though, that I can't comment on how reliable it is among actual
> browsers.

FWIW:

NS 4.7x, NS 6.1, Opera 5.0 seem good

IE 5.x and Amaya 5.1 ignore "white-space: pre;"

/* though from the above spec:

  CSS1 core: UAs may ignore the 'white-space' property in author's 
  and reader's style sheets, and use the UA's default values instead. 

  This "may ignore" is also part of CSS2 ...
 */
-- 
H*
Hassan Schroeder ----------------------------- hassan at webtuitive.com 
Webtuitive Design ===  (+1) 408-938-0567   === http://webtuitive.com

    -- creating dynamic Web sites and applications since 1994 --




More information about the thelist mailing list