> #sweden dd.img img {float: left;}
>
> I didn't see the point of adding the class to the html code because it
> seemed to me that it could be identified without it, so I experimented by
> leaving out the class and addressing it in the CSS with just
>

It's just that you never know when you might have a dd with an image
that you don't want to float. So it's good to give all particular dd's
with imgs you want to float their own class.

That being said, class "img" is a poor naming convention. Something
like "imgleft" would have made more sense. And I would strongly
discourage naming a class just like an element... I mean, imagine if
you made a little typo and put "img" instead of ".img" ... your whole
page would probably fall apart.

--
- C Montoya
rdpdesign.com ... liquid.rdpdesign.com ... montoya.rdpdesign.com
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to