Posted by meltedown on 04/16/06 04:18
Martin Jay wrote:
> In message <j9a0g.128384$nk.52910@fe04.news.easynews.com>, meltedown
> <groups2@reenie.org> writes
>> here is the problem broken down to a simple example:
>> http://reenie.org/test/test26.php
>>
>> There is a blue table you must scroll down to.
>>
>> The table has cellspacing of 1 with a div for a background to make
>> single pixel cell borders. As you can see, the right hand of the table
>> has a 2 pixel border in firefox.
>>
>> The thick border only shows up when there is a scroll bar.
>>
>> Is there any way around this ?
>
> I was about to say what 2 pixel border on the right, but then I re-sized
> Firefox's window and saw your problem.
>
> Maybe give the table 50% width and use the style "border-collapse:
> collapse," then give the td the 1px blue border you want. Something
> like this:
>
> <style type='text/css'>
> td{background:white; border: 1px blue solid;}
> table{width: 50%; margin: auto; border-collapse: collapse;}
> </style>
>
> I've uploaded the full page to
> <http://www.spam-free.org.uk/pages/table.html>.
Looks good, thanks for the tip.
[Back to original message]
|