Help with a simple video player layout please
Hi,
I'm trying to create a video player for my website. I've created it fine in IE, but in FF looks a bit all over the place:
HTML Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Test</title>
<style type="text/css">
body {background:#CCC; font:normal normal 12px Verdana, Arial, Helvetica, sans-serif;}
#container {width:642px; padding:10px; border:#000 1px solid; background:#fff; color:#333; margin:0 auto;}
#video-holder {width:320px; height:248px; display:block; border:#000 1px solid; float:left;}
ul {float:right;}
li {width:265px;list-style-type:none; border:#888 1px solid; padding:4px; margin:0 0 4px 0; background:#eee;}
li {width:265px;list-style-type:none; border:#888 1px solid; padding:4px; margin:0 0 4px 0; background:#eee;}
li:hover {background:#0066CC};
</style>
</head>
<body>
<div id="container">
<!-- Video Holder -->
<div id='video-holder' rel='http://www.youtube.com/v/0Bmhjf0rKe8&hl=en&fs=1' title='The First Video'></div>
<ul>
<li rel='http://www.youtube.com/v/0Bmhjf0rKe8&hl=en&fs=1' title='The First Video'>video 1<br />Quick Title</li>
<li rel='http://www.youtube.com/v/tgbNymZ7vqY&hl=en&fs=1' title='The Second Video'>video 2<br />Quick Title</li>
<li rel='http://www.youtube.com/v/0Bmhjf0rKe8&hl=en&fs=1' title='The Third Video'>video 3<br />Quick Title</li>
<li rel='http://www.youtube.com/v/tgbNymZ7vqY&hl=en&fs=1' title='The First Video'>video 4<br />Quick Title</li>
<li rel='http://www.youtube.com/v/0Bmhjf0rKe8&hl=en&fs=1' title='The Second Video'>video 5<br />Quick Title</li>
<li rel='http://www.youtube.com/v/tgbNymZ7vqY&hl=en&fs=1' title='The Third Video'>video 6<br />Quick Title</li>
</ul>
</div>
</div>
</body>
</html>
Can anyone help please. I think i'm nearly there. Also in IE I use the li:hover method which works in FF but not IE. In this case is there a way around this as well?
Thank you very much