View Full Version : my template is not centered
steff
04-19-2005, 09:17 AM
hi,
I use the standard light template and I'm gonna modifying it.
i post mainly 800px pictures, but this template seems to be written for 600px images only, as you can see:
http://steff.altervista.org/
my images goes beyond the right border of the central column.
how can I change the CSS to fit 800px images?
I already changed the occurrences of '590' in the template, but i had no success :( it seems there's some other command to change which I don't know.
any hint? :)
Connie
04-19-2005, 12:27 PM
#wrapper {
margin:0px auto;
padding-top:0px;
padding-left:0px;
padding-right:0px;
padding-bottom:0px;
width:610px;
text-align:left;
}
the wrapper contains the image
set it to the right width and check it out
maybe you must align it centered or set margin-left:auto, margin-right:auto
hope that helps, at least it is a hint :wink:
steff
04-19-2005, 02:00 PM
hey, it works smoothly!
thank you very much! :lol:
Connie
04-19-2005, 02:43 PM
you are welcome!
Great it works!
k3vb0t
04-20-2005, 06:04 PM
I just installed and searched for help, and found this...
I am also trying to center my images: http://www.teamindecisive.com/photoblog/
However, I resize my images based on height, not width (i.e. I typically want them to be 535px in height to fit inside a browser window without scrolling). Therefore, my image width varies depending on the photo, crop, etc.
Other than changing the 610px width to the size of the photo, is there a way to make CSS 'center' the image in the browser?
I also don't seem to have an 'about' page, although the about_template.html is loaded. I am confused. :)
Thanks,
Kevin
blinking8s
04-20-2005, 06:20 PM
height is not typically something you can control as other people are using different resolutions, and different browsers have different size menu bars at the top, people get infected with spyware and dont know why they have 11 search bars added in ie taking up 400px...odds are you are one of the select few that does not see a scrollbar
width is a more important standard...
vBulletin® v3.7.3, Copyright ©2000-2013, Jelsoft Enterprises Ltd.