By default, an
embed will have no border around it. The
border attribute rectifies this, and allows you to
set a border specified in pixel width. Depending on the browser, the
border will either be black or will match the color of the document’s
attribute on an image set to
<embed src="giant-grasshopper.jpg" border="20" height="206" width="300"></embed>
A number representing the width of the border in pixels.
This attribute is poorly supported and highly presentational. CSS should be used to control appearance instead.
Generally, browsers supported the
border attribute for this element better when the
type of content embedded was an image (Firefox correctly applied a border,
as did Safari 2, while the newer Safari 3 did not apply a border; Opera
did not apply as border to an image embed, nor did Internet Explorer. None
of the browsers applied a border to the
embed when the
content of the embed was a Flash movie. In short - it’s a very hit and
miss affair, mostly miss.
There are no comments yet.