KarmaKing
Mon 7 April 2008, 12:33 am GMT +0200
Hey guys and gals, its been awhile since I've been on the website however I'm sooooooo horribly frustrated(to the point I'm ready to crawl into a corner and have a break down, and yes I am losing sleep over this) and I don't know where to turn so hopefully somewhere here knows where I've messed up or what I'm doing wrong.
Well this is what it should for the most part end up looking like:

Now I'm all about my tables but I need to do this in CSS and keep it so that it fits any browser resolution....so far I'm almost there, this is where I am(excuse the images I plan on fixing them up later):
http://members.shaw.ca/pixelatedkarma/esp/
As you can see the stripe thats running down is not lining up with where my content is. My problem is I'm trying to make it display like a background image and when I set it to background-position: top left; It feels the neccessity to disappear behind the left column.
Here is what I'm thinking my css sheet should look like(sorry its so messy like I said I'm pretty new to the css thing):
body
{
margin:0;
padding:0;
line-height: 1.5em;
height: 100%;
background: #FFFFFF;
background-image:
url('images/background2.jpg');
background-repeat: no-repeat;
background-attachment:fixed;
background-position:top right;
background-attachment:fixed;
}
b{font-size: 110%;}
em{color: red;}
#maincontainer{
float: left;
height: 100%;
width: 100%;
}
#columnwrapper{
float: left;
height: 100%;
width: 100%;
}
#leftcolumn{
float: left;
width: 30%; /*Width of left column in percentage*/
margin-left: -100%;
background-image:
url('images/espsafety.gif');
background-repeat: no-repeat;
background-attachment:fixed;
background-position:bottom left;
background-attachment:fixed;
height:100%;
}
#contentcolumn{
float: left;
width: 70%; /*Width of right column in percentage*/
margin-left: -70%; /*Set margin to -(contentcolumnWidth)*/
height: 100%;
text-align: right;
background-image:
url('images/stripe.gif');
background-repeat: no-repeat;
background-attachment:fixed;
background-position: top left;
}
#links{
position: absolute;
bottom: 0;
border-top: 1px #000000 solid;
clear: left;
width: 100%;
display: inline;
height: 10px;
background: #EFAB23;
color: #999999;
text-align: left;
padding: 0px;
font-size: 50%;
}
#sublinks{
position: absolute;
bottom: 0;
border-top: 1px #000000 solid;
clear: left;
width: 100%;
display: inline;
height: 40px;
background: #EFAB23;
color: #999999;
text-align: left;
padding: 0px;
font-size: 50%;
}
#footer{
position: absolute;
bottom: 0;
border-top: 1px #000000 solid;
clear: left;
width: 100%;
display: inline;
height: 14px;
background: #FFFFFF;
color: #999999;
text-align: right;
padding: 0px;
font-size: 50%;
}
#footer a{
color: #F3C747;
}
.innertube{
margin: 10px; /*Margins for inner DIV inside each column (to provide padding)*/
margin-top: 0;
}
Thanks for all your help in advance I really appreciate it.
Well this is what it should for the most part end up looking like:
Now I'm all about my tables but I need to do this in CSS and keep it so that it fits any browser resolution....so far I'm almost there, this is where I am(excuse the images I plan on fixing them up later):
http://members.shaw.ca/pixelatedkarma/esp/
As you can see the stripe thats running down is not lining up with where my content is. My problem is I'm trying to make it display like a background image and when I set it to background-position: top left; It feels the neccessity to disappear behind the left column.
Here is what I'm thinking my css sheet should look like(sorry its so messy like I said I'm pretty new to the css thing):
body
{
margin:0;
padding:0;
line-height: 1.5em;
height: 100%;
background: #FFFFFF;
background-image:
url('images/background2.jpg');
background-repeat: no-repeat;
background-attachment:fixed;
background-position:top right;
background-attachment:fixed;
}
b{font-size: 110%;}
em{color: red;}
#maincontainer{
float: left;
height: 100%;
width: 100%;
}
#columnwrapper{
float: left;
height: 100%;
width: 100%;
}
#leftcolumn{
float: left;
width: 30%; /*Width of left column in percentage*/
margin-left: -100%;
background-image:
url('images/espsafety.gif');
background-repeat: no-repeat;
background-attachment:fixed;
background-position:bottom left;
background-attachment:fixed;
height:100%;
}
#contentcolumn{
float: left;
width: 70%; /*Width of right column in percentage*/
margin-left: -70%; /*Set margin to -(contentcolumnWidth)*/
height: 100%;
text-align: right;
background-image:
url('images/stripe.gif');
background-repeat: no-repeat;
background-attachment:fixed;
background-position: top left;
}
#links{
position: absolute;
bottom: 0;
border-top: 1px #000000 solid;
clear: left;
width: 100%;
display: inline;
height: 10px;
background: #EFAB23;
color: #999999;
text-align: left;
padding: 0px;
font-size: 50%;
}
#sublinks{
position: absolute;
bottom: 0;
border-top: 1px #000000 solid;
clear: left;
width: 100%;
display: inline;
height: 40px;
background: #EFAB23;
color: #999999;
text-align: left;
padding: 0px;
font-size: 50%;
}
#footer{
position: absolute;
bottom: 0;
border-top: 1px #000000 solid;
clear: left;
width: 100%;
display: inline;
height: 14px;
background: #FFFFFF;
color: #999999;
text-align: right;
padding: 0px;
font-size: 50%;
}
#footer a{
color: #F3C747;
}
.innertube{
margin: 10px; /*Margins for inner DIV inside each column (to provide padding)*/
margin-top: 0;
}
Thanks for all your help in advance I really appreciate it.