Witam!
Chcialbym aby stopka na mojej stronce stopka byla na samym dole przegladarki. Zrobilem tak ale gdy wprowadze wiecej tekstu tak aby na stronce pojawil sie pasek pionowy przewijania to w firefoxie stopka nie jest rozpychana przez cala strone tylko zostaje w tym samym miejscu. Pod IE 7 oraz Opera dziala ok.
oto screen:
http://img220.imageshack.us/my.php?image=firebugud2.jpgJak temu zaradzic?
kod HTML
<meta http-equiv="content-type" content="text/html; charset=iso-8859-2"> <link rel="stylesheet" href="style.css" type="text/css" />
fdasfdasfasd
<br>fdasfdasfasd
<br>fdasfdasfasd
<br>fdasfdasfasd
<br>fdasfdasfasd
<br><br> fdasfdasfasd
<br>fdasfdasfasd
<br>fdasfdasfasd
<br>fdasfdasfasd
<br>fdasfdasfasd
<br>fdasfdasfasd
<br>fdasfdasfasd
<br>fdasfdasfasd
<br>fdasfdasfasd
<br>fdasfdasfasd
<br>fdasfdasfasd
<br>fdasfdasfasd
<br>fdasfdasfasd
<br>fdasfdasfasd
<br>fdasfdasfasd
<br>fdasfdasfasd
<br>fdasfdasfasd
<br>fdasfdasfasd
<br>fdasfdasfasd
<br>fdasfdasfasd
<br>fdasfdasfasd
<br>fdasfdasfasd
<br>fdasfdasfasd
<br>fdasfdasfasd
<br>fdasfdasfasd
<br>fdasfdasfasd
<br>fdasfdasfasd
<br>fdasfdasfasd
<br>fdasfdasfasd
<br>fdasfdasfasd
<br>fdasfdasfasd
<br>fdasfdasfasd
<br>fdasfdasfasd
<br>fdasfdasfasd
<br>fdasfdasfasd
<br>fdasfdasfasd
<br>
<div id="main">sadasdasdasdasd
</div>
<p style="clear: both; font-size: 0px; margin: 0px; padding: 0px;"></p>
KOD CSS:
html {
width: 100%;
min-height: 100%;
height: 100%!important;
height: 100%;
margin: 0px;
padding: 0px;
text-align: center;
}
body {
width: 100%;
min-height: 100%;
height: 100%!important;
height: 100%;
margin: 0px;
padding: 0px;
text-align: center;
}
div#container {
margin :auto;
width: 1000px;
min-height: 100%;
height: 100%!important;
height: 100%;
text-align: center;
position: relative;
}
div#bannerTop {
width: 1000px;
height: 150px;
background-image: url('tpl/images/bannerTop.gif');
margin: auto;
}
div#menuTop {
width: 1000px;
height: 30px;
background-color: #00ff00;
margin: auto;
}
div#content {
width: 1000px;
min-height: 500px;
height: auto!important;
height: 500px;
margin: auto;
background-color: #ff0000;
position: relative;
}
div#menuLeft {
float: left;
width: 150px;
min-height: 500px;
height: auto!important;
height: 500px;
background-color: #00ff00;
}
div#main {
float: left;
width: 850px;
min-height: 500px;
height: auto!important;
height: 500px;
background-color: #ffffff;
}
div#footer {
clear: both;
width: 1000px;
height: 40px;
margin: auto;
background-color: #0000ff;
position: absolute;
left: auto!important;
left: 0px;
bottom: 0px;
}
Z gory dzieki za pomoc!
pozdrawiam
METAL
--------------------
tworzenie stron www - webview
Ten post edytował metal 21.11.2007, 22:54:30