Table position not working on Mozilla?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Ramesh

    Table position not working on Mozilla?

    I want to position the table using "left=25%; top=25%"
    This works fine in IE6 but not on mozilla 5.0
    How to make it work for Mozilla?

    Pls let me know...

    I have pasted the HTML below...



    -------------------------
    <HTML>
    <HEAD>
    </HEAD>

    <BODY style="backgrou nd-color:#000000;" >
    <table style="backgrou nd-color:#000000; position: absolute; left=25%;
    top=25%;" border = "0" cellpadding="0" cellspacing="0" >
    <tr border = "0" cellpadding="0" cellspacing="0" >
    <td>
    <a href="/Page38Index.htm l"
    style="text-decoration: none; border-style:none;">
    <IMG border=none src="xdf.jpg"> </IMG>
    </a>
    </td>
    </tr>
    </table>
    </BODY>
    </HTML>
    --------------------------------------
  • Neal

    #2
    Re: Table position not working on Mozilla?

    On 17 Aug 2004 20:32:16 -0700, Ramesh <asnowfall@gmai l.com> wrote:
    [color=blue]
    > I want to position the table using "left=25%; top=25%"
    > This works fine in IE6 but not on mozilla 5.0[/color]

    Are you, like, from the future? What's the version on that Mozilla? 1.7.2?
    [color=blue]
    > How to make it work for Mozilla?
    >
    > Pls let me know...[/color]

    Don't use = , Use : .

    {left: 25%; top: 25%;}

    = is for attribute values in HTML, : is for property values in CSS.

    Comment

    • Reuben Chew

      #3
      Re: Table position not working on Mozilla?

      Neal wrote:[color=blue]
      > On 17 Aug 2004 20:32:16 -0700, Ramesh <asnowfall@gmai l.com> wrote:
      >[color=green]
      >> I want to position the table using "left=25%; top=25%"
      >> This works fine in IE6 but not on mozilla 5.0[/color]
      >
      >
      > Are you, like, from the future? What's the version on that Mozilla? 1.7.2?
      >[color=green]
      >> How to make it work for Mozilla?
      >>
      >> Pls let me know...[/color]
      >
      >
      > Don't use = , Use : .
      >
      > {left: 25%; top: 25%;}
      >
      > = is for attribute values in HTML, : is for property values in CSS.[/color]
      All versions of Mozilla since the time of NS6 is 5.0.

      Here's my Firefox string:

      Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040626
      Firefox/0.9.1

      Comment

      • Neal

        #4
        Re: Table position not working on Mozilla?

        On Wed, 18 Aug 2004 14:33:20 +0800, Reuben Chew
        <furrypandy@pac ific.net.sg> wrote:
        [color=blue]
        > Neal wrote:[color=green]
        >> On 17 Aug 2004 20:32:16 -0700, Ramesh <asnowfall@gmai l.com> wrote:
        >>[color=darkred]
        >>> I want to position the table using "left=25%; top=25%"
        >>> This works fine in IE6 but not on mozilla 5.0[/color]
        >> Are you, like, from the future? What's the version on that Mozilla?
        >> 1.7.2?[/color]
        > All versions of Mozilla since the time of NS6 is 5.0.
        > Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040626
        > Firefox/0.9.1[/color]

        I see what you're up to. I was thinking the other way.

        Comment

        Working...