View Full Version : border-bottom won't show on table cell in IE5 Mac

01-27-2004, 12:23 PM
Consider the following code snippets:


#head, #foot {
background-color : #EEE;

#head td {
border-bottom : 1px solid #999;


<tr id="head">
<td> </td>

In IE5 on Mac, the bottom border is not shown for the second cell, which has no content aside from a single space. In IE, Moz, Opera on Windows everytime the border is shown. How do I force IE5 Mac to render bottom borders even when no content is in the cell? Assigning a width to the cell did not help.

Hoping for some insight on this issue,

01-27-2004, 07:15 PM
Might be a border conflict (http://www.w3.org/TR/REC-CSS2/tables.html#border-conflict-resolution) problem.

Does it work if the space is replaced with &amp;nbsp;?

01-27-2004, 07:31 PM
First of all it seems to be a conflict between me and IE5 Mac... ;)

I can't say for sure if it's a border conflict as described in the spec, and I remember having tried & nbsp; as well, but I test it tomorrow when I'm at work again.

But thanks anyway - there's a nice bit of info on the linked page: The empty-cells (http://www.w3.org/TR/REC-CSS2/tables.html#propdef-empty-cells)property. Hm, doesn't seem to be supported (http://www.blooberry.com/indexdot/css/properties/table/emptycell.htm) though. Perhaps the rules attribute can help me.

01-28-2004, 09:48 AM
empty-cells did work. Apparently it is understood by IE5.1 on Mac.