On Thu, 9 Sep 2004 20:53:31 +0200, michael <nomail (AT) example (DOT) com> wrote:
Quote:
Don't use <br> so much. Only when you need to break a line
It was just to fake some spacing above and below the link for a
simplified
example sake, but it isn't going to be used at all on the actual page. |
Ok, my example below sets a margin (which probably ought to be padding
instead) to replace that, you can omit that part.
Quote:
like this.
a {display: block; width: 100%; margin: 2em auto;}
How do I get that working with the below code? Sorry, but I've been on
holiday for the last couple of years.... |
Easy. It's CSS. One choice is to put this in the head element of the
document:
<style type="text/css">
table a {display: block; width: 100%;}
</style>
There are other ways. Check out the CSS tutorial at w3schools.com or at
htmldog.com (ignore the XHTML claptrap there). It'll explain all of this.