Previous Message
Next Message

Styling a link

Sent by Michael P. Pierce on 10 December 2003 06:06


----- Original Message ----- 
From: "Gerard Samuel" [EMAIL-REMOVED]>
> Which is more correct and/or is more useful???
> Or is there a difference at all???
>
> <a id="foo">bar</a>
>
> OR
>
> <div id="foo">
>   <a>bar</a>
> </div>
I'd say it depends on what you're trying to accomplish. If you have a single
link that you would like to format in a unique way, then the first one will
work just fine. If, however, you have a list of links and you want them all
to be formatted the same way, then the second approach is best.

--Michael Pierce

______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread:

Possibly related: