/    Sign up×
Community /Pin to ProfileBookmark

When I mention h1 , h2 …. h6 for heading. Whats the size in pixels for each heading size ? Is it different for IE and FireFox ? What will it be for both browsers ?

Secondly, when font size is specified as small, medium or large, what exactly will that be in pixels for IE and FF ?

Thanks

to post a comment
CSS

2 Comments(s)

Copy linkTweet thisAlerts:
@rtretheweyFeb 02.2012 — Every browser has slightly different default font size settings for the <h>eadline elements, which also affects how small, medium, and large sizes are rendered. In addition, the user's settings will also have an impact. But these are all under your control through your stylesheet. You can allow the default settings to prevail or override them as you choose and as your design dictates. Many tutorials recommend using percentages in order to allow the user's preferences to take precedence, but you'll sometimes need to specify an exact font size when you're working in a limited area of a web page. These are things you'll have to balance when creating websites. It is, as they say, an art, not a science. Good luck!
Copy linkTweet thisAlerts:
@Major_PayneFeb 03.2012 — Might help:

Care With Font Size: http://www.w3.org/QA/Tips/font-size

Designing for the Web: Resolution and Size: http://sitepointcom.createsend4.com/t/y/l/ydlyuyd/birtthtw/h/

Websites Shouldn&#8217;t Look The Same Across Different Browsers: http://www.noupe.com/design/websites-shouldnt-look-the-same-across-different-browsers&#37;E2%80%A6here-is-why.html
×

Success!

Help @jigneshjsoni spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.11,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...