Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   HTML (http://www.velocityreviews.com/forums/f31-html.html)
-   -   newbie: page don't dispay correctly in Opera (http://www.velocityreviews.com/forums/t163535-newbie-page-dont-dispay-correctly-in-opera.html)

Jeff 11-24-2005 11:12 PM

newbie: page don't dispay correctly in Opera
 
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



David Dorward 11-24-2005 11:21 PM

Re: newbie: page don't dispay correctly in Opera
 
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/200..._wont_help_you
http://web.archive.org/web/200410101...leless_layouts

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

=?iso-8859-1?Q?Kim_Andr=E9_Aker=F8?= 11-25-2005 01:31 AM

Re: newbie: page don't dispay correctly in Opera
 
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/200..._wont_help_you
> http://web.archive.org/web/200410101...myfaqs.com/faq
> .pl?Tableless_layouts


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

--
Kim André Akerĝ
- kimandre@NOSPAMbetadome.com
(remove NOSPAM to contact me directly)

.:|:. 11-25-2005 10:19 AM

Re: newbie: page don't dispay correctly in Opera
 
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/


All times are GMT. The time now is 05:11 AM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.