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

dorayme wrote:

> This is not right Gus. The float does it all by itself for its own text.
> The div (as you have them) are not doing *this* shrink-wrapping thing


Fine. The text wraps around the float. Forget about the word
"Shrinkwrapping". No problem.

Perhaps you confuse the float somehow. The float is a box with "Some
text and more" with a green background. You say I should remove the
dimensions. I have no idea why when I desire them. Remember that the
float could be an image with its dimensions. I also wish to set the
width for shrink box just because I can and to see it wrap around the float.

> Remove the widths on everything completely (which are not needed for
> your interesting question btw) to see.


No! The dimensions are needed! As is! In my examples!

1. In the 1st example it shows text wrapping around a float.
2. In the 2nd example position:relative; is applied to #shrink.
#float now goes behind #shrink. _Why?_
3. Example 3 is the same as the second example except background is
removed from #shrink. #float is still behind #shrink but can be
seen. Example 3 is only to show what's behind and in front.

I hope that this is clearer. BTW, I believe that I understand floats
very well and the examples are clean and simple. Once we get past this,
there is only the stacking order with my _Why?_ remaining, with Firefox,
Opera and Safari behaving the same.

~~~~~~~~
In a shipping environment, the item to be shipped may be shrinkwrapped.
This procedure does not alter the size of the item. The method I have
seen uses foam material which expands to envelop the item and takes on
the form of the item, padding the item within the cardboard box, ready
for shipping. The first I saw was shrink-tubing which under heat would
contract tightly over the item. I used this to insulate soldered wire
joints. Size of the item (relate this to the float) does not change,
only the shrinkwrapping goes around the item (relate this to the _text_
within div#shrink).

The kitchen part is thinking of the cellophane stretchable material
which you can use to wrap your vegetables, etc. to protect and keep
fresh. It also kind of shrinkwraps around the item.

If this is still unclear, then back to Appendix E.

--
Gus
Hey, it's the way my mind works. And it works - at times.
  Réponse avec citation
 
Page generated in 0,05126 seconds with 9 queries