Well, thanks you very much, that´s more or less what I was looking for, but I am having some issues when trying to change that code to addecuate to my needs. Here´s the code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>CSSnewbie Example: Horizontal CSS Dropdown Menus</title>
<style>
/* These styles just pretty up the page a bit. */
body {
font: 62.5%/1.2 Arial, Helvetica, sans-serif;
background-color: #eee; }
#wrap {
position: relative;
font-size: 1.2em;
width: 700px;
padding: 50px 20px;
margin: 0 auto;
background-color: #fff;
position: relative; }
/* These styles create the dropdown menus. */
#navbar {
position: absolute;
top: 0;
right: 0;
margin: 0;
padding: 0;}
#navbar li {
list-style: none;
float: left; }
#navbar li a {
display: block;
padding: 3px 8px;
text-transform: uppercase;
text-decoration: none;
color: #999;
font-weight: bold; }
#navbar li a:hover {
color: #000; }
#navbar li ul {
display: none; }
#navbar li:hover ul, #navbar li.hover ul {
position: absolute;
display: inline;
top: 0;
/*right: 100%;*/
left: -200%;
width: 100%;
margin: 0;
padding: 0; }
#navbar li:hover li, #navbar li.hover li {
float: left; }
#navbar li:hover li a, #navbar li.hover li a {
color: #000; }
#navbar li li a:hover {
color: #357; }
</style>
<script>
// Javascript originally by Patrick Griffiths and Dan Webb.
// http://htmldog.com/articles/suckerfish/dropdowns/
sfHover = function() {
var sfEls = document.getElementById("navbar").getElementsByTagName("li");
for (var i=0; i<sfEls.length; i++) {
sfEls[i].onmouseover=function() {
this.className+=" hover";
}
sfEls[i].onmouseout=function() {
this.className=this.className.replace(new RegExp(" hover\\b"), "");
}
}
}
if (window.attachEvent) window.attachEvent("onload", sfHover);
</script>
</head>
<body>
<div id="wrap">
<ul id="navbar">
<li><a href="#">Languages</a>
<ul>
<li><a href="#">English</a></li>
<li><a href="#">Español</a></loi>
<li><a href="#">Italiano</a></li>
<li><a href="#">Francaise</a></li>
<li><a href="#">Deutsch</a></li>
<li><a href="#">Russian</a></li>
<li><a href="#">Arabic</a></li>
<li><a href="#">Chino</a></li>
</ul>
</li>
</ul>
</div>
</body>
</html>
So, my question is: why I get the submenu uin vertical position again?