Browser is reading de following descendant selector, from your style sheet: [class] .floatright As this selector doesn't exists your CSS is beeing ignored. Get rid of the [class] statement and things will work.
>> IE7 draws it correctly Weird! Regards, Mauricio Samy Silva http://www.maujor.com/ ----- Original Message ----- From: "Ren Jonsin" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Sunday, December 02, 2007 4:49 PM Subject: Re: [css-d] F > Is that exactly what you have for the style, or do you have .floatright > instead of [class]? > > Kevin > > > > On Dec 2, 2007 6:36 AM, Kay Lindstrom <[EMAIL PROTECTED]> wrote: > >> First, I'm trying to put up an image in a window. >> >> IE7 draws it correctly >> Opera 9.24 draws a box correctly but not the image >> Firefox 2.0.0.11 does nothing but add alt text >> Safari 3.0.4 just puts in a place holder >> >> How do I get the image up? >> >> Also, none of the above floats the image. >> How do I get this accomplished? >> >> Here's my code: >> >> HTML >> >> <img class="floatright" src="c:/cssexe/orangesquare.gif" alt="test >> image" width="100" >> height="100">Lorem ipsum this is some more text so i have enough to wrap >> around the image >> and then here's some more so I get two lines to see where it goes</img> >> >> CSS >> >> [class] >> .floatright { >> float: right; >> margin: 0 0 10px 10px; >> border: 1px solid #666;\ >> padding: 2px; >> } >> >> Thanks, Kay >> ______________________________________________________________________ >> 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/ ______________________________________________________________________ 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/
