How to Resize This YouTube Vid Code?

by 3 replies
4
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
#website design #code #resize #vid #youtube
  • Banned
    Resizing the iframe works for me. Maybe a parent div messing with you?
  • 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
  • yes if you have not predefined div it will display right just clear your cache

Next Topics on Trending Feed