Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Floated element determine containter's height

Reply
Thread Tools

Floated element determine containter's height

 
 
Mitja
Guest
Posts: n/a
 
      03-06-2004
I have got a theoretical question regarding floats. As an example, let's
take one of the Floatutorial sites:
http://css.maxdesign.com.au/floatuto...torial0706.htm
Look at the bottom of the page for the source code of the example.

Now suppose the whole paragraph were put into a div and that it (the
paragraph) were only a line long. In such a situation, the floated letter
would oveflow div's borders. Is it possible to make the height of div
dynamic, yet big enough to accomodate the floated element?
For what I need, a transparent element with clear:left at the end of the div
is unfortunately, not a solution.

Thanks in advance,
Mitja


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
pics floated right in a div freemont HTML 1 06-18-2007 12:57 PM
Centering left-floated items - how? Please help! rudicheow@gmail.com HTML 2 12-05-2006 07:06 PM
CSS: preserving padding next to floated element Rik HTML 0 06-05-2006 11:00 PM
Creating a Products List with Descriptions and Left Floated Images? Hardeep Rakhra HTML 10 02-19-2004 12:50 AM
"left floated" paragraphs and images using CSS? jersie0 HTML 0 11-23-2003 02:43 AM



Advertisments