Jump to content


Photo

*SOLVED* Centering question


  • Please log in to reply
3 replies to this topic

#1 Liquid-Fire

Liquid-Fire
  • Members
  • PipPip
  • Member
  • 16 posts

Posted 13 May 2006 - 05:31 PM

Ok i forgot what is used to center a whole section like a div section?

#2 moberemk

moberemk
  • Members
  • PipPipPip
  • Advanced Member
  • 695 posts

Posted 13 May 2006 - 06:19 PM

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

Disclaimer: No matter how harsh I may be, I'm always IMO only.

#3 wildteen88

wildteen88
  • Staff Alumni
  • Advanced Member
  • 10,482 posts
  • LocationUK, Bournemouth

Posted 13 May 2006 - 06:51 PM

Also make sure the div you have defined a width for the div you are trying to center.

#4 Liquid-Fire

Liquid-Fire
  • Members
  • PipPip
  • Member
  • 16 posts

Posted 13 May 2006 - 07:06 PM

thanks




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users