Dorothy Hesson 2336 wrote:

> The whole stylesheet does work. The stylesheet validates, too. This is
> what's getting me!
>
> URL with the <style> in the <head element>
> http://www.cenacoloamerica.org/cenacolo_1/about/
>
> Using the stylesheet alone
> http://www.cenacoloamerica.org/cenacolo_1/catechesis/

The latter has a different selector, in the problematic rule:
img .floatright
instead of
.floatright

This might not explain everything, but it is sufficient for preventing 
the rule from doing what you want. The selector
img .floatright
does not match any element, since it would only match an element that 
belongs to class floatright and appears inside an img element. And an 
img element cannot contain any elements. The following selector would 
work (and it would be equivalent to the .floatright selector except for 
specificity):
img.floatright
Note the lack of any space. This combined selector matches an element 
that _is_ itself an img element and belongs to class floatright.

Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/ 

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to