i am trying to build a drop down menu using CSS and HTML only (no JavaScript), so a small sample i have tried the following code:
<html>
<head>
<title>Drop Down Menus</title>
<style>
#HomePage{position: absolute; left: 15;}
div#links a span {display: none;}
div#links a:hover span {display: block; position: absolute; left: 15;}
</style>
</head>
<body>
<div id="links"><a href=http://www.webdeveloper.com/forum/archive/index.php/"">HomePage<span><br>Test1<br>Test2</span></a></div>
</body>
</html>
However, although it is working fine with browsers such as Opera, it is not working with IE. Any ideas why or if there is a way around this ?
ThanksDang it...wrong button...
I'm used to another forum with the edit and quote buttons switched. IE 6My guess would be that you pared down the style definitions too far. Go back to Eric Meyer's page and copy the entire css and then tweak it to your liking.i will give it a shot. Thank you
<html>
<head>
<title>Drop Down Menus</title>
<style>
#HomePage{position: absolute; left: 15;}
div#links a span {display: none;}
div#links a:hover span {display: block; position: absolute; left: 15;}
</style>
</head>
<body>
<div id="links"><a href=http://www.webdeveloper.com/forum/archive/index.php/"">HomePage<span><br>Test1<br>Test2</span></a></div>
</body>
</html>
However, although it is working fine with browsers such as Opera, it is not working with IE. Any ideas why or if there is a way around this ?
ThanksDang it...wrong button...
I'm used to another forum with the edit and quote buttons switched. IE 6My guess would be that you pared down the style definitions too far. Go back to Eric Meyer's page and copy the entire css and then tweak it to your liking.i will give it a shot. Thank you