[thelist] CSS margin/padding
rudy
r937 at interlog.com
Thu Mar 20 15:23:20 CST 2003
> <div class="leftnav">
> <a href="">2003 Celebrity Hockey Game
> Moo Zoo Doo 2003 [ snip a big honking chunk of text ] </a>
> </div>
ray, my take on this is that you need to go back to square one
and re-examine your semantic markup
div is not a suitable container for text
use P instead, or in addition
now re-examine exactly *what* it is that you want padding on
is it really the A?
what if an A is mid-sentence? do you really want it to be padded?
if it's actually the text block **that the A contains** that you
want padded, then i think you really want to apply the padding to
the P
rudy
More information about the thelist
mailing list