Discussion: Float and Shrinkwrap
Afficher un message
Vieux 08/04/2008, 06h44   #19
Gus Richter
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Float and Shrinkwrap

dorayme wrote:
>
> I am inclined to actually use the phrase "containing block" where the
> context shows it to do a job of containing.
>
> Because the point is that it is the container, the parent, the big house
> where the children live... It is crucial that it is on the container,
> the parent, that rel pos is made for the abs to work.
>
> And I find it interesting how the "layers" work and yet the float still
> exerts the influence to push aside (displace) the text or pics in the
> following divs. Just had never thought of the float rules operating from
> a smothered "underneath" position! Those float rules are powerful voodoo
> huh? <g>


1. Any floated item will be out of the normal flow.
2. When floated left, it will position itself to top,left (0,0) of its
"container block".
3. The special feature of a float is that any inline box content in the
"container box" will shift over to make room for the float.
4. Blah, blah, blah, blah.

You are having difficulty in accepting the container thing, so try
asking yourself:
"If the float positions itself to 0,0 of the container block,
then what could be the container block?"

--
Gus
  Réponse avec citation
 
Page generated in 0,06022 seconds with 9 queries