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 Sizes - interesting article (honestly)

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

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

All Forums >> Community >> OutFront Discoveries >> Font Sizes - interesting article (honestly)
Page: [1]
 
Tailslide

 

Posts: 5999
Joined: 5/10/2005
From: Out here on the raggedy edge
Status: offline

 
Font Sizes - interesting article (honestly) - 7/21/2005 11:11:41   
Figuring out your base font-sze for your CSS has always been troublesome (at least for me). The problem being that different browsers (and IE) have different default font-sizes - so it's difficult to set a baseline effectively.

This article: http://loadaveragezero.com/vnav/labs/CSS/font-size.php says that the font keyword x-small is actually the same across all major browsers - 10px. Therefore you could set the base font-size to x-small and use % or ems to scale it up in your content tags and you should get the same effect cross-browser.

_____________________________

"My strategy is so simple an idiot could have devised it"
Little Blue Plane Web Design | Blood, Sweat & Rust - A Land Rover restoration project
womble

 

Posts: 5506
Joined: 3/14/2005
From: Living on the edge
Status: offline

 
RE: Font Sizes - interesting article (honestly) - 7/21/2005 14:58:28   
We beleive you, it is interesting, honestly...:) :)

...and speaking of which I also discovered this on my travels around the internet (towards the bottom of the page there are links to screenshots of the difference in text size between browsers etc.

_____________________________

~~ "A cruel god ain't no god at all" ~~
:)

(in reply to Tailslide)
caz

 

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

 
RE: Font Sizes - interesting article (honestly) - 7/21/2005 15:00:21   
He kind of glossed over the problems of IE5 and mac didn't he? Unless I missed it on a quick scan, which is very possible since I've spent the day reaquainting myself with Pagemaker :)

There is a previous thread dealing with font sizing here
covering relative font sizing for all browsers and a good site for fonts and CSS is
the noodle incident.

I have to say that I am sticking with Owen Briggs' method. :)

_____________________________

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 Tailslide)
Tailslide

 

Posts: 5999
Joined: 5/10/2005
From: Out here on the raggedy edge
Status: offline

 
RE: Font Sizes - interesting article (honestly) - 7/21/2005 15:04:55   
I remember reading the Noodle Incident and after a while it was like letters dancing around in front of my eyes like Fantasia! (oh no I can hear the music again!) dum dum diddly dum dum...

_____________________________

"My strategy is so simple an idiot could have devised it"
Little Blue Plane Web Design | Blood, Sweat & Rust - A Land Rover restoration project

(in reply to caz)
caz

 

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

 
RE: Font Sizes - interesting article (honestly) - 7/21/2005 15:12:03   
Ooops, are you twitching too?

_____________________________

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 Tailslide)
Tailslide

 

Posts: 5999
Joined: 5/10/2005
From: Out here on the raggedy edge
Status: offline

 
RE: Font Sizes - interesting article (honestly) - 7/21/2005 15:16:27   
No the pills control the twitching usually - unless I do something stupid like upload my site's new CSS file to the actual site instead of the test area... oh b****r.

_____________________________

"My strategy is so simple an idiot could have devised it"
Little Blue Plane Web Design | Blood, Sweat & Rust - A Land Rover restoration project

(in reply to caz)
dpf

 

Posts: 7121
Joined: 11/12/2003
From: India-napolis
Status: offline

 
RE: Font Sizes - interesting article (honestly) - 7/21/2005 16:30:10   
quote:

No the pills control the twitching usually - unless I do something stupid like upload my site's new CSS file to the actual site instead of the test area... oh b****r.
do you live at home with your mum? :)

_____________________________

Dan

(in reply to Tailslide)
Tailslide

 

Posts: 5999
Joined: 5/10/2005
From: Out here on the raggedy edge
Status: offline

 
RE: Font Sizes - interesting article (honestly) - 7/22/2005 4:58:08   
I wish.

_____________________________

"My strategy is so simple an idiot could have devised it"
Little Blue Plane Web Design | Blood, Sweat & Rust - A Land Rover restoration project

(in reply to dpf)
jaybee

 

Posts: 14134
Joined: 10/7/2003
From: Berkshire, UK
Status: offline

 
RE: Font Sizes - interesting article (honestly) - 7/22/2005 6:54:24   
OK, if someone can see a flaw in the following please shout as the brain is a little befuddled at the moment. It goes like this......

Taking the recommendation to use x-small which renders as 10px in all compliant browsers. (apparently, haven't tested it) If you want the non-compliant browsers to also have a base font size of 10px then you ought to be able to specify in your stylesheet

html {font-size: 10px;}
body {font-size: x-small;}


so that all browsers start with 10px then the non-compliants ignore the x-small. After that you use em or % to set the individual elements.

The reason for the befuddlement is, why bother with the x-small if all browsers understand the original 10px?

_____________________________

If it ain't broke..... fix it until it is.
:)

:)
GAWDS
Now where did I put that Doctype?

(in reply to Tailslide)
Tailslide

 

Posts: 5999
Joined: 5/10/2005
From: Out here on the raggedy edge
Status: offline

 
RE: Font Sizes - interesting article (honestly) - 7/22/2005 9:37:42   
No idea.

