On Apr 7, 2007, at 1:59 AM, Tom Dell'Aringa wrote:

> It seems to me its the A rule where the spacing is set in the  
> padding, with
> 10px padding top and bottom. Possibly coupled with the 90% font  
> size - is
> that the difference?
>
> Normally, I would hardly sweat a 1-pixel issue, except for the fact  
> that a
> background will be spanning the page to make it look the menu bar  
> crosses
> the whole width. As you can see in the example, the green  
> background shows
> up under the menu bar in FireFox. (look closely, it is only 1 pixel).
>
> Even if I make the background the same black, I'm going to have a  
> problem
> because the menu won't be quite "pinned" down to page content, so  
> when a
> white, "selected" tab shows, there will be a black line under it,  
> which
> ruins the whole tab effect of course.

I get one pixel extra on the menu list... with my minimum font-size  
set - 90% of 'small' falls below the threshold.
It is pretty dangerous to make any construction like that dependent  
on the font-size. Your best bet is having the green background grow  
or shrink dependent on the computed height of the menu list.

Even assuming that the user doesn't change the font-size, you'd still  
have to struggle with rounding problems: the always present question:  
how/where to round off 0.1px to hook to the screen pixels.

Philippe
---
Philippe Wittenbergh
<http://emps.l-c-n.com>




______________________________________________________________________
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