You are here: Re: ul/li menu problem, not stopping onmouseout « HTML « IT news, forums, messages
Re: ul/li menu problem, not stopping onmouseout

Posted by shard on 05/16/06 11:12

Reproduced something similiar, this has a big <ul> covering a number
of <p>s, each
of which has a mouseover. In firefox this works as expected, the
mouseovers don't
fire, in IE the mouseovers do fire.
If I make every <LI> have the same content then this works in IE as
well. The
conclusion would seem to be that although the background-color makes
it appear that all the <li> cover the same width in reality they only
cover up to the end of their
contents (in IE)
What can I do about this?


<body>
<form>

<style>
..TopDiv
{
position: relative;
z-index: 9999;
}

..TopUl
{
position: absolute;
top: -100px;
left: -30px;
z-index: 9999;
}

li
{
position: relative;
left: -20px;
z-index: 9999;
}
</style>

<p> <span onmouseover="alert('hi1')">hi</span>
<p> <span onmouseover="alert('hi2')">hi</span>
<p> <span onmouseover="alert('hi3')">hi</span>

<div class=TopDiv>
<ul class=TopUl>
<li style="background-color: red;"> ----------------------------
<li> ----------------------------
<li style="background-color: red;"> ..
<li> ----------------------------
<li style="background-color: red;"> .
<li> ----------------------------
<li style="background-color: red;"> .
<li> ----------------------------
<li style="background-color: red;"> .
<li> ----------------------------
<li style="background-color: red;"> .
<li> ----------------------------
<li style="background-color: red;"> .
<li> ----------------------------
<li style="background-color: red;"> .
<li> ----------------------------
</ul>
</div>

</form>
</body>

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация