[thelist] CSS: display: block on links
Hassan Schroeder
hassan.schroeder at gmail.com
Sun Jan 14 10:18:34 CST 2007
On 1/13/07, Bill Moseley <moseley at hank.org> wrote:
> Where this doesn't work so well is when I have text on a second line:
>
> <td>
> <a href="stuff">x</a>
> <br />
> Some other text
> </td>
>
> Then I end up with extra space due to the display: block on the <a>
> and the following <br>.
>
> Is there a better way to get the effect I want?
Why don't you just declare those anchors `display: block` in the style
sheet and omit the following <br/> altogether?
Or am I missing something?
--
Hassan Schroeder ------------------------ hassan.schroeder at gmail.com
More information about the thelist
mailing list