Sent by Eric A. Meyer on 29 May 2002 17:05
At 16:55 -0400 5/29/02, Verdon Vaillancourt wrote:
>In IE 5.1 (MacOSX) and 6 (Win), the image butts nicely on top of the div
>below, creating the appearance of a tabbed panel. In NS 6.22 (Win) and
>Chimera .28 (MacOSX) there is an appx 1px space between the image and the
>div below, breaking the illusion. The page and the css both validate.
Try adding the following rule to your CSS:
#tabs img {display: block;}
If that works, see a detailed explanation (too long for the list) of
why at
<http://developer.netscape.com/evangelism/docs/articles/img-table/>.
I know you aren't using tables, but that's actually not relevant in
this case. The article was so titled because the vast majority of
people who stumble across this behavior are using tables.
--
Eric A. Meyer (http://www.meyerweb.com/eric/), List Chaperone
"CSS is much too interesting and elegant to be not taken seriously."
-- Martina Kosloff (http://www.mako4css.com/)