SMC
09-14-2007, 11:03 PM
Hello everyone.
Now I can probably make this layout with Tables much easier but it would take forever to load and be unclean code, so, here we go.
I'm having difficulty making a very simple layout. The problem is I need it to be kind of like a frame, but it is going to be a wrapper style. Here is an example image:
http://img526.imageshack.us/img526/4102/examplelk1.jpg
http://img526.imageshack.us/img526/4102/examplelk1.jpg
Now when I try this all sorts of funky things happen. Anywhere from a gap opening above the header, to the left menu not stretching down. I could use any tips you guys (and girls) can offer on how to make this, I really think I'm just making it much harder than it has to be.
Thanks!!!
PS: I've posted the CSS so you can see where my head is at:
body {
background-color: #000000;
Color: #FFFFFF;
Font-family: Arial, Helvetica, sans-serif;
Font-size: 14px;
margin-top: 0px;
margin-left: 0px;
margin-right: 0px;
}
.header-left {
background-image: url( '../images/header_left.jpg' );
background-repeat: no-repeat;
width: 600px;
height: 155px;
position: relative;
float: left;
}
.header-repeat {
background-image: url( '../images/repeat.jpg' );
background-repeat: repeat-x;
width: 100%;
height: 155px;
float: left;
}
.left-nav {
background-image: url( '../images/nav/wood_repeat.jpg' );
background-repeat: repeat-y;
width: 200px;
height: 100%;
float: left;
margin: 0px;
margin-right: 20px;
}
.bottom-nav {
background-image: url( '../images/nav/bottom_nav.jpg' );
margin: 0px;
width: 200px;
height: 25px;
}
.nav-content {
margin: 10px;
}
.content {
margin: 20px;
}
/* AD Divs */
.a125x125 {
width: 125px;
height: 125px;
overflow: hidden;
}
/* TEXT CSS */
.nav-section {
font-weight: bold;
font-size: 14px;
Color: #FFFFFF;
}
.nav-links {
line-height: 20px;
font-size: 12px;
margin-top: 5px;
margin-left: 30px;
}
.nav-link:link, .nav-link:visited {
Color: #FFFFFF;
font-weight: normal;
text-decoration: none;
}
.nav-link:hover {
Color: #FFFFFF;
font-weight: normal;
text-decoration: underline;
}
.align-center {
width: 96%;
text-align: center;
margin: auto;
padding: 5px;
}
Now I can probably make this layout with Tables much easier but it would take forever to load and be unclean code, so, here we go.
I'm having difficulty making a very simple layout. The problem is I need it to be kind of like a frame, but it is going to be a wrapper style. Here is an example image:
http://img526.imageshack.us/img526/4102/examplelk1.jpg
http://img526.imageshack.us/img526/4102/examplelk1.jpg
Now when I try this all sorts of funky things happen. Anywhere from a gap opening above the header, to the left menu not stretching down. I could use any tips you guys (and girls) can offer on how to make this, I really think I'm just making it much harder than it has to be.
Thanks!!!
PS: I've posted the CSS so you can see where my head is at:
body {
background-color: #000000;
Color: #FFFFFF;
Font-family: Arial, Helvetica, sans-serif;
Font-size: 14px;
margin-top: 0px;
margin-left: 0px;
margin-right: 0px;
}
.header-left {
background-image: url( '../images/header_left.jpg' );
background-repeat: no-repeat;
width: 600px;
height: 155px;
position: relative;
float: left;
}
.header-repeat {
background-image: url( '../images/repeat.jpg' );
background-repeat: repeat-x;
width: 100%;
height: 155px;
float: left;
}
.left-nav {
background-image: url( '../images/nav/wood_repeat.jpg' );
background-repeat: repeat-y;
width: 200px;
height: 100%;
float: left;
margin: 0px;
margin-right: 20px;
}
.bottom-nav {
background-image: url( '../images/nav/bottom_nav.jpg' );
margin: 0px;
width: 200px;
height: 25px;
}
.nav-content {
margin: 10px;
}
.content {
margin: 20px;
}
/* AD Divs */
.a125x125 {
width: 125px;
height: 125px;
overflow: hidden;
}
/* TEXT CSS */
.nav-section {
font-weight: bold;
font-size: 14px;
Color: #FFFFFF;
}
.nav-links {
line-height: 20px;
font-size: 12px;
margin-top: 5px;
margin-left: 30px;
}
.nav-link:link, .nav-link:visited {
Color: #FFFFFF;
font-weight: normal;
text-decoration: none;
}
.nav-link:hover {
Color: #FFFFFF;
font-weight: normal;
text-decoration: underline;
}
.align-center {
width: 96%;
text-align: center;
margin: auto;
padding: 5px;
}