Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Frontpage layer centering  (Read 2915 times)

0 Members and 1 Guest are viewing this topic.

Eric_M

  • Guest
Frontpage layer centering
« on: February 09, 2006, 03:37:37 PM »
Is there a way to make the all the layers in Frontpage be centered?

T-Chai

  • Guest
Re: Frontpage layer centering
« Reply #1 on: February 10, 2006, 04:21:23 AM »
Ahhh now this dpends very much on the layer (Div) you are trying to centre. If it's just one Div then

.content {width: 100%; margin-left: auto; margin-right: auto;}
in your css and

<div class="content">put your content here</div>
in the HTML will work but if you have several divs then it depends how they're laid out.

Have you had a look at the tutorials in www.w3schools.org ?

T-Chai

  • Guest
Re: Frontpage layer centering
« Reply #2 on: February 10, 2006, 08:46:10 AM »
Are you just trying to make the Layer in the dead middle or try to centre everything in the parellel?


Rob Pomeroy



    Prodigy

  • Systems Architect
  • Thanked: 124
    • Me
  • Experience: Expert
  • OS: Other
Re: Frontpage layer centering
« Reply #3 on: February 12, 2006, 01:29:43 AM »
If you can layout your page avoiding the use of layers, do.  They are not consistently supported across all browsers.
Only able to visit the forums sporadically, sorry.

Geek & Dummy - honest news, reviews and howtos

T-Chai

  • Guest
Re: Frontpage layer centering
« Reply #4 on: February 13, 2006, 01:13:41 AM »
Yeah Man I dont use layer that much
I think some bit for it is a hassel