|
pageoneresults -> RE: NN 4 (5/23/2003 14:42:32)
|
NN4.x currently represents less than 2% of the browser market share as of April 2003. It may be different depending on the industry, but that is the overall percentage. If you are finding that a respectable amount of your visitors are using NN4.x, you can easily appeal to them by using an @import statement to begin with until you fully understand the use of css. Basically what you do is import two style sheets; one for NN4.x users, and the other for the rest of the world. It is done like this... <link href=" /css/file-nn.css" type=" text/css" rel=" stylesheet" >
<style type=" text/css" >@import url(/css/file.css);</style> I' ve been doing that for a couple of years now with great success. In fact, I' ve been able to get sites to look almost identical in NN4.x and newer browsers. What you do is build your site for the masses. Then after all testing is done with the masses, you create a second copy of your style sheet. You take your original one, save as, and then work from there. Once you know what NN4.x does not like, you remove those attributes from the NN4.x style sheet and replace them with ones that NN4.x understands. NN4.x does not like margin attributes. They work, but your numbers will be less than your normal style sheet. NN4.x does not like border attributes. There are a few other basic no-nos when building your NN4.x style sheet. Newer browsers will ignore the first style reference and then adhere to the @import rule. NN4.x does not understand the @import rule and therefore reads the first style sheet. In my mind, NN4.x is dead, finally! If you must, and only after reviewing statistics, then go ahead and build a style sheet for NN4.x. And for those of you who are high tech, you can use browser detection and serve style sheets based on that. It is a much more robust way of doing it, but requires more maintenance and technical knowledge. P.S. Hey Thomas, you can run my directory through the NN4.x test to see the @import rule in action. I just added the css beveled button menu at left so there is a little bit of difference there, I' m working on that one. But, the rest of the site looks almost identical in NN4.x and IE6, Opera, Moz, etc.
|
|
|
|