I'm presuming here that this:

body {font-size:10px;}
#container {font-size: 160%;}


is the same as this:

body {font-size: x-small;}
#container {font-size: 160%;}


Just tried it myself and can't see a difference.



_____________________________

"My strategy is so simple an idiot could have devised it"
Little Blue Plane Web Design | Blood, Sweat & Rust - A Land Rover restoration project

(in reply to jaybee)
jaybee

 

Posts: 14134
Joined: 10/7/2003
From: Berkshire, UK
Status: offline

 
RE: Font Sizes - interesting article (honestly) - 7/22/2005 12:02:49   
No because x-small won't work in all browsers so you need to set a baseline of the equivalent size in pixels first so that all browsers end up the same.

_____________________________

If it ain't broke..... fix it until it is.
:)

:)
GAWDS
Now where did I put that Doctype?

(in reply to Tailslide)
Tailslide

 

Posts: 5999
Joined: 5/10/2005
From: Out here on the raggedy edge
Status: offline

 
RE: Font Sizes - interesting article (honestly) - 7/22/2005 12:29:32   
Gotcha.



_____________________________

"My strategy is so simple an idiot could have devised it"
Little Blue Plane Web Design | Blood, Sweat & Rust - A Land Rover restoration project

(in reply to jaybee)
Donkey

 

Posts: 3864
Joined: 11/13/2001
From: Blackfield United Kingdom
Status: offline

 
RE: Font Sizes - interesting article (honestly) - 7/24/2005 11:29:34   
Assuming the original quoted article to be true, and noting jaybee's point above, would not the simple way of applying this to an existing style sheet that already uses % or em values for text (without recalculating all the font sizes) be as follows.

html{
font-size: 10px;
}

html{
font-size: x-small;
}

body{
font-size: 1.6em;
}



_____________________________

:)

I have a higher and grander standard of principle than George Washington. He could not lie; I can, but I won't.
Samuel Clemens

(in reply to jaybee)
jaybee

 

Posts: 14134
Joined: 10/7/2003
From: Berkshire, UK
Status: offline

 
RE: Font Sizes - interesting article (honestly) - 7/24/2005 11:39:46   
Yes, but what I'm saying is that if 10px works in all browsers why bother with x-small? What am I missing?

_____________________________

If it ain't broke..... fix it until it is.
:)

:)
GAWDS
Now where did I put that Doctype?

(in reply to Donkey)
Tailslide

 

Posts: 5999
Joined: 5/10/2005
From: Out here on the raggedy edge
Status: offline

 
RE: Font Sizes - interesting article (honestly) - 7/24/2005 11:41:37   
No idea.

I tried it out both ways and they both scale up nicely - so can't see difference either.

_____________________________

"My strategy is so simple an idiot could have devised it"
Little Blue Plane Web Design | Blood, Sweat & Rust - A Land Rover restoration project

(in reply to jaybee)
Donkey

 

Posts: 3864
Joined: 11/13/2001
From: Blackfield United Kingdom
Status: offline

 
RE: Font Sizes - interesting article (honestly) - 7/24/2005 12:49:32   
quote:

What am I missing?
I thought it was to do with pixel sizes being smaller on macs so x-small on a mac is roughly equal to 10px on a PC but 10px on a mac would be slightly smaller. I may be wrong on this so please slap me down if I am.:)

Personally I think it is a lot of fuss about nothing, I followed the links given by Caz above and if you study the screen grabs shown, the differences IMHO aren't great enough to make it worth bothering. Also I disagree with the guy's comment about default font sizes being too big to read comfortably. That's a subjective view based on his personal preference. The user can always adjust font size in the browser anyway, so why not use body{font-size:100%;} (so that IE rescales properly) then stick to ems or percentages?

<edit> to clarify</edit>

< Message edited by Donkey -- 7/24/2005 19:19:21 >


_____________________________

:)

I have a higher and grander standard of principle than George Washington. He could not lie; I can, but I won't.
Samuel Clemens

(in reply to jaybee)
jaybee

 

Posts: 14134
Joined: 10/7/2003
From: Berkshire, UK
Status: offline

 
RE: Font Sizes - interesting article (honestly) - 7/24/2005 15:11:48   
My head hurts. :)

_____________________________

If it ain't broke..... fix it until it is.
:)

:)
GAWDS
Now where did I put that Doctype?

(in reply to Donkey)
Tailslide

 

Posts: 5999
Joined: 5/10/2005
From: Out here on the raggedy edge
Status: offline

 
RE: Font Sizes - interesting article (honestly) - 7/24/2005 16:43:20   
You haven't been spinning yer bits have you?

_____________________________

"My strategy is so simple an idiot could have devised it"
Little Blue Plane Web Design | Blood, Sweat & Rust - A Land Rover restoration project

(in reply to jaybee)
dpf

 

Posts: 7121
Joined: 11/12/2003
From: India-napolis
Status: offline

 
RE: Font Sizes - interesting article (honestly) - 7/24/2005 16:51:09   
try this tailgate:
www.golfer.com/applyforsmutbrigademembership.html
oops! I meant Tailslide

