|
Posted by Beauregard T. Shagnasty on 11/25/05 11:39
John Salerno wrote:
> Mark Parnell wrote:
>> Deciding to do something for the good of humanity, John Salerno
>> <johnjsal@NOSPAMgmail.com> declared in alt.html:
>>
>>> I know I will feel stupid after you answer this question, but how do
>>> I do that? I don't see an immediate connection between, say, 200px
>>> and any particular em value.
>>
>> That's the whole point - if there was a direct correlation, there
>> would be little point in using the one rather than the other.
>> Generally I find around 15-20em is a good starting point for
>> sidebars - adjust to suit.
>
> So is this more of a test-and-see kind of conversion? There's no way
> to keep things the way they are when it's changed to em?
The way they are? Do you mean the same width? Well, if you have a nav
column of 150px, try changing that to 10em.
When done this way with em units, the column will grow along with the
text size when a visitor increases his text size, rather than have the
text spill out of the column.
I only ever use pixel measurements for borders and the occasional line.
All other measurements are defined in ems. Font sizes are defined in
percentages.
--
-bts
-Warning: I brake for lawn deer
[Back to original message]
|