Hi,
Why won't a <li> image not show when I have set the <ul> to be display: inline ?
And, is it possible to use a text character (eg "|") instead of an image?
Coditor
Moderators: macek, egami, gesf



li {
display: block;
padding: 5px;
float: left;
}
<ul>
<li><a href="/">home</a></li>
<li><a href="mailto:me@mymail.com">mail</a></li>
<li><a href="/search.php">search</a><li>
</ul>

<ul>
<li><a href="/">home</a></li>
<li><a href="mailto:me@mymail.com">mail</a></li>
<li><a href="/search.php">search</a><li>
</ul>
li {
border-right:1px solid #efefef;
# }
li.last {
border:0;
}

Users browsing this forum: No registered users and 1 guest