Okay. That makes sense.

--
Brett P.


On Thu, Jan 15, 2009 at 3:52 PM, David Dorward <da...@dorward.me.uk> wrote:

> Brett Patterson wrote:
> > So, my question is this. Why does the image tag have to have the border
> > placed on it, instead of placing the border or text-decoration styles on
> > the anchor tag?
>
> Consider the case:
>
> <a href="/"> <img src="/foo" alt=""> Ipsum Ipsum </a>
>
> A border around the entire thing would give a very different effect to a
> border around just the image.
>
> There's no selector in CSS to select an element based on its descendants
> either.
>
> --
> David Dorward                               <http://dorward.me.uk/>
>
>
> *******************************************************************
> List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
> Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
> Help: memberh...@webstandardsgroup.org
> *******************************************************************
>
>


*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
*******************************************************************

Reply via email to