User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1b) Gecko/20020819 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1b) Gecko/20020819 When displaying a set of links as block (a menu), specifying a fixed background image results in a false marging-bottom making the menu move when you move the mouse up and down over the menu (hover). In the example, setting margin-top instead of margin-bottim OR setting margin-bottom to 0px in div.menu a:hover solves this. So, it appears that only margin-bottom is wrong. My guess is that the start of the margin is calculated relative to the margin-bottom of div.menu a -- this would explain why the actual margin sometimes adds up to 10+10 = 20px. Reproducible: Always Steps to Reproduce: 1. Load the example from http://nowonder.de/menubug.html 2. Move the mouse from the top of the menu to the bottom of the menu slowly. 3. Move the mouse back to the top slowly. Actual Results: The menu items "expanded" and "contracted", i.e. the margin changed. Expected Results: The menu should be static. Like the version that uses margin-top instead of margin-bottom at http://nowonder.de
Confirming bug, 2002-08-20-08 trunk Linux.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: margin-bottom wrong when hovering over block with fixed background → [MARGIN-C] margin-bottom wrong when hovering over block with fixed background
This worksforme in a current build... Mats, are you still seeing this?
WORKSFORME, 2003-04-30-22 trunk Linux. 2003-04-29-04 trunk Win98.
Status: NEW → RESOLVED
Last Resolved: 15 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.