Connecting Tech Pros Worldwide Forums | Help | Site Map

Unwanted spacing in embed code under Firefox

howa
Guest
 
Posts: n/a
#1: Jun 30 '08
Consider a simple HTML:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>YUI</title>
<link rel="stylesheet" href="http://yui.yahooapis.com/2.5.1/build/
reset-fonts-grids/reset-fonts-grids.css" type="text/css">
</head>
<body>

<div style="background-color:red"><embed src="http://www.youtube.com/v/
MzDlXgc7m3U&hl=zh_TW" type="application/x-shockwave-flash" width="425"
height="344"></embed><div style="background-color:green">TEST</div></
div>

</body>
</html>


If you view using FF 2.0, you will notice a horizontal spacing at the
bottom of youtube player.

It can be solved by using object tag, but is it possible to just use
embed tag and remove the spacing?

Thanks.

Closed Thread