Previous Message
Next Message

Re: [css-d] IE6 Left Border missing

Sent by James Aylard on 8 January 2003 21:09


Kevin Harris wrote:

> CSS: http://www.pro-set.com/msiquote.css
>
> In Opera the page shows everything correctly. In IE6 I lose the left
> border of the two tables "Quantity/Cost" and "NOTES". Does anybody
> know why the left border disappears? I have used a simple box hack in
> my CSS.

    Looking at your style sheet, there is a syntax error: there is no
semicolon following the width declaration for the table element:

table {
 margin-left: -5px;
 width: 500px
 border: 2px #808080 solid;
}

    The border that is actually being applied appears to come from the style
declaration for the td element. Why it actually gets clipped, I'm not sure
off-hand. But the first rule of debugging is to fix known errors and see
what you're left with. Also, even though it is not required that you close
the last declaration for a given selector with a semicolon, I always do. It
helps to avoid errors like this when you attempt to make adjustments down
the road.

hth,
James Aylard
Previous Message
Next Message

Possibly related: