|
Posted by Spartanicus on 07/29/05 16:27
"Greg N." <yodel_dodel@yahoo.com> wrote:
>please have a look at the example at
>http://coolhaus.de/misc/text-over-image.htm
>
>The content of this page should nicely fit in the browser window, yet
>the page has a vertical scroll bar, and it appears to be much taller
>than necessary.
>
>What makes this page so tall
Relative positioning occurs after the page has been laid out using the
flow.
>, and how can I avoid this effect?
For the purpose of displaying text over an image, wrap the image in a
container, set it to position:relative, then absolutely position the
text over it.
--
Spartanicus
[Back to original message]
|