< Message edited by dpf -- 7/25/2005 10:08:12 >


_____________________________

Dan

(in reply to Tailslide)
womble

 

Posts: 5506
Joined: 3/14/2005
From: Living on the edge
Status: offline

 
RE: Font Sizes - interesting article (honestly) - 7/25/2005 3:53:33   
Who's Tailgate? (link not working BTW) :)

_____________________________

~~ "A cruel god ain't no god at all" ~~
:)

(in reply to dpf)
golfer

 

Posts: 1760
Joined: 1/5/2005
From: Bath, Wiltshire, UK
Status: offline

 
RE: Font Sizes - interesting article (honestly) - 7/25/2005 7:54:11   
quote:

Who's Tailgate?


It's a thing that stops your font sizes slide - ing off.:)

quote:

(link not working BTW)


It's because membership is now restricted to smut enthusiasts only.

_____________________________

Ian

'You'll miss me when I've gone'

(in reply to womble)
womble

 

Posts: 5506
Joined: 3/14/2005
From: Living on the edge
Status: offline

 
RE: Font Sizes - interesting article (honestly) - 7/26/2005 4:06:57   
:) They even have their own club now?!? Next they'll be demanding their very own secret forum like the mods'!

_____________________________

~~ "A cruel god ain't no god at all" ~~
:)

(in reply to golfer)
golfer

 

Posts: 1760
Joined: 1/5/2005
From: Bath, Wiltshire, UK
Status: offline

 
RE: Font Sizes - interesting article (honestly) - 7/26/2005 4:57:19   
quote:

They even have their own club now?!? Next they'll be demanding their very own secret forum like the mods'!


Now don't get your 'knickers in a twist' womble. You declined an invitation to join coz we weren't smutty enough.:)

No secret forum. We pride ourselves on being open, honest, disgusting, rude and contentious all mixed with humour, innuendo and smut.:)

_____________________________

Ian

'You'll miss me when I've gone'

(in reply to womble)
womble

 

Posts: 5506
Joined: 3/14/2005
From: Living on the edge
Status: offline

 
RE: Font Sizes - interesting article (honestly) - 7/26/2005 8:36:19   
quote:

You declined an invitation to join


I must have blinked and missed that! I can't remember any invitation, and my senility's not half as advanced as those of you in the 'old farts club'! :)

_____________________________

~~ "A cruel god ain't no god at all" ~~
:)

(in reply to golfer)
golfer

 

Posts: 1760
Joined: 1/5/2005
From: Bath, Wiltshire, UK
Status: offline

 
RE: Font Sizes - interesting article (honestly) - 7/26/2005 8:42:05   
quote:

I must have blinked and missed that! I can't remember any invitation, and my senility's not half as advanced as those of you in the 'old farts club'!


Must have forgotten your invitation womble. Never mind - it's not important. The Old Farts private forum has been outed by Tailslide on another thread.

_____________________________

Ian

'You'll miss me when I've gone'

(in reply to womble)
womble

 

Posts: 5506
Joined: 3/14/2005
From: Living on the edge
Status: offline

 
RE: Font Sizes - interesting article (honestly) - 7/26/2005 8:52:12   
quote:


Must have forgotten your invitation womble.


:)
forgetting poor little old me? I shall go and sulk now...

_____________________________

~~ "A cruel god ain't no god at all" ~~
:)

(in reply to golfer)
golfer

 

Posts: 1760
Joined: 1/5/2005
From: Bath, Wiltshire, UK
Status: offline

 
RE: Font Sizes - interesting article (honestly) - 7/26/2005 12:47:06   
quote:

I shall go and sulk now..


Don't sulk womble. We still love you. You just missed out on membership. Between you and me you need to be a bit more smutty.

_____________________________

Ian

'You'll miss me when I've gone'

(in reply to womble)
dpf

 

Posts: 7121
Joined: 11/12/2003
From: India-napolis
Status: offline

 
RE: Font Sizes - interesting article (honestly) - 7/26/2005 12:54:50   
quote:

Between you and me you need to be a bit more smutty.
why only between you and her?

_____________________________

Dan

(in reply to golfer)
womble

 

Posts: 5506
Joined: 3/14/2005
From: Living on the edge
Status: offline

 
RE: Font Sizes - interesting article (honestly) - 7/26/2005 13:58:43   
I know I said I wasn't going to mention those PMs again, but...what else do you want?!?!

ah! you mean not what goes on in the privacy of the PM area? Taking a leaf out of your book when you tried to convince everyone you were sensible :) I admit I did recently have an ever-so slightly techie phase and I haven't indulged in as much smuttiness as I would have liked. I will try harder in future.

BTW - definitely sulking now as I haven't had any cyber-kisses recently...

oh, and dan, if you ask him nicely, I'm sure he'll invite you too :)

_____________________________

~~ "A cruel god ain't no god at all" ~~
:)

(in reply to dpf)
Page:   [1]

All Forums >> Community >> OutFront Discoveries >> Font Sizes - interesting article (honestly)
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