Page 1 of 1
Aligning template to the left of the screen
Posted: Wed Jan 05, 2011 4:03 pm
by kingofsicily
Hi there!
All the templates are placed in the centre of the computerscreen. Is it possible to have the blogtemplate align to the left side of the screen?
Cheers!
Rogier.
Re: Aligning template to the left of the screen
Posted: Wed Jan 05, 2011 4:19 pm
by Timbalu
Yes!
If you want to learn how, install Firefox with Firebug plugin and try out different settings of your templates css files in live view.
Ian
Re: Aligning template to the left of the screen
Posted: Wed Jan 05, 2011 4:53 pm
by garvinhicking
Hi!
Center-aligned styles are the de facto standard of current webdesign...are you really sure you want it leftaligned? I don't know a single template where this wouldn't look like crap
regards,
Garvin
Re: Aligning template to the left of the screen
Posted: Wed Jan 05, 2011 7:04 pm
by yellowled
garvinhicking wrote:Center-aligned styles are the de facto standard of current webdesign...are you really sure you want it leftaligned? I don't know a single template where this wouldn't look like crap

Actually, there are some site who do this (although not many blogs) to have ads at the right of the container. (But I agree it looks crappy.)
However, a centered blog usually means a centered container, usually a div. This might be called #wrapper, .container or something similar. It usually has CSS like this:
Code: Select all
#wrapper {
margin-left: auto;
margin-right: auto;
width: XY;
}
or
Code: Select all
#page {
margin: 0 auto;
width: XY;
}
To "uncenter" it, change the left/right margins from auto to, well, whatever you like, but not auto.
YL
Re: Aligning template to the left of the screen
Posted: Thu Jan 06, 2011 9:10 pm
by kingofsicily
Many thanks for the info. It is just something I was thinking about whether it was possible in the first place and whether it would look good or not. I may use it. Or not. Who knows

.
Thanks again, and until next time!
Rogier.