Sign In | Register Now About Bytes | Help | Site Map
Connecting Tech Pros Worldwide

Unwanted spacing in embed code under Firefox

Question posted by: howa (Guest) on June 30th, 2008 07:05 PM
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.
 
Not the answer you were looking for? Post your question . . .
189,846 Experts ready to help you find a solution.
Sign up for a free account, or Login (if you're already a member).

Latest Articles: Read & Comment
  • Didn't find the answer you were looking for?
    Post Your Question
  • Top Community Contributors