Font-family differences
Using different fonts can make some problems with the layout. In the sample list I use Verdana, Arial, Sans-serif, Trebuchet MS, Bitstream Vera Sans, Tahoma, Georgia, Helvetica and Courier. All text listed use the same font size, but they need different space.
font-family sample list
- I'm a sample text without any sense (Verdana)
- I'm a sample text without any sense (Arial)
- I'm a sample text without any sense (Sans-serif)
- I'm a sample text without any sense (Trebuchet MS)
- I'm a sample text without any sense (Bitstream Vera Sans)
- I'm a sample text without any sense (Tahoma)
- I'm a sample text without any sense (Georgia)
- I'm a sample without any sense (Helvetica)
- I'm a sample without any sense (Courier)
CSS Part:
body {
font-size: 82%;
}
.byfarlists {
font-size: 1em;
line-height: 1.4em;
color: #333333;
background-color: #ffffff;
padding-bottom: 2em;
}
(X)HTML Part:
<ol class="byfarlists">
<li style="font-family: Verdana;">I'm a sample text without any sense</li>
<li style="font-family: Arial;">I'm a sample text without any sense</li>
<li style="font-family: sans-serif;">I'm a sample text without any sense</li>
<li style="font-family: 'Trebuchet MS';">I'm a sample text without any sense</li>
<li style="font-family: 'Bitstream Vera Sans';">I'm a sample text without any sense</li>
<li style="font-family: Tahoma;">I'm a sample text without any sense</li>
<li style="font-family: Georgia;">I'm a sample text without any sense</li>
<li style="font-family: helvetica;">I'm a sample text without any sense</li>
<li style="font-family: courier;">I'm a sample text without any sense</li>
</ol>