HighDots Forums  

font size confusion

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss font size confusion in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Harry
 
Posts: n/a

Default font size confusion - 06-08-2006 , 05:33 PM






Hi.

With regards to the following:

font: 11px/22px Verdana, Geneva, Arial, Helvetica, sans-serif;

Could someone please tell me what the 11px/22px is all about?


Many thanks,

--
Harry Smith



Reply With Quote
  #2  
Old   
Jim Moe
 
Posts: n/a

Default Re: font size confusion - 06-08-2006 , 05:34 PM






Harry wrote:
Quote:
With regards to the following:
font: 11px/22px Verdana, Geneva, Arial, Helvetica, sans-serif;

Could someone please tell me what the 11px/22px is all about?

11px is the font size. 22px is the line-height.

--
jmm (hyphen) list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)


Reply With Quote
  #3  
Old   
Harry
 
Posts: n/a

Default Re: font size confusion - 06-08-2006 , 05:54 PM



"Jim Moe" <jmm-list.AXSPAMGN (AT) sohnen-moe (DOT) com> wrote


Quote:
11px is the font size. 22px is the line-height.

--
jmm (hyphen) list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)

That was quick!

Many thanks.



--
Harry Smith




Reply With Quote
  #4  
Old   
Beauregard T. Shagnasty
 
Posts: n/a

Default Re: font size confusion - 06-08-2006 , 05:57 PM



Harry wrote:

Quote:
With regards to the following:

font: 11px/22px Verdana, Geneva, Arial, Helvetica, sans-serif;

Could someone please tell me what the 11px/22px is all about?
It's old style for sure. Use percentages, and drop Verdana.

font: 100% Geneva, Arial, Helvetica, sans-serif;

http://k75s.home.att.net/fontsize.html
http://www.xs4all.nl/~sbpoley/webmatters/verdana.html

--
-bts
-Warning: I brake for lawn deer


Reply With Quote
  #5  
Old   
Felix Miata
 
Posts: n/a

Default Re: font size confusion - 06-08-2006 , 08:30 PM



On 06/06/08 18:33 (GMT-0400) Harry apparently typed:

Quote:
With regards to the following:

font: 11px/22px Verdana, Geneva, Arial, Helvetica, sans-serif;

Could someone please tell me what the 11px/22px is all about?
Some rude or clueless print deezigner who thinks he's created a web page
thinks leading twice normal makes his rude mousetype legible. The help
he thinks it provides is illusory.

Nothing need ever be sized in px in a page designed for the web, and
setting line-height with it is particularly vacuous.
http://mrmazda.no-ip.com/auth/line-height-inherit.html
--
"All have sinned & fall short of the glory of God." Romans 3:23 NIV

Team OS/2 ** Reg. Linux User #211409

Felix Miata *** http://mrmazda.no-ip.com/


Reply With Quote
  #6  
Old   
Jim Moe
 
Posts: n/a

Default Re: font size confusion - 06-09-2006 , 12:11 AM



Harry wrote:
Quote:
11px is the font size. 22px is the line-height.

That was quick!

Many thanks.

Sure.
Huh! I did not notice the time.
Heed the posts about font size.

--
jmm (hyphen) list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)


Reply With Quote
  #7  
Old   
Andreas Prilop
 
Posts: n/a

Default Re: font size confusion - 06-09-2006 , 10:52 AM



On Thu, 8 Jun 2006, Beauregard T. Shagnasty wrote:

Quote:
font: 11px/22px Verdana, Geneva, Arial, Helvetica, sans-serif;

It's old style for sure. Use percentages, and drop Verdana.
font: 100% Geneva, Arial, Helvetica, sans-serif;
Drop Geneva; it is a typeface with only one font.
There is no bold Geneva and no italic Geneva.

Most people have Arial; so the order "Arial, Helvetica" doesn't
make sense. Better is "Helvetica, Arial" if you want to include
Helvetica.



Reply With Quote
  #8  
Old   
Beauregard T. Shagnasty
 
Posts: n/a

Default Re: font size confusion - 06-09-2006 , 11:04 AM



Andreas Prilop wrote:

Quote:
On Thu, 8 Jun 2006, Beauregard T. Shagnasty wrote:

font: 11px/22px Verdana, Geneva, Arial, Helvetica, sans-serif;

It's old style for sure. Use percentages, and drop Verdana.
font: 100% Geneva, Arial, Helvetica, sans-serif;

Drop Geneva; it is a typeface with only one font. There is no bold
Geneva and no italic Geneva.

Most people have Arial; so the order "Arial, Helvetica" doesn't make
sense. Better is "Helvetica, Arial" if you want to include Helvetica.
You're right, I didn't delve far enough into it, having only copied the
OP's line, changing the font sizing and removing Verdana.

My own sites have Helvetica first, and no Geneva. (Don't even have
Geneva installed...)

--
-bts
-Warning: I brake for lawn deer


Reply With Quote
  #9  
Old   
Alan J. Flavell
 
Posts: n/a

Default Re: font size confusion - 06-09-2006 , 11:35 AM



On Fri, 9 Jun 2006, Beauregard T. Shagnasty wrote:

Quote:
Andreas Prilop wrote:

Drop Geneva; it is a typeface with only one font. There is no bold
Geneva and no italic Geneva.
....
My own sites have Helvetica first, and no Geneva. (Don't even have
Geneva installed...)
Oh, in CSS, specifying a font that you haven't got installed is
harmless enough: the harm comes when the font *is* installed :-}

SCNR


Reply With Quote
  #10  
Old   
Harry
 
Posts: n/a

Default Re: font size confusion - 06-10-2006 , 02:40 PM



"Felix Miata" <UgaddaBkidding.due2UCE (AT) dev (DOT) nul> wrote

Quote:
On 06/06/08 18:33 (GMT-0400) Harry apparently typed:

With regards to the following:

font: 11px/22px Verdana, Geneva, Arial, Helvetica, sans-serif;

Could someone please tell me what the 11px/22px is all about?

Some rude or clueless print deezigner who thinks he's created a web page
thinks leading twice normal makes his rude mousetype legible. The help
he thinks it provides is illusory.
Its actually some code from this css book [the css Anthology]
http://www.sitepoint.com/books/cssant1/ which I'm currently working through.

She doesn't always explain all the code she uses.

Quote:
Nothing need ever be sized in px in a page designed for the web, and
setting line-height with it is particularly vacuous.
http://mrmazda.no-ip.com/auth/line-height-inherit.html
This was useful - thanks.

--
Harry Smith




Reply With Quote
Reply




Thread Tools
Display Modes

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



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.