![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
#3
| |||
| |||
|
|
please see http://www.geocities.com/operationsengineer1/test.htm for an idea of how i want my logo header div to be layed out. when i went to resize "Test" to 2em (from 1em), this is what happened... http://www.geocities.com/operationsengineer1/test1.htm the div expanded to twice the size, too! |
#4
| |||
| |||
|
| http://www.geocities.com/operationsengineer1/test.htm for an idea of how i want my logo header div to be layed out. when i went to resize "Test" to 2em (from 1em), this is what happened... http://www.geocities.com/operationsengineer1/test1.htm the div expanded to twice the size, too! |
#5
| |||
| |||
|
|
please see http://www.geocities.com/operationsengineer1/test.htm for an idea of how i want my logo header div to be layed out. when i went to resize "Test" to 2em (from 1em), this is what happened... http://www.geocities.com/operationsengineer1/test1.htm the div expanded to twice the size, too! this was totally unexpected to me, however, it displays this way in both ie6 and ff1 so i think it is rendering correctly and i've coded something incorrectly. |
#6
| |||
| |||
|
|
please see http://www.geocities.com/operationsengineer1/test.htm for an idea of how i want my logo header div to be layed out. when i went to resize "Test" to 2em (from 1em), this is what happened... http://www.geocities.com/operationsengineer1/test1.htm the div expanded to twice the size, too! this was totally unexpected to me, however, it displays this way in both ie6 and ff1 so i think it is rendering correctly and i've coded something incorrectly. any guidance would be appreciated. |
#7
| |||
| |||
|
|
Makes sense. You've told the div to be 6 times the font-size and then you've doubled the font size. |
|
When a length is defined in em the value of 1em varies on the property being defined: For font-size 1em = the font-size of the parent element. For all other properties 1em = the font size of the current element. Steve |
#8
| ||||
| ||||
|
|
Makes sense. You've told the div to be 6 times the font-size and then you've doubled the font size. that makes sense aqs you've explained it, but that IS NOT what i was trying to do. i was trying to make the div 6em - period. well, you know, at the normal text size in a browser. |
|
i want em so that its size can be adjusted when folks adjust their browser's text size. |
|
i still don't see where i went wrong. can anyone help? |
|
When a length is defined in em the value of 1em varies on the property being defined: For font-size 1em = the font-size of the parent element. For all other properties 1em = the font size of the current element. |
#9
| |||
| |||
|
#10
| |||
| |||
|
|
please see http://www.geocities.com/operationsengineer1/test.htm for an idea of how i want my logo header div to be layed out. when i went to resize "Test" to 2em (from 1em), this is what happened... http://www.geocities.com/operationsengineer1/test1.htm the div expanded to twice the size, too! this was totally unexpected to me, however, it displays this way in both ie6 and ff1 so i think it is rendering correctly and i've coded something incorrectly. |
![]() |
| Thread Tools | |
| Display Modes | |
| |