I\'ve looked around, and as far as I can see it\'s not possible, but say you\'re embedding a YouTube iframe, is it possible to round those corners using CSS?
Wrapping the in a should work. #wrap { width: 320px; height: 320px; -moz-border-radius: 10px; background: red; position: relative; } iframe { width: 300px; height: 300px; position: absolute; top: 10px; left: 10px; } I have attached a jsfiddle to demonstrate: http://jsfiddle.net/fxPsC/ 0 讨论(0) 查看其它5个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复
should work. #wrap { width: 320px; height: 320px; -moz-border-radius: 10px; background: red; position: relative; } iframe { width: 300px; height: 300px; position: absolute; top: 10px; left: 10px; } I have attached a jsfiddle to demonstrate: http://jsfiddle.net/fxPsC/ 0 讨论(0) 查看其它5个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复
#wrap { width: 320px; height: 320px; -moz-border-radius: 10px; background: red; position: relative; } iframe { width: 300px; height: 300px; position: absolute; top: 10px; left: 10px; }
I have attached a jsfiddle to demonstrate: http://jsfiddle.net/fxPsC/