Forum Moderators: not2easy
ul.toplinks
{
display:inline;
list-style:none;
list-style-type:none;
margin:0px;
padding:0px;
}li.toplinks
{
width:173px;
display:inline;
list-style:none;
list-style-type:none;
margin:0px;
padding:0px;
}
And then using:
<ul class="toplinks">
<li class="toplinks">
Image</li>
etc.
etc.
To display them but it is leaving a gap about 3-5px wide between them which is causing it not to fit. How can I get rid of that?
I tried everything just like you did and found a word-spacing of -5px fixed the problem but obviously multiple words ended up 2gether, so i just had to work with it and changed the padding for my horizontal navigation links
#nav_h a
{
padding: 0px 3px/*8px - 5px word spacing*/ 0px 8px;
}
Maybe there's a way to use CSS pseudo-elements to fix it i dunno...
[edited by: Kaylx at 6:07 pm (utc) on Sep. 8, 2007]
Text Text Text <br />
Text Text Text <br />
Text Text Text <br />
Instead of:
Text Text Text <br />Text Text Text <br />Text Text Text <br />
But thanks for posting that, I'll keep that in mind next time. Probably just stick with the table for now since there's no negative effect of using it really.