CSS: font-size
March 12th, 2009
CSS: font-size
|
|
Jak vytvořit www stránku: CSS – font-size … font-size: xx-small | x-small | small | medium | large | x-large | xx-large | 10px | 10pt | 10% | 11em | 2cm | 5mm
Similar Posts
Using Keywords – css-discuss
CSS font-size keywords: xx-small, x-small, small, medium, large, x-large and xx-large. Part of: UsingFontSize. In modern browsers rendering in Standards Mode, body {font-size …Fonts
Unlike most other CSS properties, values are … CSS absolute-size values. xx-small. x-small. small. medium. large. x-large. xx-large. HTML font sizes …HIOX CSS (HTML) Tutorial – Setting font size using style sheet
Explanation: Property: Font Size Usage: font-size: xx-small; font-size: x-large; font-size: larger; font-size: smaller; font-size: 10px; font-size: 80%;Web Design – The CSS Text Size Conundrum
The CSS Text Size Conundrum. Jump to navigation (9) … Don’t size anything in CSS. Use small headings like <h5> for small print, …Styling the html element
In his article “HTML’s a Tag Too,” Bryan Veloso discusses the benefits of applying styles to the <html> element. He argues that by making more effective use of <html>, developers could eliminate the need for a wrapper div. Everything would effectively be “moved up” a level – apply global styles to <html> instead of <body>, and then <body> can serve the same purpose as the wrapper div would have. Bryan points out that this can be particularly handy in XHTML 1.1, in which the <body> no longer stretches the entire length of the page. It’s a neat idea, but for many developers – particularly those of us who work on large, enterprise-level sites – it is simply impractical. On large sites, rarely would you want to declare a global background image, for example. Or, you may not be able to access certain elements of a page at all, due to CMS limitations or other restrictions. However, for a small-scale site, styling
<html> could be a good way to reduce divitis, as long as you’re mindful of scalability issues.Read | Permalink | Email this | Linking Blogs | Comments