Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
font size rendering ff vs ie
Old 07-08-2007, 05:05 PM font size rendering ff vs ie
Experienced Talker

Posts: 36
Trades: 0
hey all. currently working on www.eddiewalter.com/staging/ and trying to figure out how to get ff and ie to both render the font size fairly close to each other. i know that they won't render the size exactly the same, but there seems to be a much larger difference in the rendered sizes than there should be. how do i get them to look more closely equal? i've declared the font size as a percentage in the body tag and then all of the other sizes are percentages throughout the style sheet (www.eddiewalter.com/staging/main.css) as well.

Code:
body {
    padding: 4px !important;
    margin: 0px;
    text-align:center;
    height: 100%;
    background: url(../images/page-bg.gif) repeat;
    font-size: 100%;
    }
edzdallas79 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 07-08-2007, 05:59 PM Re: font size rendering ff vs ie
Experienced Talker

Posts: 30
Name: Ben Henick
Trades: 0
The only way to nail down type size the way you want is to provide a fixed (pixel unit) type size in the body rule.

To bear this out:

IIRC on install, Firefox sets a default type size of 16px (12pt @96dpi) for proportional type. The Medium type size setting on IE is the same. If any of those settings are changed at any time by the user, you'll see a type size disparity between the two browsers when type is proportionally sized (that is to say, with percentages, ems, or keywords).

Once this is done, Firefox users can still increase their type size independently of the rest of the layout (View => Text Size) without regard to the type size specified in the stylesheet. If you use pixel unit sizing in IE, the user loses their ability to change the type size independently of layout, and must use the Zoom facility (which is only available in IE7).

My anecdotal understanding is that casual users don't change the type sizes from the defaults, and most in fact don't even know how.

For those of us working under professional (read: usually both exacting and clueless about the limitations of Web typesetting) art directors, the usual solution to your problem is to set a pixel unit type size in the body rule. However, the requirements and preferences of your intended users should suggest that you're better off sticking with the proportional approach.

In the latter case, one can baseline the comps against default type sizes, and test the layout against a range of type sizes in order to ensure that the layout doesn't blow out at the extremes of the range (83-133% of defaults is what I usually work with).

P.S. At present your principal type size is too tiny to be read with ease by anyone with significantly impaired vision. FYI.
persist1 is offline
Reply With Quote
View Public Profile
 
Old 07-09-2007, 07:52 AM Re: font size rendering ff vs ie
Experienced Talker

Posts: 36
Trades: 0
thanks persist1. i had a hard time understanding your reply at first. but i figured it out. =)
edzdallas79 is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to font size rendering ff vs ie
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.89300 seconds with 12 queries