Hugh Guiney wrote: > http://www.nospoon.tv/test/bgcolor.html. > > I have tried this in Firefox 3.5.3 and Chrome 3.0.195.27 on Windows > XP and the result is the same. Oddly enough, IE7 renders them exactly > the opposite. So, barring that, how do I get the first example to > render the same as the second in 2.1 without using the same code?
You can try using two decimals for those em values, but because browsers have different "tip-over points/values" when calculating ems into pixels for rendering on screens you'll have a hard time finding values they'll all agree on at different font sizes. The safest is to stick to your first example only, but declare the paddings and border-width in px on both states. All browsers will agree on that, no matter which other border styles they pick up or not. regards Georg ______________________________________________________________________ css-discuss [cs...@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/