Do prostředního FLOAT sloupce jsem musel umístit DIV #resize s obsahem (bez něj by layout přestal fungovat).
Potřeboval bych najít nějaký způsob, jak se té hrůzy zbavit.
Díky za každý nápad.
Zajímalo by mě, jestli i Opera stránku zobrazí správně !
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<!-- Funkčnost ověřena v IE7 a FF2 -->
<html>
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html;charset=windows-1250" >
<title>Trojsloupcový layout s patičkou</title>
<style type="text/css">
html, body { height: 100%; padding: 0; margin: 0; overflow: auto }
b { display:block; text-align:center; font-size: 125%; line-height: 180%;}
#obal_ABCrP
{
width: 100%;
min-height: 100%;
_height: 100%; /* IE */
position: relative;
background: #ccc; letter-spacing: .12ex;
}
#ABCrP {
min-width:666px;
overflow: hidden;
padding-bottom: 4em;
}
#reserved { clear: both; float: left }
#P_paticka {
position: absolute;
width: 100%;
bottom: 0;
left: 0;
}
#obal_A { float: left; padding: 0 222px }
#obal_B { float: left ; margin: 0 0 0 -100% ; width: 222px }
#obal_C { float: right; margin: 0 0 0 -222px; width: 222px; }
#A_stred { padding: 1ex ; color: white; background: black }
#B_levy { padding: 1ex ; color: blue }
#C_pravy { padding: 1ex ; color: red }
#P_paticka {height: 4em ; color: #555 }
#resize { overflow: hidden; height:1px; font: 8px Arial }
</style>
</head>
<body>
<div id="obal_ABCrP">
<div id="ABCrP">
<div id="obal_A">
<div id="A_stred">
<b> A = střední </b>
BEGINUM dolor sit amet, consectetuer adipiscing elit.
Duis at felis a erat lobortis congLorem ipsum dolor sit amet, consectetuer adipiscing elit.
Duis at felis a erat lobortis congLorem ipsum dolor sit amet, consectetuer adipiscing elit.
Duis at felis a erat lobortis congLorem ipsum dolor sit amet, consectetuer adipiscing elit.
Duis at felis a erat lobortis congLorem ipsum dolor sit amet, consectetuer adipiscing elit.
Morbi vitae mi luctus enim convallis
ENDUS.
</div>
<div id="resize">
</div>
</div>
<div id="obal_B">
<div id="B_levy">
<b> B = levý </b>
BEGINUM dolor sit amet, consectetuer adipiscing elit.
Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
Duis at felis a erat lobortis congue. Sed eget turpis.
Donec tempor mauris in ligula. Suspendisse ac dolor
ENDUS.
</div>
</div>
<div id="obal_C">
<div id="C_pravy">
<b> C = pravý </b>
BEGINUM dolor sit amet, consectetuer adipiscing elit.
Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
Duis at felis a erat lobortis congue. Sed eget turpis.
Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
Duis at felis a erat lobortis congue. Sed eget turpis.
Donec tempor mauris in ligula. Suspendisse ac dolor.
Morbi vitae mi luctus enim convallis ENDUS.
</div>
</div>
<div id="reserve">
</div>
<div id="P_paticka">
<hr /><b> P = patička </b>
</div>
</div>
</div>
</body>
</html>