Code:
* {/* for demo only*/
margin:0;
padding:0
}
html, body {
height:100%;/* needed to base 100% height on something known*/
text-align:center;
}
#outer {
width:780px;
background:#FFF;
margin:auto;
height:900px;
min-height:100%;
margin-top:-40px;/*footer height - this drags the outer 40px up through the top of the monitor */
text-align:left;
}
.text {font-family:Arial, Helvetica, sans-serif; font-size:11px; }
.sne { font-style:italic; }
#arbeten {height:auto; width:780px; margin-top:50px; }
.bilder {float:left; padding-left:30px; margin-bottom:25px; height:180px; width:220px; }
.bildersist {float:left; padding-left:30px; }
#social {
width:260px;
height:50px
}
#social ul li {display:inline; padding:1px;}
#banner {margin-top:30px; }
#ifooter {
margin-left:auto;
margin-right:auto;
height:300px;
width:780px;
}
#e {
height:300px;
width:260px;
float:left
}
#t {
height:300px;
width:260px;
float:left;
}
#b {
height:300px;
width:260px;
float:left
}
#header {
background:;
border-top:40px solid #fff; /* soak up negative margin and allows header to start at top of page*/
}
#footer {/* footer now sits at bottom of window*/
background:#E6E6E6;
margin:auto;
height:300px;/* must match negative margin of #outer */
clear:both;
}
/*Opera Fix*/
body:before {/* thanks to Maleika (Kohoutec)*/
content:"";
height:100%;
float:left;
width:0;
margin-top:-32767px;/* thank you Erik J - negate effect of float*/
}
h1,h2,p{padding:0 10px;}
</style>
[if (lte IE 6)|(gte IE 8)]>
<style type="text/css">
#outer {height:100%;display:table;}
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
display: block;
}
body {
line-height: 1;
}
ol, ul {
list-style: none;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
Thanks.
Bookmarks