CSS Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
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 November 17th, 2003, 02:40 AM
cass_16 cass_16 is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Posts: 2 cass_16 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question CSS font sizes in IE 5

I am using an linked style sheet to render the font styles of my site. These fonts are displayed as they should be in IE 6, however in IE 5 the size of the font's seems to be ignored with all the other elements of the style being applies such as colour.

I am using % to determine the size, e.g. font-size: 70%.

Anyone got any ideas?

Reply With Quote
  #2  
Old November 17th, 2003, 01:23 PM
jabba_29's Avatar
jabba_29 jabba_29 is offline
Back in HEL
Dev Shed God 8th Plane (8500 - 8999 posts)
 
Join Date: Feb 2002
Location: Finland
Posts: 8,670 jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)  Folding Points: 57777 Folding Title: Beginner FolderFolding Points: 57777 Folding Title: Beginner FolderFolding Points: 57777 Folding Title: Beginner Folder
Time spent in forums: 3 Months 3 Weeks 4 Days 6 h 10 m 50 sec
Reputation Power: 1618
Send a message via ICQ to jabba_29 Send a message via AIM to jabba_29 Send a message via MSN to jabba_29 Send a message via Yahoo to jabba_29 Send a message via Google Talk to jabba_29 Send a message via Skype to jabba_29
Facebook
Do you declare an initial font size, i.e. what the 100% would be?

Don't know whether that would be the problem, just a shot in the dark.

Jamie

Reply With Quote
  #3  
Old November 18th, 2003, 01:56 AM
cass_16 cass_16 is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Posts: 2 cass_16 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
no, the body tag is declared first with a font size as 70%. As I said all the other elements of the style are being applied except the size.

Reply With Quote
  #4  
Old November 18th, 2003, 03:14 PM
csshacker's Avatar
csshacker csshacker is offline
How may I help?
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Location: At a crossroads where hacked and standard code meet.
Posts: 405 csshacker User rank is Sergeant (500 - 2000 Reputation Level)csshacker User rank is Sergeant (500 - 2000 Reputation Level)csshacker User rank is Sergeant (500 - 2000 Reputation Level)csshacker User rank is Sergeant (500 - 2000 Reputation Level)csshacker User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 5 Days 1 h 29 m 39 sec
Reputation Power: 16
Try setting
Code:
body
{
 font-size: small
}
and then see how it works. Earlier versions of Internet Explorer may not recognize an initial % designation of size. If that doesn't work, try
Code:
body
{
 font-size: 12pt
}
This forces an explicit size declaration, which your relative declarations can refer to.

Hope that answers your question.

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignCSS Help > CSS font sizes in IE 5


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 | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway