strange float

N

Nico Schuyt

Thomas said:
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
 
T

Thomas Jollans

Thomas said:
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
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top