Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > strange float

Reply
Thread Tools

strange float

 
 
Thomas Jollans
Guest
Posts: n/a
 
      01-30-2004
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
 
Reply With Quote
 
 
 
 
Nico Schuyt
Guest
Posts: n/a
 
      01-31-2004
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


 
Reply With Quote
 
 
 
 
Thomas Jollans
Guest
Posts: n/a
 
      01-31-2004
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
 
Reply With Quote
 
Nico Schuyt
Guest
Posts: n/a
 
      01-31-2004
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


 
Reply With Quote
 
rf
Guest
Posts: n/a
 
      01-31-2004

"Nico Schuyt" <(E-Mail Removed)> wrote in message
news:401b92f6$0$246$(E-Mail Removed)...
> 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.


 
Reply With Quote
 
Nico Schuyt
Guest
Posts: n/a
 
      01-31-2004
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


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
float to string to float, with first float == second float Carsten Fuchs C++ 45 10-08-2009 09:47 AM
operator== (float, float) Jukka Lehtonen C++ 5 08-05-2004 08:28 AM
need code to convert float format to internal java float format which is kept in 4 bytes integer Andy Java 7 05-10-2004 09:26 PM
static_cast<float>(a) versus float(a) Jim West C++ 4 01-16-2004 12:36 PM
Re: float->byte->float is same with original float image. why float->ubyte->float is different??? bd C Programming 0 07-07-2003 12:09 AM



Advertisments