John Wells wrote:
> I seem to have a pixel rounding problem with IE6 and below. The ID's 
> 'sidebar' and 'navigation' seem to be out by 1 pixel! Could anyone 
> suggest a reason why before i lose any more hair to stress!?

> http://www.johnywells.co.uk/blackbaud.html

You're gambling on that one browser does the correct calculation and
rounding of em-values. Looks like Firefox is your base, and _its_
calculations looks flawed since it renders the same border-width
differently on the element's four sides at my end.

It actually looks like IE6 is rounding quite consistently - same on all
4 sides, and is backed up by Opera.

Minor deviations at my end, caused by the fact that all my browsers
overrides author's font-size, is quite possibly also a factor. However,
that's a normal browser-option that a design either is prepared for - or
it isn't.

A quick test shows that...
#navigation {border: .095em solid #fff;}
...is a bit closer, but you'll have to adjust the 'width' too and I
don't think you can expect pixel-perfection across browser-land when you
start resizing.

I would redesign slightly and change that navigation to a non-float with
'width: auto', that's controlled in width by #content.

BTW: unless you intentionally want to trigger IE/win's 'em font-resizing
bug'...
<http://www.gunlaug.no/contents/wd_additions_13.html>
...you'll be better off with...
html {font-size: 100%;}

regards
        Georg
-- 
http://www.gunlaug.no
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to