PDA

View Full Version : Centering Div Tag


GreenBill
01-31-2010, 12:18 AM
Say I have a div tag that's 50% of the screen, how can I make it fill the center 50% of the screen?

Corrosive
01-31-2010, 09:28 AM
Add margin: auto; to the CSS styles.