tags:

views:

40

answers:

1

Hi everyone!

I have a issue with a table. I want just a border-bottom to be set and I wanted to have no gaps in between the td's, my css looks like this:

#questions td
{
    padding: 10px;
    border-bottom: solid thin black;
}

questions is the id of my table. I've tried setting the border bottom of the tr but this seems to do nothing (in chrome and FF at least). My table looks like this: alt text

Thank you!

+5  A: 

Try:

table { border-collapse:collapse; border-spacing:0; } 

This is the CSS replacement for the cellspacing attribute.

Šime Vidas
+1 for css solution
quakkels