Hi!
"I'm worst at what I do best / and for this gift I feel blessed" (Nirvana, "Smells Like Teen Spirit")
so here is my contribution to the topic:

http://onwebdev.blogspot.com/2010/12/css-floated-images-clearing-and.html

Notice that the containing class can be dynamically added via JS, or, in nuce, with a server-side language, but in this case you have to know in advance what paragraph will contain the floated image.

HTH

Gabriele Romanato

ps. if you run a deep search through the jQuery category of my blog, you fill find some posts that explain the JS technique in details. :-)


http://www.css-zibaldone.com
http://www.css-zibaldone.com/test/  (English)
http://www.css-zibaldone.com/articles/  (English)
http://onwebdev.blogspot.com/  (English)








______________________________________________________________________
css-discuss [cs...@lists.css-discuss.org]
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