How to Resize This YouTube Vid Code?

3 replies
  • WEB DESIGN
  • |
I am using this code to get my video on the site:

<div style="text-align: center;"><iframe src="http://www.youtube.com/embed/blablablabla" frameborder="0" width="560" height="400"></iframe></div>

Modifying the height and width numbers does nothing though. (I am using Woo canvas)

How do I modify it's size(I need to make it smaller)?

Thanks
#code #resize #vid #youtube
  • Profile picture of the author yukon
    Banned
    Resizing the iframe works for me. Maybe a parent div messing with you?
    {{ DiscussionBoard.errors[7216352].message }}
  • Bathunter,

    Sometimes clearing your browser cache can fix the issue. If your browser is displaying a cached page, changes will appear to not be taking place. You could also try taking the iframe out of the <div> tag as your div’s size has not been defined. Try defining the size of the div as well.

    Hope that helps,

    Shawn
    Signature
    Outsource to the experts...

    We customize your Blog, eBook, Press Release and Sale Copy content with your message.

    {{ DiscussionBoard.errors[7231821].message }}
  • Profile picture of the author nancyfromafrica
    yes if you have not predefined div it will display right just clear your cache
    Signature

    {{ DiscussionBoard.errors[7232221].message }}

Trending Topics