#container { background-color: #D4D4D4; padding-left: 5px; }
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" /> <html> <head> <title>My Personal System v1.0</title> <link rel="stylesheet" type="text/css" href="css/layout.css" /> </head> <body> <div id="header" class="alignmiddle borders"> </div> <div id="container" class="alignmiddle borders"> asdf </div> <div id="footer" class="alignmiddle borders"> </div> </body> </html>
http://www.maxforcepc.com/personal/index.php
if you look at the center column which as the padding of 5px it pushes the width out more so it's bigger.. I have no idea why it's doing that.... Can anyone help me out?
-thanks,
rich[/code]
having problems with padding-left:.... please read
- sigh -
Google for the Box Model and hacks for it.
having problems with padding-left:.... please read
- sigh -
Google for the Box Model and hacks for it.
i've done a number of searches on google but can't come up with the solution to my problem. all of the sites i came across had the same information. Any help is appreciated
-peace,
Rich
having problems with padding-left:.... please read
thepineapplehead wrote:- sigh -
Google for the Box Model and hacks for it.
i've done a number of searches on google but can't come up with the solution to my problem. all of the sites i came across had the same information. Any help is appreciated
EDIT: *I fixed the issue by just setting the width of the container to 795px. I just hope i won't run into other problems....
-peace,
Rich