From the course: Learning Web Audio and Video
Unlock the full course today
Join today to access over 24,800 courses taught by industry experts.
Solution: Remove the iframe border
From the course: Learning Web Audio and Video
Solution: Remove the iframe border
(upbeat music) - [Instructor] All right, one possible solution to this is to actually use CSS in order to redefine the border value of the iframe. If we look a little down here, there's our iframe, and we haven't actually done anything to the iframe attributes whatsoever. But up above inside of our style block, within the head of our HTML document, what we have is an iframe definition. And in there, we target the border attribute and we set its value to none. This effectively removes the border from our iframe and things look a lot nicer.
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.