homepage Welcome to WebmasterWorld Guest from 54.227.62.141
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Pubcon Website
Home / Forums Index / Code, Content, and Presentation / CSS
Forum Library, Charter, Moderators: DrDoc

CSS Forum

    
CSS Font Sizing - What do you use?
Percent - % or Pixels - px or Default size - em
Web Footed Newbie




msg:1180240
 7:09 pm on Mar 11, 2003 (gmt 0)

In my learning curve of CSS thanks to Nick's 3 part series, I'm interested in what MOST people are using to control font sizing.
Which one are you using? Thanks again. WFN

 

Eric_Jarvis




msg:1180241
 7:15 pm on Mar 11, 2003 (gmt 0)

I leave the main body text at the user's default...and menus, small print and headers with %...I have used px now and again to set text precisely to images, though not IIRC in the current incarnation of any site

I use em to set the various design elements to respond flexibly to the text size, so that menu blocks and so on alter to fit

I haven't so far done a print stylesheet since the site prints off perfectly in most circumstances as it is...so I don't use pt at all

lorax




msg:1180242
 7:15 pm on Mar 11, 2003 (gmt 0)

I'm a bit of an odd duck because I use pixels. I believe most folks use something a bit more flexible.

Nick_W




msg:1180243
 7:24 pm on Mar 11, 2003 (gmt 0)

I think many CSS guys and girls use Erics approach (or something very similar).

Personally I don't use %'s but em's. I use px rarely on my own stuff and always leave the body text as it is or, at the most .9em.

Nick

Web Footed Newbie




msg:1180244
 7:35 pm on Mar 11, 2003 (gmt 0)

Thanks folks. :)

dingman




msg:1180245
 8:58 pm on Mar 11, 2003 (gmt 0)

For my part, I use ems for most everything, and make body text 1em - the browser default. The only exception is that when I do a print style sheet, I us inches for spacing and pt for font sizes, like I would in a word processor.

(I don't worry so much about accomodating different printers as I do about different screens. The print style sheets are usually for documents with a very narrow pre-determined audience, where I can safely assume US letter size paper.)

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / CSS
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved