Prev: Hover effect on <li> will not effect if hovering an <a> insidein Firefox
Next: Three-column layout problem
From: Beauregard T. Shagnasty on 8 Jul 2010 20:58 benjamin.schneider.de(a)googlemail.com wrote: > I got a list item <li> that has an hover effect. In this <li> there is > a link <a> with some text in it. I must mention that your little menu across the top ( ) is malformed. You have your <a>'s outside the <li>'s. An <li> is the only permitted child of a <ul>. Partial quote: <ul id="productSelectionUL"> <a href="http://wearcologne.spreadshirt.de/maenner-D1" target="spreadshop"> <li>M�nner</li> </a> <a href="http://wearcologne.spreadshirt.de/frauen-D3" target="spreadshop"> <li>Frauen</li> </a> [more...] -- -bts -Four wheels carry the body; two wheels move the soul
From: David Stone on 9 Jul 2010 10:18
In article <i15ou4$vha$1(a)news.eternal-september.org>, Mike S <mscir(a)yahoo.com> wrote: > On 7/8/2010 2:40 PM, benjamin.schneider.de(a)googlemail.com wrote: > > Hi, > > > > I got a list item<li> that has an hover effect. In this<li> there is > > a link<a> with some text in it. If i hover just the<li> w/o touching > > the link text the hover effect comes in. But it does not, if I hover > > the link text. > > > > It works as intended in Chrome, Opera and Internet Explorer but not in > > Firefox. > > > > Can somebody help me out there? > > You can find the mentioned scenario online on: > > http://www.wearcologne.de > > > > And the list items you can find on the left. > > > > Caution: Page is in german :P [snip] > > Where did you get the javascript that handles the menu? > If you add an alert to the end of each function you can see there's a > lot going on, it seems like overkill for such a simple menu. > Can I ask why you decided to go with that approach instead of using a > simple html menu menu styled with CSS, with no javascript? > And what does your page do in browser that do not have javascript enabled? Menus? What menus? ;) (Running NoScript here...) |