andkhl
07-19-2007, 12:51 PM
The problem is that my footer for some reason is not visible in Dreamweaver 8 at 100% magnification. It is simply not possible to scroll down to get to it!!! If I change magnification to 50%, I can see it just as well as when I preview the webpage in ANY browser!!! What is wrong??? I need to edit the footer but I simply can't!
I figure an error in my CSS stylesheet can cause it. Would you please help me find it?
Here is my code (I've deleted the unnecessary lines and kept the container and the footer).
html, body {
height:100%;
width:100%;
margin:0;
padding:0;
}
body {
font-family:Verdana, Arial, Helvetica, sans-serif;
font-size:11px;
text-align:center;
}
/* ----------------- DIVs ---------------------*/
div#container {
min-height:100%;
width:910px;
margin:0 auto;
background: white;
}
* html #container {
height:100%;
}
/* --------------------- Main Content --------------- */
div#mainContent {
width:100%;
float:left;
margin-top:1em;
margin-bottom:3.5em;
}
/* -------------------Left Column ---------------- */
div#leftColumn {
width:275px;
text-align:left;
padding:1em 0em 1em 0em;
float:left;
}
/* ------------------------ Right Column -------------------- */
div#rightColumn {
width:570px;
padding:1em 1em 1em 1.5em;
margin-bottom:30px;
text-align:left;
float:right;
}
/* ------------------------- Footer ---------------------- */
div#footer {
width:910px;
height:60px;
border: solid 1px black;
margin:-62px auto;
clear:both;
}
<body>
<div id="container">
<div id="mainContent">
<div id="leftColumn">This is Left Column</div>
<div id="rightColumn">This is Right Colum</div>
</div><!-- End of MainContent -->
</div> <!-- End of Container DIV -->
<div id="footer"> This is Footer </div>
</body>
Thank you for your help!
I figure an error in my CSS stylesheet can cause it. Would you please help me find it?
Here is my code (I've deleted the unnecessary lines and kept the container and the footer).
html, body {
height:100%;
width:100%;
margin:0;
padding:0;
}
body {
font-family:Verdana, Arial, Helvetica, sans-serif;
font-size:11px;
text-align:center;
}
/* ----------------- DIVs ---------------------*/
div#container {
min-height:100%;
width:910px;
margin:0 auto;
background: white;
}
* html #container {
height:100%;
}
/* --------------------- Main Content --------------- */
div#mainContent {
width:100%;
float:left;
margin-top:1em;
margin-bottom:3.5em;
}
/* -------------------Left Column ---------------- */
div#leftColumn {
width:275px;
text-align:left;
padding:1em 0em 1em 0em;
float:left;
}
/* ------------------------ Right Column -------------------- */
div#rightColumn {
width:570px;
padding:1em 1em 1em 1.5em;
margin-bottom:30px;
text-align:left;
float:right;
}
/* ------------------------- Footer ---------------------- */
div#footer {
width:910px;
height:60px;
border: solid 1px black;
margin:-62px auto;
clear:both;
}
<body>
<div id="container">
<div id="mainContent">
<div id="leftColumn">This is Left Column</div>
<div id="rightColumn">This is Right Colum</div>
</div><!-- End of MainContent -->
</div> <!-- End of Container DIV -->
<div id="footer"> This is Footer </div>
</body>
Thank you for your help!