FRIHOSTFORUMSFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a Frihost Account!

hiding css from netscape

 


Saber
Hey, again I have a css question, Is there a way to hide css code from netscape? At the moment I dont have anything to hide it so when I set the height on auto (enven with content) it sets its height to 0... yah... Any ideas?
{name here}
Use PHP. It can detect the browser and you may do such a thing.
riv
Another simpler way is to have your CSS in an external file, then use
Code:
<style type="text/css">@import url(style.css);</style>

instead of <link>. Older versions of Netscape doesn't understand what @import means, so it won't load the external file.
Reply to topic    Frihost Forum Index -> Scripting -> Html, CSS and Javascript

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2007 Frihost, forums powered by phpBB.