View Single Post
Old 2010-05-26, 09:46 PM   #10
Maj. Stress
Progress rarely comes in buckets, it normally comes in teaspoons
 
Maj. Stress's Avatar
 
Join Date: Jun 2005
Location: Dark Side Of Naboo
Posts: 1,289
Quote:
Originally Posted by Cleo View Post
Yeah it was the content within the div that I was talking about.

Despite using text-align: center; my iframe still wasn't centering. I did some Googling and found the suggestion to give my iframe a fixed width instead of a percent and it fixed it.

I still struggle with css but thought that maybe it would work with your issue too.

Just a guess but maybe
display:block;
margin-right:auto;
margin-left:auto;
I haven't tested it but that looks like it should work.
Maj. Stress is offline   Reply With Quote