Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- puzzling problem
- Re: puzzling problem
September 12, 2003, 7:01 pmrate this thread
The problem is in "child2".
In order for "hello" to show in the first line of the div tag, I need that
damn break in there.
Otherwise it doesn't show at all.
If I insert an image, the top line is cut off regardless of height.
I've tried various combinations in the definitions but can't figure this
Maybe you noticed, that the height of child2, is only 3
times as high as the height of child1, but you specified it
as 4 times as high. (child1: 25px, child2:100px) This is
because child1 is positioned in front of child2. This
explains the 'hello' being invisible; it is behind child1.
Just change the style for div.child1 to
, and it will appear as intended.
Mente humana é como pára-quedas; funciona melhor aberta.