Netscape 4.7 stylesheet access problem

liunx

Guest
Can anyone tell me why Netscape 4.7 doesn't read the stylesheet at the following address:

<!-- m --><a class="postlink" href="http://testsite2.rickettfieldfarm.co.uk/">http://testsite2.rickettfieldfarm.co.uk/</a><!-- m -->

I feel it is a simply oversight and am prepared to look foolish, but I just can't work it out.

I'm converting the site from shtml to php and so it's not finished and if you do get it to work in NS4.7, I know it will be a mess. But my plan is to get it working so I can clean it up in this - now annoyingly old - browser.

Thanks,
RCouple of things perhaps:

1) The "./" in your href attribute in the LINK tag might be giving that old browser problems.

2) You are using the descendant selector in some of your styles, which NS4 doesn't support.

3) Don't attempt CSS layouts in 4.0 browsers. They are more work than what it's worth. You basically can't get a CSS layout to work in NS4. It's recommended that you use the @import rule to import your style sheets, instead of the LINK tag.

Basically, if you want a 4.0 browser to see a style, place it in a CSS file imported via the LINK tag.

If you want to hide the style from a 4.0 browser, place it in a CSS file imported using the @import rule.

4) Validate your CSS. It never hurts and can spot coding errors that human eyes skip over. :) <!-- m --><a class="postlink" href="http://jigsaw.w3.org/css-validator/Cheers">http://jigsaw.w3.org/css-validator/Cheers</a><!-- m --> for the reply toicontien, but

1. I've tried all combinations with the directory name, from: '../' './' '/' ''
all to no avail.

2. Not sure what the descendant selector is, but when the site was in shtml (which can still be seen at <!-- w --><a class="postlink" href="http://www.rickettfieldfarm.co.uk">www.rickettfieldfarm.co.uk</a><!-- w -->), it still read the stylesheet using the same stylesheet link format as the one in php (testsite2).
My point is, is that it still should read the stylesheet. I just cannot see why it isn't reading it.

3. The reason I'm trying to get it to work is so that I can do a text based layout for NS4.7 in addition to using the @import method for modern browsers. I just stripped that part out to get rid of any variables that was screwing it up.

The testsite validates its xhtml and css. I cannot understand what else it could be unless there is something wrong with my html code. But then that validates so it's not like I've missed out a > or other important syntax thing.

My other sites (that I will also be updating) css are read by NS4.7, so it's not a problem with the browser in that respect.

This is infuriating coz I've tried everything!!! Any other suggestions will be welcomed.

Thanks,
RHave decided to add the code which calls another stylesheet via the @import method. One I have called 'oldrickettstyle.css' (for NS4) and the other is called 'rickettstyle.css' (via the @import method for css layout).

The stylesheets are identical apart from in the 'oldrickettstyle.css' stylesheet I have changed the background colour to black. It should surely change!!! But....alas.....it does not.

If no one knows how to fix this, can someone tell me whether this has happened before and whether I should just give up. Nuts....I....going......am!!!

Thanks again,
RAnd my hair is saved. Sorted it. The reason appears to have been that NS4.7 doesn't understand the voice family code (which I can appreciate - see below). Upon removal it rendered into the mess I was looking for. This may have been the 'descendant selector' toicontien was talking about. Not sure though.

voice-family: "\"}\"";
voice-family:inherit;

Cheers,
ROriginally posted by richiebman
... The reason appears to have been that NS4.7 doesn't understand the voice family code (which I can appreciate - see below). Upon removal it rendered into the mess I was looking for. This may have been the 'descendant selector' toicontien was talking about. Not sure though.
Nope. More info: <!-- m --><a class="postlink" href="http://www.w3.org/TR/CSS21/selector.html#descendant-selectors">http://www.w3.org/TR/CSS21/selector.htm ... -selectors</a><!-- m -->
 
Back
Top