newbie: page don't dispay correctly in Opera

Discussion in 'HTML' started by Jeff, Nov 24, 2005.

  1. Jeff

    Jeff Guest

    Hey

    Opera version:
    Version 8.0
    Build 7561
    System Windows XP


    When testing this markup (see below) on Internet Explorer (version 6.0) it
    works great, but it isn't displayed correctly when testing in the Opera
    browser.. The problem is that on Opera this markup don't fill the full
    height of the browser window... it fills about 50% of the browser window...
    But on IE it fills the full height of the browser window.. So my question
    is: why isn't my markup working correctly in Opera, and what must I do to
    get it displayed correctly in Opera?

    <body LEFTMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0 TOPMARGIN=0>
    <center>
    <table width="90%" height="100%" border="1">
    <tr>
    <td height="55">
    <img src="test.jpeg"/>
    </td>
    </tr>
    <tr>
    <td colspan="2">
    <table width="100%" height="100%" border="2">
    <tr height="20">
    <td bgcolor="AntiqueWhite"></td>
    <td>
    Test data
    </td>
    <td bgcolor="AntiqueWhite"></td>
    </tr>
    <tr>
    <!-- Sub menu-->
    <td width="200" bgcolor="AntiqueWhite" rowspan="2">
    <ul id=level1>
    <li>Menu level 1<li>
    <ul id=level2>
    <li>Menu level 1<li>
    </ul>
    </ul>
    </td>
    <td>
    content
    </td>
    <td width="200" bgcolor="AntiqueWhite">
    Hello world
    </td>
    </tr>
    </table>
    </td>
    </tr>
    <tr>
    <td colspan="2" height="70" align=center bgcolor="AntiqueWhite">
    Hello world 2
    </td>
    </tr>
    </table>
    </center>
    </body>
    </html>

    Best Regards!

    Jeff
     
    Jeff, Nov 24, 2005
    #1
    1. Advertising

  2. Jeff wrote:

    > When testing this markup (see below) on Internet Explorer (version 6.0) it
    > works great, but it isn't displayed correctly when testing in the Opera
    > browser


    > <body LEFTMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0 TOPMARGIN=0>


    It is invalid and abuses tables for layout.

    http://diveintomark.org/archives/2003/05/05/why_we_wont_help_you
    http://web.archive.org/web/20041010185323/http://www.allmyfaqs.com/faq.pl?Tableless_layouts

    --
    David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
    Home is where the ~/.bashrc is
     
    David Dorward, Nov 24, 2005
    #2
    1. Advertising

  3. David Dorward wrote:

    > Jeff wrote:
    >
    > > When testing this markup (see below) on Internet Explorer (version
    > > 6.0) it works great, but it isn't displayed correctly when testing
    > > in the Opera browser

    >
    > > <body LEFTMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0 TOPMARGIN=0>

    >
    > It is invalid and abuses tables for layout.
    >
    > http://diveintomark.org/archives/2003/05/05/why_we_wont_help_you
    > http://web.archive.org/web/20041010185323/http://www.allmyfaqs.com/faq
    > .pl?Tableless_layouts


    The latter now also available here:
    http://allmyfaqs.net/faq.pl?Tableless_layouts

    --
    Kim André Akerø
    -
    (remove NOSPAM to contact me directly)
     
    =?iso-8859-1?Q?Kim_Andr=E9_Aker=F8?=, Nov 25, 2005
    #3
  4. Jeff

    .:|:. Guest

    Jeff wrote:
    > Hey
    >
    > Opera version: Version 8.0 Build 7561 System Windows XP
    >
    >
    > When testing this markup (see below) on Internet Explorer
    > (version 6.0) it works great, but it isn't displayed
    > correctly when testing in the Opera browser.. The problem
    > is that on Opera this markup don't fill the full height
    > of the browser window... it fills about 50% of the
    > browser window... But on IE it fills the full height of
    > the browser window.. So my question is: why isn't my
    > markup working correctly in Opera, and what must I do to
    > get it displayed correctly in Opera?


    Submit your code to the html validator and start working on
    the errors:
    http://validator.w3.org/
     
    .:|:., Nov 25, 2005
    #4
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Anonymous

    JEditorPane to dispay HTML

    Anonymous, Jun 10, 2004, in forum: Java
    Replies:
    0
    Views:
    402
    Anonymous
    Jun 10, 2004
  2. Alexandre Jaquet

    opera doesn't display correctly

    Alexandre Jaquet, Sep 8, 2005, in forum: HTML
    Replies:
    1
    Views:
    449
    Spartanicus
    Sep 8, 2005
  3. Bob
    Replies:
    24
    Views:
    1,546
  4. CSINVA
    Replies:
    1
    Views:
    329
    Lloyd Sheen
    Nov 8, 2007
  5. Martin Brown

    DataGrid not displaying correctly in Opera 7.2

    Martin Brown, Jan 19, 2004, in forum: ASP .Net Datagrid Control
    Replies:
    2
    Views:
    150
    Martin Brown
    Jan 20, 2004
Loading...

Share This Page