I am working on a site, using CSS extensively (for the first time). I have the site set up with a top section, then navigation is on the left and is 190 px wide.
My whole site is in "#outer" which I have setup as 100% width. In it, I then have my "#toppage", then I have "#links" and "#inner". The problem I am having is that the "#inner" section sometimes is wider than the page, thus the person viewing the site has to scroll horizontally.
Here is what I have setup so far as far as page setup.
Code:
#outer {width: 100%; margin: 0px}
#toppage {background-color: rgb(128,0,115); height: 120px}
#toppage h1 {text-align: center; padding: 10px; margin: 0px}
#toppage img {margin: 0px}
#inner {display: block; position: absolute; top: 130px; margin-left: 170px;
margin-right: 20px; padding: 0px}
#inner b {font-size: 14px}
#links a {font-size: 12px; text-decoration: none; display:block; width:125px;
margin:2px; padding:2px; background-color:#0881b2; text-indent: 10px}
#links a:hover {text-decoration: underline; background-color:#76c4e3}
#links ul {list-style-type: none; margin: 5px; 0px 0px 5px; padding-left: 0px}
#links ul li a {text-decoration: none; color: white}
#links ul li a:hover {text-decoration: underline; color: black}
#links p{margin: 0px; padding-left: 10px}
I would really appreciate any help and feedback anyone can provide me. Thank you in advance.
Leebert45
__________________
It's never "just a game" when you're winning.
~ George Carlin ~
|