At 6:58 AM +0100 6/16/05, Christian Heilmann wrote:
> >>> Isn't the other way around?
>
> no
> http://www.w3.org/TR/REC-CSS2/selector.html#q15
?
But this URI shows the following example:
A.external:visited { color: blue }
element > class > pseudo-class
(the other way around seems to
On 16 Jun 2005, at 2:58 pm, Christian Heilmann wrote:
Yes, I was wrong. However, in both IE and Firefox only the wrong
syntax (pseudo, then class) works. Anyone knows why? All other
tutorials seem to "cheat" by adding a class to the parent element
(which might make more sense anyway).
Unle
Ray Dickman schrieb:
the code would be something like
and I thought in CSS this would work:
img.border a:link{border: 1px solid red}
img.border a:hover{border: 3px solid red}
I think what you mean to say is:
a:link img.border {border: 1px solid red}
a:hover img.border {border: 3px solid red}
> >>> Isn't the other way around?
> >
> > no
> > http://www.w3.org/TR/REC-CSS2/selector.html#q15
>
> ?
> But this URI shows the following example:
> A.external:visited { color: blue }
>
> element > class > pseudo-class
>
> (the other way around seems to work the same though...)
Yes, I was wrong
Christian Heilmann wrote:
>>> Isn't the other way around?
>
> no
> http://www.w3.org/TR/REC-CSS2/selector.html#q15
?
But this URI shows the following example:
A.external:visited { color: blue }
element > class > pseudo-class
(the other way around seems to work the same though...)
Thierry | ht
> > >
> > >
> > > a:link.border{border:1px solid red;}
> > > a:hover.border{border:3px solid red;}
> >
> > Isn't the other way around?
no
http://www.w3.org/TR/REC-CSS2/selector.html#q15
__
css-discuss [EMAIL PROTECTED]
http:/
On 6/15/05, Thierry Koblentz <[EMAIL PROTECTED]> wrote:
> Christian Heilmann wrote:
> >
> >
> > a:link.border{border:1px solid red;}
> > a:hover.border{border:3px solid red;}
>
> Isn't the other way around?
>
> a.border:link {border:1px solid red;}
> a.border:hover {border:3px solid red;}
I
Christian Heilmann wrote:
>
>
> a:link.border{border:1px solid red;}
> a:hover.border{border:3px solid red;}
Isn't the other way around?
a.border:link {border:1px solid red;}
a.border:hover {border:3px solid red;}
Thierry | http://www.TJKDesign.com
_
> Hello,
>
> the code would be something like class="border">
>
> and I thought in CSS this would work:
> img.border a:link{border: 1px solid red}
> img.border a:hover{border: 3px solid red}
> but it doesn't.
> what would be the proper method here?
As the image is in the link and not the other
> the code would be something like class="border">
>
> and I thought in CSS this would work:
>
> img.border a:link{border: 1px solid red}
>
> img.border a:hover{border: 3px solid red}
Your css is saying that all a:links that are descendants of images with the
class border should have
OK if your code is this:
There are several methods you could use. However my personal favourite would be:
a:link{border: 1px solid red}
a:hover{border: 3px solid red}
However that will then apply this effect to all links. So you are better going
for:
And
.border a:link{border: 1px soli
11 matches
Mail list logo