Previous Message
Next Message

Styling a link

Sent by Gerard Samuel on 10 December 2003 06:06


On Tuesday 09 December 2003 11:35 pm, Sunny wrote:
> Well, if you have multiple links then the div would be more useful
> since you won't be writing id="foo" for each link

Yes this is what I was after.
Im not sure if this is correct, so Im looking for confirmation.
Thanks for your input...

<div class="foo">
  <a>link 1</a>
  <a>link 2</a>
</div>

..foo a {
  display: block;
}

______________________________________________________________________
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

Possibly related: