Sublime directory Surf the web anonymous Pagerank Monitor


problem with wp theme

detoam
Fri 15 January 2010, 07:16 am GMT +0100
I am designing a new theme for wp and encountered an issue. When I embed a video into the posts or the sidebar the video does not obey the width settings. It automatically stretches to about 1000px (which coincidentally is the width of the page). I can't figure out how to fix that. I figured out that it's likely to be a problem in the css, but I just can't see it.
Can someone help me figure it out?
Thanks.


I figured it out. I had a div class "main" and the video I was trying to embed had an id "main" so it kept resizing itself to the full width.

Nikolas
Fri 15 January 2010, 10:13 am GMT +0100
That was fast :)

detoam
Fri 15 January 2010, 10:43 am GMT +0100
Thanks.
It was scary as hell though. I made three themes from the same base. Took me about a week. This scared me into thinking that I would have to scrap all the themes and tell people not to download.

Archive for SMF v1.00 by N.P. Valid XHTML 1.0 Transitional