View Full Version : Left Justifying the page ...
gkelway
Aug-15-2005, 06:43 AM
Hi there. :)
I'm settuping up a smugmug page and I have added a custom header and footer and it's looking prety good. The header and footer are left justified.
The main body of information, tables that contain the photo gallery information, is centered.
Does anyone know how to left justify the photo gallery information so it matches my the left justified header and footer.
Thanks!
Greg
Mike Lane
Aug-15-2005, 07:38 AM
Hi there. :)
I'm settuping up a smugmug page and I have added a custom header and footer and it's looking prety good. The header and footer are left justified.
The main body of information, tables that contain the photo gallery information, is centered.
Does anyone know how to left justify the photo gallery information so it matches my the left justified header and footer.
Thanks!
Greg
Put <div style="width:whatever; margin-left:whatever; margin-right:auto"> in your header after all your current header information and </div> in your footer before your current footer stuff.
Use pixel amounts for yor margins. My suggestion is to use a size that will ensure that all the styles (including elegant) will fit without going outside of your page boundaries. I would use 740px for the width. You can set the margin to whatever you'd like: 0px, 5px, .25em, 1%, etc. Just don't use negative margins or ie will go ape. Also IE won't handle the width style correctly so you may want to put _width:whatever if your style="" part but make it 10px smaller than the other value (the underscore in front of it is important and you must put it after the other value, only ie can see the declaration). If you don't have a border, it's really not that big of a problem I suppose.
Maybe there are easier ways that you want to try, I'm not sure how familiar you are with web design.
gkelway
Aug-17-2005, 01:06 PM
Put <div style="width:whatever; margin-left:whatever; margin-right:auto"> in your header after all your current header information and </div> in your footer before your current footer stuff.
Maybe there are easier ways that you want to try, I'm not sure how familiar you are with web design.
Thank you for your reply. It isn't working. I am trying all kinds of different tag combinations in order to force the smugmug body content left. If you have any ideas, let me know. Thank you! :)
vBulletin v3.5.2, Copyright ©2000-2008, Jelsoft Enterprises Ltd.