navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

Microsoft MVP

 

Font size issue

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> Cascading Style Sheets >> Font size issue
Page: [1]
 
SteveWR

 

Posts: 277
Joined: 3/27/2002
From: Essex, UK
Status: offline

 
Font size issue - 11/25/2004 5:09:24   
Not sure if this is the right place but hey its style related

Why does this "font-size:10;" not allow the rendered font to be changed by the browser in IE and Advant but it does in Mozilla/Firefox ?

Is it just "well thats the way it is" and I have to use % ?

Thanks



_____________________________

Steve
-----------------------
Life isn’t a rehearsal … it's an audition

www.esprit-internet.co.uk
Giomanach

 

Posts: 6091
Joined: 11/19/2003
From: England
Status: offline

 
RE: Font size issue - 11/25/2004 7:27:45   
You need to define what the 10 is; is it 10 pixels? 10 points? 10 percent etc

Try: font-size: 10px;

_____________________________




(in reply to SteveWR)
c1sissy

 

Posts: 5084
Joined: 7/20/2002
From: NJ
Status: offline

 
RE: Font size issue - 11/25/2004 9:50:24   
Hi SteveWR,
Here are a few links for you in regards to fonts and css
http://www.wilk4.com/webdevres/fontcss3.htm

http://www.dejeu.com/web/tools/tech/css/variablefontsizes.asp

http://4ums.com/tools/font-size_em_reference.html

http://www.gwumc.edu/library/tutorials/introxhtml/css2.cfm

http://www.romankoch.ch/capslock/cssfontmodel.htm

I hope that some of these can help you to decide which is best to use in regards to size. Oh, and as Dan stated, don't forget to add if it is a percentage, pixel, em, etc... Just putting a plain 10 won't tell the browser what to do.

_____________________________

Deb-aka-c4Ksissy
high panjandurum and alpha female of the silverback tribe
As decreed by Jesper 5-24-2003.
The only stupid question is... the one that is never asked!!
http://directory.css-styling.com
http://fmsforum.com
http://positioniseverything.net/
http://www.tanfa.co.uk/

(in reply to Giomanach)
caz

 

Posts: 3520
Joined: 10/10/2001
From: Somewhere south of Chester, UK
Status: offline

 
RE: Font size issue - 11/25/2004 9:56:52   
To offer adjustable font sizing to users you have to specify relative, not fixed font sizes in your CSS, ems or %. Even IE will co-operate then. So decide that 10(px,pt whatever equals 1 em, or 0.9em) and take it from there.

Have a look at the sticky "Links" post at the top to find more information, or you could use the Search forum function within the CSS forum.:)

Edit: I see that Deb beat me to it, very comprehensively.:)

_____________________________

Do not meddle in the affairs of cats, for they are subtle and will dance, or more on your keyboard.
Cheshire cat. www.doracat.co.uk

I remember when it took less than 4hrs to fly across the Atlantic.

(in reply to Giomanach)
c1sissy

 

Posts: 5084
Joined: 7/20/2002
From: NJ
Status: offline

 
RE: Font size issue - 11/25/2004 10:00:21   
Also be as familar with inheritance as possible. with fonts, this still throws me off, so find some things to read about how things inherit down your divs.

_____________________________

Deb-aka-c4Ksissy
high panjandurum and alpha female of the silverback tribe
As decreed by Jesper 5-24-2003.
The only stupid question is... the one that is never asked!!
http://directory.css-styling.com
http://fmsforum.com
http://positioniseverything.net/
http://www.tanfa.co.uk/

(in reply to caz)
SteveWR

 

Posts: 277
Joined: 3/27/2002
From: Essex, UK
Status: offline

 
RE: Font size issue - 11/25/2004 11:38:27   
Thanks everyone, back on track now, i am having one of those " can't see wood for trees" periods.

Right i'm off to the graphics forum now



_____________________________

Steve
-----------------------
Life isn’t a rehearsal … it's an audition

www.esprit-internet.co.uk

(in reply to c1sissy)
Page:   [1]

All Forums >> Web Development >> Cascading Style Sheets >> Font size issue
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts