Este primul meu post pe acest forum, așa că, în primul rând.. bună ziua !
Problema mea este că am de făcut un layout la care vreau să folosesc CSS positioning în loc de tables.
Layout'ul ar trebui să arate cam ca în poza următoare (macheta layout'ului, făcută în PS - 200 Kb - 1024x768):

Am facut un exercițiu de așezare folosind CSS care a ieșit *aproape* bine pe M$IE și cam aiurea pe Firefox și Opera.
Postez codul:
re-laid.html
CODE
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="stylesheet" href="re-laid.css" />
</head>
<body>
<div id="TopStripe">
<div id="BottomStripe" align="center">
<div align="center" id="DummyContainer">
<div id="Header" align="center">
head<br />
head<br />
head<br />
head<br />
head<br />
head<br />
head<br />
head<br />
head<br />
</div><!-- end Header -->
<div id="Floater">
float<br />
float<br />
float<br />
float<br />
float<br />
float<br />
float<br />
float<br />
float<br />
float<br />
float<br />
float<br />
float<br />
</div><!-- end Floater -->
<div id="Content" align="center">
content
</div><!-- end Content -->
<div id="Footer" align="center">
footer
</div><!-- end Footer -->
<div id="Copyrights" align="center">
copyrights
</div><!-- end Copyrights -->
</div><!-- end DummyContainer -->
</div><!-- end BottomStripe -->
</div><!-- end TopStripe -->
</body>
</html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="stylesheet" href="re-laid.css" />
</head>
<body>
<div id="TopStripe">
<div id="BottomStripe" align="center">
<div align="center" id="DummyContainer">
<div id="Header" align="center">
head<br />
head<br />
head<br />
head<br />
head<br />
head<br />
head<br />
head<br />
head<br />
</div><!-- end Header -->
<div id="Floater">
float<br />
float<br />
float<br />
float<br />
float<br />
float<br />
float<br />
float<br />
float<br />
float<br />
float<br />
float<br />
float<br />
</div><!-- end Floater -->
<div id="Content" align="center">
content
</div><!-- end Content -->
<div id="Footer" align="center">
footer
</div><!-- end Footer -->
<div id="Copyrights" align="center">
copyrights
</div><!-- end Copyrights -->
</div><!-- end DummyContainer -->
</div><!-- end BottomStripe -->
</div><!-- end TopStripe -->
</body>
</html>
re-laid.css
CODE
@charset "iso-8859-1";
/* CSS Document */
HTML, BODY {
height: 100%;
width: 100%;
}
BODY {
margin: 0 0 0 0;
padding: 0 0 0 0;
}
#BottomStripe {
background-image:url(../img/bg_Gray_Under.gif);
background-repeat:repeat-x;
background-position:bottom;
width:100%;
position:absolute;
/*height:auto;
min-height:100%;
text-align: center; /* for centering the other divs */
}
#TopStripe {
background-image:url(../img/bg_Gray_Under.gif);
background-repeat:repeat-x;
width: 100%;
height:100%;
}
* BODY #BottomStripe {
height: 100%;
}
#Centerer {
width: 600px;
}
#Header {
background-color:#FFCC33;
width: 600px;
z-index: 98;
}
#Content {
background-color:#FFFFCC;
width: 600px;
height: 100%;
z-index: 98;
float:left;
clear: both;
}
#DummyContainer {
height:100%;
width: 600px;
}
#Footer {
background-color:#FF6633;
width: 600px;
z-index: 98;
float: left;
clear: both;
}
#Copyrights {
width: 600px;
float: left;
clear: both;
}
#Floater {
background-color: #CCCCCC;
width: 200px;
z-index:99;
position: relative;
margin-right: 10px;
margin-top: -60px;
margin-bottom: 10px;
margin-left: -60px;
float: right;
}
/* Rules to override M$IE */
HTML>BODY>#TopStripe>#BottomStripe>#DummyContainer #Footer {
float: none;
clear: none;
}
HTML>BODY>#TopStripe>#BottomStripe>#DummyContainer #Copyrights {
float: none;
clear: none;
}
HTML>BODY>#TopStripe>#BottomStripe>#DummyContainer #Content {
float: none;
clear: none;
}
/* CSS Document */
HTML, BODY {
height: 100%;
width: 100%;
}
BODY {
margin: 0 0 0 0;
padding: 0 0 0 0;
}
#BottomStripe {
background-image:url(../img/bg_Gray_Under.gif);
background-repeat:repeat-x;
background-position:bottom;
width:100%;
position:absolute;
/*height:auto;
min-height:100%;
text-align: center; /* for centering the other divs */
}
#TopStripe {
background-image:url(../img/bg_Gray_Under.gif);
background-repeat:repeat-x;
width: 100%;
height:100%;
}
* BODY #BottomStripe {
height: 100%;
}
#Centerer {
width: 600px;
}
#Header {
background-color:#FFCC33;
width: 600px;
z-index: 98;
}
#Content {
background-color:#FFFFCC;
width: 600px;
height: 100%;
z-index: 98;
float:left;
clear: both;
}
#DummyContainer {
height:100%;
width: 600px;
}
#Footer {
background-color:#FF6633;
width: 600px;
z-index: 98;
float: left;
clear: both;
}
#Copyrights {
width: 600px;
float: left;
clear: both;
}
#Floater {
background-color: #CCCCCC;
width: 200px;
z-index:99;
position: relative;
margin-right: 10px;
margin-top: -60px;
margin-bottom: 10px;
margin-left: -60px;
float: right;
}
/* Rules to override M$IE */
HTML>BODY>#TopStripe>#BottomStripe>#DummyContainer #Footer {
float: none;
clear: none;
}
HTML>BODY>#TopStripe>#BottomStripe>#DummyContainer #Copyrights {
float: none;
clear: none;
}
HTML>BODY>#TopStripe>#BottomStripe>#DummyContainer #Content {
float: none;
clear: none;
}
Spun că arată *aproape* bine pe M$IE pentru că eu aș vrea să fie afișat după cum urmează:
- dacă ceea ce am în DIV'ul #Content (cel galben din centru - conținutul efectiv al paginii) nu umple pagina, aș vrea ca acesta să se extindă suficient cât să umple view-port'ul, dar în așa fel încât ultimul rând de pe pagină să fie cel de "copyrights" si banda roșie de footer să fie deasupra benzii gri de fundal.
- dacă ceea ce am în DIV'ul #Content umple / depășește pagina, banda gri să fie împinsă în așa fel încât să fi așezată tot sub banda roșie de footer și rândul cu "copyrights".
Sau, cu alte cuvinte, aș vrea (a se vedea poza imediat următoare) ca headerul să fie tot timpul header și footerul să fie tot timpul footer (lipit de sfârșitul paginii).

Dacă aveți timp, aruncați o privire cu M$IE și Firefox / Opera și dacă aveți și mai mult timp, ajutați-mă cu o indicație / soluție / orice, că deja simt că o iau razna..
Mulțumesc anticipat