Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    Senior Coder
    Join Date
    Jun 2002
    Location
    frankfurt, german banana republic
    Posts
    1,848
    Thanks
    0
    Thanked 0 Times in 0 Posts

    border-bottom won't show on table cell in IE5 Mac

    Consider the following code snippets:

    CSS:
    Code:
    #head, #foot {
    	background-color	: #EEE;	
    }
    
    #head td {
    	border-bottom		: 1px solid #999;	
    }

    HTML:
    Code:
    <tr id="head">
    	<td>foo</td>
    	<td> </td>
    </tr>
    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,
    mordred
    De gustibus non est disputandum.

  • #2
    me'
    me' is offline
    Senior Coder
    Join Date
    Nov 2002
    Location
    Warwickshire, England
    Posts
    1,229
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Might be a border conflict problem.

    Does it work if the space is replaced with &amp;nbsp;?
    David House - Perfect is achieved, not when there is nothing left to add, but when there is nothing left to take away. (Antoine de St. Exupery).
    W3Schools | XHTML Validator | CSS Validator | Colours | Typography | HTML&CSS FAQ | Go get Mozilla Now | I blog!

  • #3
    Senior Coder
    Join Date
    Jun 2002
    Location
    frankfurt, german banana republic
    Posts
    1,848
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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 property. Hm, doesn't seem to be supported though. Perhaps the rules attribute can help me.
    De gustibus non est disputandum.

  • #4
    Senior Coder
    Join Date
    Jun 2002
    Location
    frankfurt, german banana republic
    Posts
    1,848
    Thanks
    0
    Thanked 0 Times in 0 Posts
    empty-cells did work. Apparently it is understood by IE5.1 on Mac.
    De gustibus non est disputandum.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •