Previous Message
Next Message

Styling a link

Sent by The Siever Family on 10 December 2003 06:06


From: Gerard Samuel

> 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>

Personally, I would use the former if I wanted only one specific link
styled. I would use the second if I wanted all the links within a
certain container (like a menu box or footer, for example) styled.

Kim Siever
http://people.uleth.ca/~kim.siever/ 
  
============================= 


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.548 / Virus Database: 341 - Release Date: 05/12/2003
 

______________________________________________________________________
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: