satimis Posted August 20, 2014 Share Posted August 20, 2014 (edited) Hi all,Where can I find coding examples on border for video?Example: <div style="padding:10px;background:#000;webkit-border-radius: 20px;-moz-border-radius: 20px;border-radius: 20px;width:560px;margin:0 auto;overflow:hidden;"> <iframe src="http://www.youtube.com/embed/MOVIEID?fs=1&autoplay=1&loop=1&rel=0&border=0&modestbranding=1" width="560" height="315" frameborder="0"></iframe></div> in respect of color and style?ThanksRegardssatimis Edited August 20, 2014 by satimis Link to comment Share on other sites More sharing options...
Ingolme Posted August 20, 2014 Share Posted August 20, 2014 Borders can be applied to almost any element.When it comes to the iframe, though, the frame's rectangular shape will probably cover the rounded borders of the element that contains it, unless that element has some padding to separate the borders from the video. Reference for CSS border attributes: Border color Border style Border width Link to comment Share on other sites More sharing options...
satimis Posted August 20, 2014 Author Share Posted August 20, 2014 Hi,Thanks for your advice.I'm trying to create borders on the videoTaoist Temple Lahug, Cebu City.http://phgallery3.reynoldstocks.com/cebu-city-3/I found that code on Internet. I have no idea how to change the border colour nor its width on both sides. Previously I saw video with wooden frame on 4 sides. I wonder how to make it? Could you please shed me some light? ThanksRegardssatimis Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now