The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.
|
 |
|
Dev Shed Forums
> Web Design
> CSS Help
|
CSS in Netscape 4.5 for mac - some probs
Discuss CSS in Netscape 4.5 for mac - some probs in the CSS Help forum on Dev Shed. CSS in Netscape 4.5 for mac - some probs Cascading Style Sheets (CSS) forum discussing all levels of CSS, including CSS1, CSS2 and CSS Positioning. CSS provides a robust way of applying standardized design concepts to your web pages.
|
|
 |
|
|
|
|

Dev Shed Forums Sponsor:
|
|
|

June 12th, 2001, 08:32 AM
|
|
Junior Member
|
|
Join Date: Jun 2001
Location: london, UK
Posts: 6
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
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 
|

June 12th, 2001, 09:01 AM
|
|
Contributing User
|
|
Join Date: Apr 2001
Location: Wilmslow, Cheshire
Posts: 255
  
Time spent in forums: 5 m 57 sec
Reputation Power: 17
|
|
|
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?
|

June 12th, 2001, 09:46 AM
|
 |
T-Shirt Tragic
|
|
Join Date: Mar 2001
Location: Melbourne, Australia
|
|
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:
Code:
<a href="http://www.w3.org/WAI/" target="_blank"
title="WC3's Web Accessibility Initiative">
I changed it to :
Code:
<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.
|

June 12th, 2001, 01:24 PM
|
|
Senior Citizen
|
|
Join Date: Jan 2001
Location: leftcoast
Posts: 2,019
Time spent in forums: < 1 sec
Reputation Power: 15
|
|
Quote: "Netscape cannot parse to save its life."
|
|

June 13th, 2001, 10:59 AM
|
|
Junior Member
|
|
Join Date: Jun 2001
Location: london, UK
Posts: 6
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
thankyou!
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 
|
Developer Shed Advertisers and Affiliates
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|