[thelist] CSS: display: block on links

Hassan Schroeder hassan.schroeder at gmail.com
Sun Jan 14 11:51:32 CST 2007

On 1/14/07, Bill Moseley <moseley at hank.org> wrote:

> > Why don't you just declare those anchors `display: block` in the style
> > sheet and omit the following <br/> altogether?
> I guess that is possible.  I'd have to go in an add class tags for
> all those anchors and there's about fifty tables.  It would be harder
> than that, actually, since I use template macros to display some of
> the links -- that is the actual <a> tags are generated by macros and
> the are only sometimes the link I'd want to be display: block.

?? There's nothing in your current JS approach that distinguishes one
link from another "sometimes", so where is that logic?

And why would you need to add class attributes to all of the anchors?
If it's only the links in the table, `td a:link`should do it. Or worst case
add an id to the table and `table#foo a:link`.

Hassan Schroeder ------------------------ hassan.schroeder at gmail.com

More information about the thelist mailing list