473,324 Members | 1,678 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

font size confusion

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
Jun 8 '06 #1
10 1663
Harry wrote:

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)
Jun 8 '06 #2
"Jim Moe" <jm***************@sohnen-moe.com> wrote in message
news:Se******************************@giganews.com ...
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
Jun 8 '06 #3
Harry wrote:
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
Jun 8 '06 #4
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.

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/
Jun 9 '06 #5
Harry wrote:
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)
Jun 9 '06 #6
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.

Jun 9 '06 #7
Andreas Prilop wrote:
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
Jun 9 '06 #8
On Fri, 9 Jun 2006, Beauregard T. Shagnasty wrote:
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
Jun 9 '06 #9
"Felix Miata" <Ug********************@dev.nul> wrote in message
news:c1***************@p-t18.ij.net...
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.

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
Jun 10 '06 #10

"Beauregard T. Shagnasty" <a.*********@example.invalid> wrote in message
news:oX********************@bgtnsc05-news.ops.worldnet.att.net...
Harry wrote:
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


Thanks for that.

As I posted to the response from Felix, the code was from this css book [the
css Anthology]http://www.sitepoint.com/books/cssant1/ which I'm currently
working through.

--
Harry Smith

Jun 10 '06 #11

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: chris | last post by:
Hi All, I have a style sheet which for reason I wont bore you all to sleep with needs to have EM fonts, to ensure a users can still alter the text size through their browser. Within the style...
2
by: Haines Brown | last post by:
I don't understand the inheritance logic in this situation. Let me describe a simple situation: I have a document with a style sheet that specifies: address, blockquote, caption, center, dd,...
7
by: Fabian Neumann | last post by:
Hi! I got a problem with font-family inheritance. Let's say I have CSS definitions like: p { font:normal 10pt Verdana; } strong { font:normal 14pt inherit;
115
by: J | last post by:
I've run CSSCheck on my style sheets and I always get a warning similar to this: "font: bold 9pt/100% sans-serif Warning: Absolute length units should not generally be used on the Web ..." ...
8
by: kchayka | last post by:
<URL:http://www.w3.org/QA/Tips/font-size> In the "recommneded practices", I don't agree with their second bullet point, but the last 2 bullets sound like really bad advice, at least in a WWW...
21
by: James Moe | last post by:
Hello, I just joined this group and saw the discussion "What do you think of resizing 1em to 10px?" I am somewhat confused by what y'all think should be used as a reference size. I was surprised...
9
by: Dr John Stockton | last post by:
Assuming default set-ups and considering all reasonable browsers, whatever that may mean, what should an author expect that his readers in general will see (with visual browsers) for a page with...
30
by: Takehiko Abe | last post by:
I have a <pelement with <ttinside: ;;; <p>A paragraph contains <tt>tt element</tt>.</p> I would like to set the font-size of the TT to the same as the containing <p>. This does not seem to...
58
by: Don Li | last post by:
I've tried <body style="font-family:Verdana,Arial,Helvetica;font-size:0.8em;"> or <body style="font-family:Verdana,Arial,Helvetica;font-size:11pct;"> or <body...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.