Relative position text in FF...

Relative position text in FF...

am 20.11.2007 02:23:37 von hzgt9b

I have two images acting as header and footer in a table, each in
their own table cell. I want to position some text over each image.
Here is what I have come up with - it works in IE but not in FF. In
FF, the text appears in its original location... can someone tell me
what is going on here?

border="0" cellspacing="0">








asp:Label>

Re: Relative position text in FF...

am 20.11.2007 03:42:33 von a.nony.mous

hzgt9b wrote:

> - it works in IE but not in FF.

> > asp:Label>

What HTML element is ?

Sounds like a Microsoft thingy to me...

(Hint: Firefox is not a Microsoft browser.)

--
-bts
-Motorcycles defy gravity; cars just suck

Re: Relative position text in FF...

am 20.11.2007 04:20:20 von hzgt9b

Sorry about that... yes those are ASP tags, the ASP:LABEL control gets
rendered into HTML as a SPAN tag... here's the real HTML output. Now,
same question as before...


border="0" cellspacing="0">








style="position:relative;top:-47%;left:7%;font-
style:italic;color:#FFFFFF;font-family:Tahoma;font-size:40pt ;">THIS IS
MY HEADER TEXT
MY
FOOTER

Re: Relative position text in FF...

am 20.11.2007 20:00:18 von dorayme

In article
<463dc548-cc08-4d8a-8ed0-b444ff6277c2@e1g2000hsh.googlegroups.com
>,
hzgt9b wrote:

> Sorry about that... yes those are ASP tags, the ASP:LABEL control gets
> rendered into HTML as a SPAN tag... here's the real HTML output. Now,
> same question as before...
>
>
>

> border="0" cellspacing="0">
>
>
>
>
>
>
>
>

> style="position:relative;top:-47%;left:7%;font-
> style:italic;color:#FFFFFF;font-family:Tahoma;font-size:40pt ;">THIS IS
> MY HEADER TEXT
MY
> FOOTER



Note that a lot of people will not know what the context of this
is because, for a start, you do not quote who you are replying
to, many of us do not use Google to read newsgroup posts.

Best to make a url with the essentials. What appears in Firefox
with your code does not show any particular problem. (it is
generally problematic... but that is a different story).

Why are you using a table to layout your page? Why are you even
thinking about relative position with a table layout? Why are you
using pts for font-sizes. Search the archives of this group for
these topics first.

--
dorayme

Re: Relative position text in FF...

am 21.11.2007 00:17:47 von Bergamot

hzgt9b wrote:
>
>

> border="0" cellspacing="0">

A lovely mix of HTML presentational attritubes and inline styles - not.

>

If that's a table header, why isn't it in a caption element?
This is getting uglier by the minute.

--
Berg


> style="position:relative;top:-47%;left:7%;

I don't even want to know what that relative positioning is
supposed to be doing. It can't possibly be The Right Thing to do.

> font-
> style:italic;color:#FFFFFF;font-family:Tahoma;font-size:40pt ;">THIS IS
> MY HEADER TEXT