Forum Moderators: not2easy
Im trying todo a menu and the padding looks bloated.
im using this format
<tr><td class="line"> <a href="" class="as2">wid 2</a></td></tr>
<tr><td class="line"> <a href="" class="as2">wid 3</a></td></tr>
<tr><td class="line"> <a href="" class="as2">wid 4</a></td></tr>
but there is a big gap between the links.
Any quick fixes guys? Tried - 5px
you could do the whole thing a lot easier and cleaner by marking it up as a list, though, by the way.
<ul>
<li><a href="">wid 2</a></li>
<li><a href="">wid 2</a></li>
<li><a href="">wid 2</a></li>
</ul>
instead of putting class="as2" on each of the links, you could just put it once on the <ul> instead, and do your css like this:
ul.as2 a{blah blah blah}
if you want the links to appear as buttons, like in your table, then that's easy too. just do something like this:
ul.as2 li{display:block;background-color:red;color:white}