SitePoint Sponsor

User Tag List

Results 1 to 1 of 1
  1. #1
    SitePoint Addict dreado's Avatar
    Join Date
    Jan 2005
    0 Post(s)
    0 Thread(s)

    Force IE to ignore empty element?

    Is it possible to get IE to not display an empty <li>? I have a forum menu integrated into my main menu (which uses a list) and the forum menu items change depending what page you are on. This works fine in Firefox, but in IE you get spaces where all the possible menu items go.

    You'll see what I mean here
    (bottom of the navigation on the left).

    Edit: You won't see the problem live now as I have found a work-around; I have replaced the <li>s with <span>s
    Last edited by dreado; Mar 2, 2007 at 09:26.


Posting Permissions

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