I apologize if the purpose of the forum is not to review code as a whole; I could not find a forum elsewhere on the site that deals explicitly with code. If this thread is too broad, please don’t hesitate to close.
But basically, after a lot of tinkering, this is what I have for my four-column build. I do not have a footer, and do not think I will be adding one. But apart from that, I have laid down the foundation for all I’ll need by and large.
Anything grossly incorrect? Everything works on my browsers but there could be a no-no that just hasn’t struck yet.
Thanks!
/* simple reset to give good cross-browser baseline */
html,body,address,blockquote,div,
form,fieldset,caption,
h1,h2,h3,h4,h5,h6,
hr,ul,li,ol,ul,
table,tr,td,th,p,img {
margin:0;
padding:0;
}
img, fieldset {
border: none;
}
hr {
display: none;
}
body {
font-size: 90%;
font-family: calibri,helvetica,sans-serif;
background-image: url('image/shield_background.png');
background-repeat: repeat;
margin-left: auto;
margin-right: auto;
margin-top: 30px;
text-align:center; /*center #pageWrapper in IE 5.x */
}
#signature {
position: relative;
margin: 30px 30px 70px;
background-image:url(image/CCSignature.jpg);
repeat: x-axis;
height: 77px;
width: 368px;
border: none;
}
#signature img {
display: none;
}
h1 {
position: relative; /* wrap floats */
padding: 0 0 0 0;
font-weight: bold;
font-size: 115%;
font-family: "Droid Serif", helvetica, georgia, sans-serif;
font-color: black;
overflow: hidden;
}
p {position: relative;
padding: 10px 0 0 0;
font-size: 105%;
}
li {
font-size: 105%;
padding-left: .3em;
padding-top: .3em;
}
#textWrapper {
margin-left: auto;
margin-right: auto;
text-align:left;
width: 992px;}
#contentWrapper {
}
#navBar {
margin: 0;
padding: 0;
background-color: white;
list-style: none;
font-size: 1px;
font-family: "Droid Sans", calibri, helvetica, sans-serif;
padding-top: 10px;
text-align: center;
border-bottom: 2px dotted #666;
white-space: nowrap;
}
#navBar li {
display:inline;
}
#navBar hr {
display: block;
background-color: black;
}
#hrNull {
display: none;
}
#navBar a {
display:-moz-inline-block;
display:-moz-inline-box;
display: inline-block;
font-size: 18px;
white-space: nowrap;
text-decoration: none;
color: black;
padding: 10px 60px;
}
#navBar a:active,
#navBar a:focus,
#navBar a:hover {
background: rgb(6,11,85) 0 no-repeat;
}
#navBar a:hover {
color: gold;
}
#bcgColor {
margin: 0 auto;
width: 992px;
height: 100%;
background-color: white;
background-repeat: repeat-y;
}
#column1, #column2, #column3, #column4, #column5, #column6, #column7 {
top: 230px;
float: left;
padding: 1.5em 1.3em;
}
#column1 {
left: 24%;
width: 210px;
}
#column2 {
left: 48%;
width: 210px;
}
#column3 {
left: 62%;
width: 210px;
}
#column4 {
left: 86%;
width: 210px;
}
#column5 {
left: 62%
width: 500px;
}
#column6 {
left: 48%;
width: 680px;
}