Thanks for helping me with this. The table is now as it should.

I must say I am surprised that a image must have "display:block" to  
get rid of space at the top and bottom. If I understand correctly  
whats happening here.

I thought a image was inline and thus didnt have any space on top and  
bottom a there is no blind line / CR-line. Thanks again  Fantasai and  
Jon Marc :)

Erland

Den 27. okt.. 2007 kl. 23.44 skrev fantasai:

> JonMarc Wright wrote:
>>>   img { display: block; }
>>> or
>>>   img { vertical-align: top; }
>>> should help.
>>
>> using display: block will do fine for eliminating the double  
>> spacing between
>> your table rows.  it sounded like you wanted the images to have no  
>> space
>> around them at all (in other words no blue background showing  
>> through).  If
>> that is the case, you will need to add the following attribute to  
>> your
>> <table> element:
>>
>> cellpadding="0"
>>
>> that will eliminate the 1px of space between each image so there is  
>> no blue
>> border showing through.
>
>
>

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to