jessnoonyes
07-25-2007, 12:38 AM
I'm playing with CSS, trying to learn it. I've put together this so far and ran into a problem I can't figure out:
http://www.oregonblackbook.com/123/index.html
That line in the center is supposed to be aligned at the bottom so that it doesn't cross that vertical line. But I can't figure out how to do it. Any help?
Here's the code:
body
{
background-color: #000000;
}
#home-container
{
width: 800px; height: 550px; position: center; border: 6px #ffffff solid;
background-color: #BCBC8F;
}
#header
{
width: 800px; height: 120px; position: center; border-bottom-color: #ffffff;
border-bottom-style: solid;
border-bottom-width: 3px;
z-index: 2;
}
#main-home1
{
width: 400px; height: 335px; position: center; border-bottom-color: #ffffff;
border-bottom-style: solid;
border-bottom-width: 3px;
}
#main-home2
{
width: 400px; height: 440px; position: center; border-bottom-color: #ffffff;
border-bottom-style: solid;
border-bottom-width: 3px;
}
#main-home
{
width: 400px; height: 330;
border-right-style: solid;
border-right-color: #ffffff;
border-right-width: 3px;
z-index: 1;
}
http://www.oregonblackbook.com/123/index.html
That line in the center is supposed to be aligned at the bottom so that it doesn't cross that vertical line. But I can't figure out how to do it. Any help?
Here's the code:
body
{
background-color: #000000;
}
#home-container
{
width: 800px; height: 550px; position: center; border: 6px #ffffff solid;
background-color: #BCBC8F;
}
#header
{
width: 800px; height: 120px; position: center; border-bottom-color: #ffffff;
border-bottom-style: solid;
border-bottom-width: 3px;
z-index: 2;
}
#main-home1
{
width: 400px; height: 335px; position: center; border-bottom-color: #ffffff;
border-bottom-style: solid;
border-bottom-width: 3px;
}
#main-home2
{
width: 400px; height: 440px; position: center; border-bottom-color: #ffffff;
border-bottom-style: solid;
border-bottom-width: 3px;
}
#main-home
{
width: 400px; height: 330;
border-right-style: solid;
border-right-color: #ffffff;
border-right-width: 3px;
z-index: 1;
}