Wow...it's like my website blew up. I can barely get anything to work right now. I've tried using mwinter's idea and it seemed to be working for a while and then blew up.
Take a look at this site now. http://rain.edchinn.com/ As you can see, i have div sections (header and footer) that point to ssi files for header and footer. But in the website now, the header picture is the picture that is supposed to be in header. ???? And the footer is beyond f'd up.
Below is the style.css file I'm using now. I've also tried using the style that mwinter suggested earlier in this post. I rreally have no idea what's going on. Everything was close to working and its like everything just suddenly blew up. I have not even an inkling of a clue what's going on.
I would be eternally grateful if anyone can shed light on this. My goal is to have a pretty simple layout with header (where menu will go over background), footer (with the name of the website over the background) and a content section for all the articles. I need it to work in Firefox and IE6. I'm going to go cry now. lol
Code:
* CSS Document */
/* the bit that does the work */
body {
margin:0;
border:0;
padding:0;
height:100%;
max-height:100%;
font-family:arial, verdana, sans-serif;
font-size:76%;
overflow: hidden;
}
* html body {
padding:80px 0 50px 0;
}
/* for internet explorer */
#container {
font-family:Georgia;
font-size: 1.2em;
position:absolute;
top:80px;
left:0;
bottom:80px;
right:0;
overflow:auto;
background:#D2C491;
color:#000000;
}
* html #container {
height:100%;
width:100%;
}
h1 {
color:#3D5801;
}
h2 {
color:#614215;
}
h3 {
color:#000055;
}
h4 {
color:#000055;
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
font-style: italic;
}
a:link {
color: #3D5801;
}
a:visited {
color: #000055;
}
q:before, q:after {
content: ""; }
blockquote {
color: #000055;
font-weight:bold;
}
ul.disc {list-style-type: disc;
}
#header {
position:absolute;
top:0;
left:0;
width:100%;
height:80px;
overflow:auto;
color:#FFFFFF;
}
* html #header {height:80px;}
#footer {
position:absolute;
bottom:0px;
left:0px;
width:100%;
height:80px;
overflow:auto;
text-align:right;
color:#FFFFFF;
background:#000000;
}
* html #footer {height:80px;}
/* end of bit that does the work */
Bookmarks