SitePoint Zealot
Making <li> disappear in Ajax Tab script
I'm using an ajax tab script for navigation and the <li>, which the script uses, displays next to the image (in this case, gfx/logo.png). Is there another element I can use? Can it be hidden in some fashion? I'm confused.
<td rowspan="2" style="height: 85px; width: 150px"><div id="nav" class="navitems"><li><a href="#default" rel="ajaxcontent"><img src="gfx/logo.png" alt="Preston's Restaurant" width="150" height="85" border="0"></a></li></div></td>
Here's the css:
.navitems li {
display: inline;
margin: 0;
}
That's not close to valid or semantic.
Why do you want to use markup for a list for a Single Item?
You can't use a li element without a parent ol or ul element.
Validate.
I'm not sure what the question is.
Posting Permissions
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Rules
Bookmarks