Hey guys. A friend of mine's Dad asked me to build him a site for his local business. Here is what I have so far:
http://dopertees.com/rcbonline.htm
Please excuse the text and green blocks, they are just place holders.
Anyways, I like the way things are looking, I just want the whole "thing" to be in the center.
Is the reason it won't center up is because of the "position: absolute" values attributed? Is it possible to center my site?
I guess I could use a table to get it centered, but I'm trying to learn more about CSS. If I need to post anything else, I'd be more than happy to.
Any help would be greatly appreciated. Thanks in advance.
Here is my CSS:
http://dopertees.com/rcbonline.htm
Please excuse the text and green blocks, they are just place holders.
Anyways, I like the way things are looking, I just want the whole "thing" to be in the center.
Is the reason it won't center up is because of the "position: absolute" values attributed? Is it possible to center my site?
I guess I could use a table to get it centered, but I'm trying to learn more about CSS. If I need to post anything else, I'd be more than happy to.
Any help would be greatly appreciated. Thanks in advance.
Here is my CSS:
Code:
body {
font-family: verdana, arial, helvetica, sans-serif;
font-size: 12px;
background: url([url]http://dopertees.com/Images/bodyback.gif[/url]) ;
padding: 0;
}
#top {
width: 754px;
height: 167px;
background: url([url]http://dopertees.com/Images/topback4.gif[/url]);
}
#container {
width: 754px;
background: url([url]http://dopertees.com/Images/containerback2.gif[/url]);
position: absolute;
top: 167px;
text-align: center;
}
.link {
text-align: center;
padding: 115px
}
.container {
font-family: verdana, arial, helvetica, sans-serif;
font-size: 12px;
}