#divID{ width:yourWidthpx; margin:0 auto; }
Probably a stupid question.
View the attached image:
My div container (entire black area) holds 1 entire swf.
I want the white box to be in the center of the browser no matter how it's resized. As of now, when the width of the browser resizes it will still show the 200px or so of that black area on the left side.
I know it's possible with flash but I'm curious if there is a quick fix in CSS for the div to be absolutely centered? Huge flash project that got widened and now find myself in this silly situation and am trying not to have to change 100 files in flash.
Hope that makes sense.
Thanks in advance!
Brian
#divID{ width:yourWidthpx; margin:0 auto; }
Thanks but still have the problem.
View the site here:
Welcome to The Cardon Group.com
if you resize the width of the browser the left side shows about 200px of the black area. Is there a way to completely center the entire flash piece to have the registration point in the very middle of the browser? if that makes sense?
bD
Your Flash seems to be full page, it needs to be the same with as the container for it to work.
EDIT: 1260px wide is mad, it should be 960px max. That's why it doesn't centre, it's too big for any monitor <1280px.
Check the forum often for the latest design announcements. Everything from graphic design and web design, to films and music. Estetica is a great place for people to get together and help each other out.
Bookmarks