Re: Positioning text over image, works with IE but not Firefox

Giganews Newsgroups
Subject: Re: Positioning text over image, works with IE but not Firefox
Posted by:  David Dorward (dorwa…@yahoo.com)
Date: Fri, 18 Aug 2006

Jason wrote:

> <center>

<center> is obsolete in the face of CSS.

> <span id="container" style="position: relative; top: 0px; left: 0px">
>  <table width="750"><tr height="200"><td>Some text</td></tr></table>

<span> elemnts cannot contain <table> elements in HTML. Things break when
the markup doesn't make sense.http://validator.w3.org/

> It's worth mentioning that I'm using absolute positioning so that it
> doesn't leave a blank space after "container."

Or you could just twiddle the margins (once fixing the syntax errors)

--
David Dorward      http://blog.dorward.me.uk/http://dorward.me.uk/>
                    Home is where the ~/.bashrc is

Replies

In response to

Positioning text over image, works with IE but not Firefox posted by Jason on 17 Aug 2006