View Full Version : thought it was a simple margin thing...
01-03-2010, 12:50 AM
maybe it is....cant figure out how to get the right side of the text in the left column to not go all the way to blue. ive tried using padding and margin and all that seems to happen is blue column gets all screwed up. 15px will be fine. ??
01-03-2010, 01:01 AM
What did you try?
If adding padding or margin to your content column, the total width of #content has to stay 545px or your left margin on #column would have to be adjusted. That's how the box model works (http://www.w3.org/TR/CSS2/box.html), margin/padding/border all count in figuring total width.
This should work for you -
padding: 0 15px;
01-03-2010, 01:03 AM
Oh, if you only want the right side of you #content affected you would need to make it more like this -
padding: 0 15px 0 0;
01-03-2010, 02:06 AM
thank you. they dont call me a beginning coder for nothing. :-)
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.