Nerdygeek
07-29-2009, 04:16 PM
I've created a basic CSS layout and have gotten so far the ended up stuck.
The next part that I add to the layout breaks off into it's own new container leaving a horizontal border break between it and the top container, the container I was hoping would wrap around the whole site.
Here is the CSS, pointers are appreciated.
Thank you.
.container {
width: 675px;
margin: auto;
background-color: #ffffff;
border: 1px #CFECEC solid;
height: 100%;
padding-top: 3px;
padding-left: 11px;
padding-right: 11px;
}
#headline {
width: 100%;
text-align: center;
}
.h1 {
font-color: #00000;
font-size: 3.5em;
}
#subbheadline {
width: 100%;
text-align: center;
}
strong {
color: #EE3B3B;
font-size: 1.3em;
text-decoration: underline;
}
strong.subheadline {
color: black;
text-decoration: none;
}
strong.subsubheadline {
color: black;
text-decoration: none;
}
.container #form { /*This is where it breaks */
float: right;
}
Thank you.
The next part that I add to the layout breaks off into it's own new container leaving a horizontal border break between it and the top container, the container I was hoping would wrap around the whole site.
Here is the CSS, pointers are appreciated.
Thank you.
.container {
width: 675px;
margin: auto;
background-color: #ffffff;
border: 1px #CFECEC solid;
height: 100%;
padding-top: 3px;
padding-left: 11px;
padding-right: 11px;
}
#headline {
width: 100%;
text-align: center;
}
.h1 {
font-color: #00000;
font-size: 3.5em;
}
#subbheadline {
width: 100%;
text-align: center;
}
strong {
color: #EE3B3B;
font-size: 1.3em;
text-decoration: underline;
}
strong.subheadline {
color: black;
text-decoration: none;
}
strong.subsubheadline {
color: black;
text-decoration: none;
}
.container #form { /*This is where it breaks */
float: right;
}
Thank you.