How to center a DIV horizontally with CSS

How to center a DIV horizontally with CSS

Posted by matt on Thu, 02/07/2009 - 5:38pm in

When we're working on our websites we'll often want to horizontally center a DIV containing some text/images, or both. This is one easy way to center your DIV horizontally with CSS.

Re

Different students that are looking for the knowledge close to custom write at the writing service can follow your perfect thought referring to this good topic. In other case, it’s possible to use the aid of the essay writing service.

Posted by on18Ellen (not verified) on Sat, 02/01/2010 - 9:29am
Post new comment
The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • Web page addresses and e-mail addresses turn into links automatically.

More information about formatting options

CAPTCHA
We need to know if you're a human :)
Image CAPTCHA
Copy the characters (respecting upper/lower case) from the image.