Forum Moderators: not2easy

Message Too Old, No Replies

making a site's css Netscape 4 compatible

*shudder* but it's what the client wants

         

amznVibe

5:39 am on Oct 20, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I have been given the lovely task of taking a perfectly working site (that I "inherited") which now looks good in all modern browsers, make work in Netscape 4.

Right now it falls apart in Netscape 4, mostly because of the CSS stylesheet. If I remove the stylesheet, it's readable but horribly formatted of course. I've tried to find the bad directives in the stylesheet but its really hard. If I remove some, Netscape 4 crashes badly and if I remove chunks, its hard to figure out which ones are the bad ones.

Unfortunately the stylesheet is rather large at 10k. Are there any programs or online analysis out there that can help me with this task?

I've poked around in TopStyle but I don't understand its interface enough to realize if it can tell me what will work in NS4 or not.

Thanks for any help!

richardb

7:04 am on Oct 20, 2003 (gmt 0)

10+ Year Member



.. TopStyle but I don't understand its interface enough to realize if it can tell me what will work in NS4 or not

Shift+F6
F6

Should do the trick

Rich

SuzyUK

7:33 am on Oct 20, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hiya amznVibe

If I remove the stylesheet, it's readable but horribly formatted of course.

Are you going to be keeping your original stylesheet? You can hide it from NN4 using the @import method.. then make a seperate basic stylesheet for NN4 (using the <link rel> method ).. that way you could just it give it some basic formatting to make it a bit nicer without having to compromise the other browsers.

Or is that not the question? sorry don't know about topstyle

Suzy

amznVibe

9:06 am on Oct 20, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi Suzy (just knew you would jump in on a css challange ;) )

Oh I know lots of ways to hide stuff from Netscape4 (I discovered the aV Webmasterworld NS4 hack [webmasterworld.com] :) )
but identifying just the offending CSS to save time from building up a whole new stylesheet from scratch is the quest.

I think I am going to go play with TopStyle some more with richardb's advice (thanxs!)

amznVibe

9:13 am on Oct 20, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hey richardb was right on... TopStyle *does* give you a nice list of what might not/won't work. It's just ALL the way down after the general advice it gives, you have to scroll. Wow this program is powerful. Thanks again!

SuzyUK

9:20 am on Oct 20, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi amznVibe..

Oh I know lots of ways to hide stuff from Netscape4 (I discovered the aV Webmasterworld NS4 hack happy! )
but identifying just the offending CSS to save time from building up a whole new stylesheet from scratch is the quest.

Cool, I had a feeling you did which is why I checked the question.. glad you got it sorted though.. me bad forgot about the "aV hack" :(

richardb I'll know who to call on for Topstyle advice if I need to ;)

Suzy

richardb

9:39 am on Oct 20, 2003 (gmt 0)

10+ Year Member



My pleasure

I blame TopStyle for all my CSS probs, I’ve used it so much that it’s made me… ;)