I think you need 

        img.floatright

and not

        img .floatright

cheers

Martin Clark
Compuware GmbH
Lead Developer, DMF - ADS Germany


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dorothy Hesson
2336
Sent: 04 January 2008 15:26
To: Jukka K. Korpela
Cc: css-d@lists.css-discuss.org
Subject: Re: [css-d] Class and Specificity?

>
>> I am quite baffled here. I know I am totally missing something, but I

>> simply can't see it! Can you assist, please?
>
>I'm afraid we are missing a URL.
>
>> I am trying to float an image right within a #content div. When I 
>> place the following rule in the <head> element within <style> tags, 
>> the image floats correctly.
>>
>> .floatright {
>> float: right;
>> margin: 0 0 10px 10px;
>> border: 1px solid #666;
>> }
>
>This sounds reasonable, though seeing the markup would help here, too.
>
>> Now, when I take the same class rule and place it within the main.css

>> stylesheet, the image does not see the rule.
>
>We really need the URL at this point. 
<snip>
> Does _anything_ in the external style sheet main.css work?
>
Thank you, Jukka -
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/

(Please look kindly here <smile> Remember it's in development)

Cheers,
Dorothy

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