PDA

View Full Version : Centering Div Tag


GreenBill
01-30-2010, 11:18 PM
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, 08:28 AM
Add margin: auto; to the CSS styles.