View Full Version : Resolved Can't get rid of the padding
03-12-2009, 11:23 PM
There is this large gap from the middle content and the left side of the screen. I tweaked lots of stuff and can't get the text to move closer to the left. I want to cut it in half. I attached a picture and outlined the space I want smaller.
03-12-2009, 11:56 PM
There is probably a line in your .css file that specifies the page width (looks around 800px) you need to make it wider I'm guessing.
03-13-2009, 01:12 AM
#page is the div you want to move, #content will follow when you do.
First you'll want to clear the floats. Have a look at this code -
margin: 0 auto;
Try it both with and without the overflow:auto; line. To explain how to clear floats that way, have a look at this page - http://www.quirksmode.org/css/clearing.html
To move it over, change your margins. Right now #page is centered with margin:0 auto; You can move it over with margin:0 0 0 200px; or margin: 0 0 0 30%; ... see what works for you.
Keep it margin:0 auto; to be centered and make it width:1200px; that will move it over too.
03-13-2009, 01:50 AM
It's all screwed up now.
03-13-2009, 01:53 AM
Yes it is. I did not mean for you to use my numbers... only that you could change those numbers to get the positioning your were looking for.
Try this instead -
/* Page */
margin: 0 auto;
/* Content */
/* Post */
03-13-2009, 01:56 AM
Ok I played with it for awhile and got it. I used padding-left: 15px and used 70% width.
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.