On Wed, 05 May 2004 10:12:45 -0400, Tenley Shewmake wrote: > ------- > I am pretty happy with the look of my new site in Netscape7 and MSIE6. > Normally I use @import for stylesheets, and people with older browsers > get a plain unformatted version of the site. > http://liberty.alterra-wv.com/index.htm
> (snipped a bit) > Right now, ALL of the styles are now in main.css, and I'm thinking about > taking out the positioning styles, and anything else that won't work in > older browsers and putting them into specialstuff.css. That way, folks > with older browsers will get an attractive look rather than > plain/unformatted. > Hi Tenley, If you are getting visitors using Netscape 4, your approach is laudable. You will soon find that this old browser is very limited in its CSS1 support. But I found very quickly what works, and what does work is very useful. You can, in fact, position stuff, but only reliably at top left. By adding margins, though, you can achieve similar effects to full positioning. Here's an example: <http://hucklesby.f2o.org/tutorialadd/case3/twinlife.htm> Don't laugh. It was my first ever attempt at CSS. I suggest playing around with a copy of Netscape 4.7. You won't need a lot of time to see what works. :) Al Sparber (he of Project Seven fame) suggests linking to a special NN4 style sheet using JavaScript, since NN4 styles only work if scripting is turned on: <style type="text/css"> @import url("specialstuff.css"); </style> <script type="text/javascript"> if (!document.getElementById) { document.write('<link rel="stylesheet" type="text/css" href="nn4style.css">'); document.close(); } </script> Hope this helps. Life. Love. Peace. David -- David Hucklesby, on 5/5/2004 Read "Bush is a Four-Letter Word" at http://www.hucklesby.com/ -- ***************************************************** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help *****************************************************
