Helpful Information
 
 
Category: CSS Help
CSS in Netscape 4.5 for mac - some probs

Hi,

I'm working on a site at the moment, and to my horror found that on Netscape 4.5 for the Mac, some of the text looks unusually tiny. Not all of the text, just one or two words or paragraphs here and there.

It usually occurs when different styles ie. <span></span> tags are used on the same line. Does anyone know of a way to stop this happening?

A particular page on which it occurs is http://www.skill.org.uk/dev/shared/accessibility.htm, from the word 'WAI' to the end of the paragraph. It doesn't occur under NS 6/Opera/IE latest versions, or IE older versions, so why is it happening on the Mac version of NS 4.5?

Any enlightenment anyone could give me would be gratefully recieved.

Thanks,

Hannah:(

Might be worth leaving all the body text within one SPAN tag and then giving the anchor tags their own class within that tag, like:

<a href="http://www.w3.org/WAI/" target="_blank"
title="WC3's Web Accessibility Initiative" class="ulredbody">WAI</a>

instead of:

<a href="http://www.w3.org/WAI/" target="_blank"
title="WC3's Web Accessibility Initiative"><span class="ulredbody">WAI</span></a>

I'm not able to check if it's the nested SPAN tags which are causing the problem, but it's got to be worth a go?

hannah,
using ns4.5 on a mac I looked at your url and saw exactly what you're talking about... I copied the source and went through it removing line breaks within tags.. for example wherever I saw something like:


<a href="http://www.w3.org/WAI/" target="_blank"
title="WC3's Web Accessibility Initiative">

I changed it to :


<a href="http://www.w3.org/WAI/" target="_blank" title="WC3's Web Accessibility Initiative">

this tidies up the code quite a lot, making it easier to understand and lo and behold it solved your problem..
I put the file I edited online for you to look at:
http://www.fridge.unsw.edu.au/styleTest/skill.html

I dunno why NS dropped its bundle at line breaks within tags.. I thought browsers were supposed to ignore such things.

"Netscape cannot parse to save its life."

Matthew Brealey, richinstyle.com (http://www.richinstyle.com)

Thanks dang and Johnathon, you're stars!

I will try putting the class name within the <a></a> tags when there's a link, instead of nested. And I will delete 'space' in the source code. Spaces/line breaks within the source aren't supposed to affect anything, but if that's the cause of the problem, then grrrrr!! I'll delete them!

Thanks,
Hannah:)










privacy (GDPR)