Jump to content

border coding example

Recommended Posts

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 by satimis
Link to post
Share on other sites

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:

Link to post
Share on other sites

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 post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...