<div id="linkContainer">
<div class="link">link.....</div>
<div class="link">link.....</div>
<div class="link">link.....</div>
</div>
No. The norm whould be to use list mark-up for this. IE:
Code:
<ul id="linkcontainer">
<li>link.....</li>
<li>link.....</li>
<li>link.....</li>
</ul>
This makes more sense and cuts down on the use of those non-semantic divs.
You can then style the list using the following css:
Code:
ul#linkcontainer{...}
ul#linkcontainer li {...}
ul#linkcontainer li a {...}
to make your list appear horizontally there are a few ways. This will work:
Code:
#linkcontainer li
{
display: inline;
list-style-type: none;
}
and so would this:
Code:
#linkcontainer ul { float: left;}
#linkcontainer ul li { float: left;}
Hope thats of some help
Bookmarks