CSS Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsWeb DesignCSS Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old June 12th, 2001, 08:32 AM
hannah hannah is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2001
Location: london, UK
Posts: 6 hannah User rank is Just a Lowly Private (1 - 20 Reputation Level) 
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

Reply With Quote
  #2  
Old June 12th, 2001, 09:01 AM
dang65 dang65 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2001
Location: Wilmslow, Cheshire
Posts: 255 dang65 User rank is Corporal (100 - 500 Reputation Level)dang65 User rank is Corporal (100 - 500 Reputation Level)dang65 User rank is Corporal (100 - 500 Reputation Level)dang65 User rank is Corporal (100 - 500 Reputation Level) 
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?

Reply With Quote
  #3  
Old June 12th, 2001, 09:46 AM
Jonathon's Avatar
Jonathon Jonathon is offline
T-Shirt Tragic
Dev Shed Novice (500 - 999 posts)
 
Join Date: Mar 2001
Location: Melbourne, Australia
Posts: 886 Jonathon User rank is Major (30000 - 40000 Reputation Level)Jonathon User rank is Major (30000 - 40000 Reputation Level)Jonathon User rank is Major (30000 - 40000 Reputation Level)Jonathon User rank is Major (30000 - 40000 Reputation Level)Jonathon User rank is Major (30000 - 40000 Reputation Level)Jonathon User rank is Major (30000 - 40000 Reputation Level)Jonathon User rank is Major (30000 - 40000 Reputation Level)Jonathon User rank is Major (30000 - 40000 Reputation Level)Jonathon User rank is Major (30000 - 40000 Reputation Level)Jonathon User rank is Major (30000 - 40000 Reputation Level) 
Time spent in forums: 1 Week 4 Days 6 h 53 m 39 sec
Reputation Power: 320
Send a message via Skype to Jonathon
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.

Reply With Quote
  #4  
Old June 12th, 2001, 01:24 PM
adios adios is offline
Senior Citizen
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Jan 2001
Location: leftcoast
Posts: 2,019 adios User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 15
Quote:
"Netscape cannot parse to save its life."

Reply With Quote
  #5  
Old June 13th, 2001, 10:59 AM
hannah hannah is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2001
Location: london, UK
Posts: 6 hannah User rank is Just a Lowly Private (1 - 20 Reputation Level) 
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

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignCSS Help > CSS in Netscape 4.5 for mac - some probs

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap