Get ready for BLACK FRIDAY shopping starting in

Forums

This topic is locked

CSS HELP

Posted 21 May 2002 17:19:00
1
has voted
21 May 2002 17:19:00 Jason Crittenden posted:
I AM HAVING A DEVIL OF A TIME GETTING MY STYLE SHEETS TO WORK PROPERLY IN NETSCAPE 4.X. I AM CALLING SEVERAL SERVER SIDE INCLUDES ON TO ALL OF MY PAGES WITH THEIR OWN STYLE SHEETS FOR EACH ONE. I'M SURE IT HAS TO DO WITH FILE STRUCTURE OR WHERE I'M PLACING MY TAGS. I AM VERY FRUSTRATED AND READY TO THROW THE PUTER OUT THE WINDOW. ANY HELP IS GREATLY APPRECIATED.

Replies

Replied 22 May 2002 12:42:00
22 May 2002 12:42:00 Christian Pouwer replied:
Hi there! Yes, it's true, Netscape 4.x just handles stylesheets differently (different in a bad, sleezy kind of way <img src=../images/dmxzone/forum/icon_smile_sad.gif border=0 align=middle>

I suggest that you make one additional stylesheet especially for Netscape 4.x compatibility and include that with a SSI. (or you could adapt all of your stylesheets for NN4, but then you would have to remove a lot of cool features that version 5 and above browsers CAN render correctly, that would be compromising and we don't want that, now do we?)

To test your stylesheets for compatibility in different browsers (i.e. will it work in Netscape?), you could use a CSS-program (TopStyle Pro, for instance it's free at www.bradsoft.com).

Finally, in your SSI you would have check for Netscape 4.x and if found, use the adapted stylesheet that you made.

The code for this is available on the following page:
www.zymm.com/raster/code/cssssi.html

You just have to put it in the HEAD of your document, where you would normally place your stylesheet call. (ofcourse you have to type in the relevant names of your own stylesheets)


Hope this helps you <img src=../images/dmxzone/forum/icon_smile.gif border=0 align=middle>





Kind regards, Chrisisz.

Reply to this topic