Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   HTML (http://www.velocityreviews.com/forums/f31-html.html)
-   -   strange float (http://www.velocityreviews.com/forums/t156919-strange-float.html)

Thomas Jollans 01-30-2004 09:56 PM

strange float
 
look at the page http://jollybox.de/pfadi/wanderfalken.php . It looks
very strange in Opera 7.11 winxp and ie6. it looks the way it looks in
moz. screenshot: http://jollybox.de/snapshot1.png (moz). If I use
style="float:right" instead of align=right then opera and ie just ignore
the situation and show it top 2 bottom. it is 100% valid html4.01 with
doctype. can anyone help me??

thomas

Nico Schuyt 01-31-2004 04:50 AM

Re: strange float
 
Thomas Jollans wrote:
> look at the page http://jollybox.de/pfadi/wanderfalken.php . It looks
> very strange in Opera 7.11 winxp and ie6.


It's way too complex with all those (nested) tables and divs.
Start with a layout with 3 div boxes. Something like:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
<title>Test</title>
<style type="text/css" media="all">
div{border:1px solid;}
#head{border-color:red;}
#content{margin-left:21ex;border-color:green;}
#menu{width:20ex;float:left;border-color:blue;}
</style>
<div id="head">header</div>
<div id="menu">menu</div>
<div id="content">content</div>

Good luck,
Nico



Thomas Jollans 01-31-2004 08:16 AM

Re: strange float
 
Thomas Jollans wrote:
> look at the page http://jollybox.de/pfadi/wanderfalken.php . It looks
> very strange in Opera 7.11 winxp and ie6. it looks the way it looks in
> moz. screenshot: http://jollybox.de/snapshot1.png (moz). If I use
> style="float:right" instead of align=right then opera and ie just ignore
> the situation and show it top 2 bottom. it is 100% valid html4.01 with
> doctype. can anyone help me??
>
> thomas


i somehow fixed that page, but http://jollybox.de/pfadi/fuehrer.php is
the same code (well, the text is different), but looks dreadful (in
ie&opera)! can anyone explain this?

thomas

Nico Schuyt 01-31-2004 11:40 AM

Re: strange float
 
Thomas Jollans wrote:
> i somehow fixed that page, but http://jollybox.de/pfadi/fuehrer.php is
> the same code (well, the text is different), but looks dreadful (in
> ie&opera)! can anyone explain this?


Same problems as in the other page. Keep it simple.
Nico



rf 01-31-2004 11:54 AM

Re: strange float
 

"Nico Schuyt" <nschuyt@hotmail.com> wrote in message
news:401b92f6$0$246$a344fe98@news.wanadoo.nl...
> Thomas Jollans wrote:
> > i somehow fixed that page, but http://jollybox.de/pfadi/fuehrer.php is
> > the same code (well, the text is different), but looks dreadful (in
> > ie&opera)! can anyone explain this?

>
> Same problems as in the other page. Keep it simple.


<grin> You forgot the last S in KISS </grin>

> Nico


Cheers
Richard.



Nico Schuyt 01-31-2004 08:35 PM

Re: strange float
 
rf wrote:
> "Nico Schuyt" wrote
>> Thomas Jollans wrote:
>>> i somehow fixed that page, but http://jollybox.de/pfadi/fuehrer.php
>>> is the same code (well, the text is different), but looks dreadful
>>> (in ie&opera)! can anyone explain this?


>> Same problems as in the other page. Keep it simple.


> <grin> You forgot the last S in KISS </grin>


Next time he shows such a mess I'll add that :-)
Regards, Nico




All times are GMT. The time now is 11:26 PM.

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