WebsiteBaker Community Forum

WebsiteBaker Support (2.8.x) => Templates, Menus & Design => Topic started by: Chrissy on February 15, 2008, 08:39:28 PM

Title: How do I set my new template to align center?
Post by: Chrissy on February 15, 2008, 08:39:28 PM
Hello,

I am creating a website baker template from scratch for my first time and right now i have a couple DIV tags hooked uo to their appropriate CSS id that currently have margins set for the right and left of the DIV to kind of have it in the middle on my screen but obviously a different size screen pushes it over too much to the right.

Thanks,
Chrissy
Title: Re: How do I set my new template to align center?
Post by: Chrissy on February 15, 2008, 09:48:11 PM
Ok... I had a moment in the shower lol and realized I could just put the margins to "auto".. works great!
Title: Re: How do I set my new template to align center?
Post by: CMD on February 16, 2008, 11:55:39 AM
*hehe*, that's cool... :-D
one of the most creative "places" in the world...

(often dreaming of a water resistant tablet pc for my bathroom :lol:)
Christian
Title: Re: How do I set my new template to align center?
Post by: orko3001 on April 03, 2008, 03:00:25 PM
 :-D Yes

margin-left: auto;
margin-right: auto;