by Ben C <spamspam@[EMAIL PROTECTED]
>
May 7, 2008 at 10:10 AM
On 2008-05-07, Butch61 <ContactUs@[EMAIL PROTECTED]
> wrote:
><snip>
>> Why is the <div> absolutely positioned? I see no need for it. And the
>> layout suffers for it when the text size is increases by 150% so I can
>> read it.
>>
>> > The css for the <div class=introcenter> is
>> > div.introcenter
>> > {
>> > position: absolute;
>> > left: 40px;
>> > top: 80px;
>> > width: 90%;
>> > font-size: small
>> > }
>
> The <div> is absolutely positioned because it has to sit on top of
> the
> background image which is a .png file.
> Without the absolute positioning the <div> renders underneath
> the .png.
> Perhaps there is a better way to do this.
> I don't know of it, yet.
position: relative (but don't set top, left, right or bottom) should
keep it normal-flow but at the same stacking level as if it were
position: absolute.
Or maybe you can just use background-image for the background image.