This question seems to be asked freqeuently over the internet but I still can't find a solution.
I have this navigation bar (It switches between tabs using jQuery) which displays inline. I'm showing a background image on these and to make them more definitive I need to make them wider and higher.
<div id="tabs">
<ul id="tabs-nav-cont">
<li class="tabs-navs"><a href="#tabs-1">Nav 1</div></a></li>
<li class="tabs-navs"><a href="#tabs-2">Nav 2</div></a></li>
<li class="tabs-navs"><a href="#tabs-3">Nav 3</div></a></li>
<li class="tabs-navs"><a href="#tabs-4">Nav 4</a></li>
</ul>
</div>
The only way I can seem to do this is by reverting them back to block elements. Which is not what I want because they display vertically. So I tried putting divs in the anchors so I can size them up. However they seem to change them back to block elements too.
Im confused. Someone please help :)
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…