Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why empty space in CSS table-cells?

Tags:

css

Why does the cells left and right get filled with empty space?

The empty space is above the left and right table-cell.

http://jsfiddle.net/Tim86/NU9sA/

It has something to do with the #middlebuttons{display:block;}.

EDIT: I am using Firefox 5.

EDIT2: Pictues

Wrong

wrong

Right

![right

like image 438
Tim Avatar asked Jun 13 '26 12:06

Tim


1 Answers

I think it's this bug in Firefox. The workaround seems to be to add the following:

#middleButtons {
    vertical-align:top;
}

Was looking at this for a while in Chrome and couldn't see the problem!

like image 96
andyb Avatar answered Jun 15 '26 03:06

andyb