You are here: events dropping through LI, attempt 2 « HTML « IT news, forums, messages
events dropping through LI, attempt 2

Posted by shard on 05/16/06 16:31

Hi
Just in case the spamming stopped anyone looking at the last thread:

We have 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?

(I did try setting the background-color to #ffffff but that didn't seem
to have any effect to
me)

<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

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