CSS Centering Q
CSS Centering Q
- Started
- Last post
- 5 Responses
- flashbender
yes I searched for this already.
Does anyone out there have a multi-browser compliant solution to vertically centering a div?
What I'm shooting for is to have an 800x600 div centered in the browser window for people running higher than 8x6.
Pure CSS would be preferred, but I'm open to java too.
Thanks
- flashbender0
um, yeah. nevermind.
Apparently I suck at searching.I found this quick, easy fix which works on PC IE7 and FF2
anyone on a mac or other browser see it break?
- fransgaard0
div {width:800px; margin:0 auto;}
- flashbender0
thank you
- flashbender0
www.wpdfd.com/editoria...
radar
(Oct 15 07, 10:04)awesome. Thank you.