Forum Moderators: open
The problem I am having is keeping a single itemed <ul> list to display the item without creating a blank space below(like a <br /> line). I use the attribute line-height in my css file and also include a height on the td cell containing the single itemed list. I have tried to set margins, paddings, and several other attempts. I simply put the output is as follows, minus the table and td cell info :
<ul><li>Single Item</li></ul>
Any help would be greatly appreciative, even if it is the simple little thing I have overlooked!
If so then you might want this..
ul {
display: inline;
margin: 0;
padding: 0;
}
li {
display: inline;
padding: 0 0.5em;
border-left: 1px solid #000;
}
I like to markup my nav menu as a <ul> list of links and then use this code to put it on a horzintal line.