By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,648 Members | 1,198 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,648 IT Pros & Developers. It's quick & easy.

i have a problem with css and netscape

P: 2
please help me as i have to done my graduation project quickly.

the problem that when i put any style with left or bottom command in px the netscape 7.2 can't make this shift in the position so my menus can't appear correctly.

thank u in advance.
Mar 7 '07 #1
Share this Question
Share on Google+
3 Replies


Expert 100+
P: 1,892
please help me as i have to done my graduation project quickly.

the problem that when i put any style with left or bottom command in px the netscape 7.2 can't make this shift in the position so my menus can't appear correctly.

thank u in advance.
Post your code.
Mar 8 '07 #2

P: 2
Post your code.
it is my code bue the menus names have no meaning as it is only a test code

<html>
<head>
<style>
body{font-family:arial;}

a{color:black;text-decoration:none;font:bold}
a:hover{color:green}
ul.menu
{
font-size:100%;
position:absolute;
visibility:hidden;
}
ul#tutorials
{ position:relative;
left:100 px;
top:-40 px;

}
ul#validation
{ position:relative;
left:100 px;
top:-40 px;
}
li.second
{
position:relative;
top:-140 px;
}


</style>
<script type="text/javascript">
function showmenu(elmnt)
{
document.getElementById(elmnt).style.visibility="v isible"
}
function hidemenu(elmnt)
{
document.getElementById(elmnt).style.visibility="h idden"
}
</script>
</head>

<body>
<h3></h3>

<ul>
<li onmouseover="showmenu('tutorials') ;hidemenu('validation')" class="first">
<a href="/default.asp">Tutorials</a><br></li>
<ul id="tutorials" >
<li ><a href="/html/default.asp" id="bo">HTML</a></li>
<li><a href="/xhtml/default.asp">XHTML</a></li>
<li ><a href="/css/default.asp">CSS</a></li>
<li ><a href="/xml/default.asp">XML</a></li>
<li><a href="/xsl/default.asp">XSL</a></li>
</ul>
</ul>

<ul>
<li onmouseover="showmenu('validation');hidemenu('tuto rials')" class="second">
<a href="/default.asp">validation</a><br></li>
<ul class="menu" id="validation" >
<li ><a href="/html/default.asp">css</a></li>
<li ><a href="/xhtml/default.asp">bonita</a></li>
<li ><a href="/css/default.asp">lkoigd</a></li>
<li ><a href="/xml/default.asp">rfgf</a></li>
<li ><a href="/xsl/default.asp">frg</a></li>
</ul>
</ul>


<p></p>

</body>

</html>

-----------------------------------------------------------------------------------------------------------
and thank u very much for ur co-operation
Mar 9 '07 #3

drhowarddrfine
Expert 5K+
P: 7,435
Validate your html and css for your list of errors.
Are you saying it works in other browsers?
Mar 10 '07 #4

Post your reply

Sign in to post your reply or Sign up for a free account.