Be a Supporter!

Centering div tags

  • 497 Views
  • 3 Replies
New Topic Respond to this Topic
Xurch
Xurch
  • Member since: Mar. 26, 2005
  • Offline.
Forum Stats
Member
Level 25
Blank Slate
Centering div tags 2006-11-15 11:47:58 Reply

How can I center my div tags to the center of the page, so it is also centered for all browsers, because at the moment I have them centered fine in firefox, ie really messes it up.
(Btw the divs are not centered absolute, I just kept changing the values until it looked like it was centered, how can I make the divs center exactly?)


BBS Signature
Loccie
Loccie
  • Member since: Feb. 27, 2004
  • Offline.
Forum Stats
Member
Level 16
Blank Slate
Response to Centering div tags 2006-11-15 11:52:08 Reply

I think about 4 post back an answer was given to the same question.

http://newgrounds.com/bbs/topic.php?id=605105

Jordan
Jordan
  • Member since: Apr. 23, 2006
  • Offline.
Forum Stats
Member
Level 14
Blank Slate
Response to Centering div tags 2006-11-15 11:54:33 Reply

<div align="center"></div>

Jessii
Jessii
  • Member since: Feb. 10, 2005
  • Offline.
Forum Stats
Member
Level 36
Movie Buff
Response to Centering div tags 2006-11-15 13:02:06 Reply

At 11/15/06 11:54 AM, Jordan wrote: <div align="center"></div>

Umm no! That's not what he wants to do, especially if he's using multiple divs for columns.

As was said, take a look at that post that was linked. (Mine are centered using margins, when you minimize the browser window, the divs readjust to the center).