Previous Message
Next Message

RE: [css-d] CSS code displays on screen in Netscape 4.x

Sent by Nate Koechley on 29 January 2002 02:02


This is how to fix the two big/related Netscape CSS bugs, if my memory
serves me:

1) this will fix the re-size bug:
http://hotwired.lycos.com/webmonkey/reference/javascript_code_library/wm_ns_
css_rs_fx/

2) this will prevent seeing css code on the page:
try wrapping your css declaration body (or contents of included css files)
with HTML comment tags ( <!-- --> ), as you would with blocks of JavaScript.
This should prevent the code from being displayed on the page. (That's HTML
comments, not CSS comments ( /* */ ) )

cheers,
nate

<snip>
>My problem is that *some* Netscape 4.7 users will
>see the CSS code visible on screen when they view a page in their
>browser.
</snip>
Previous Message
Next Message

Message thread:

Possibly related: