Skip to main content

Bug Tracker

Side navigation

Ticket #3805: ie8-onmouseover-display-inline-block.html

File ie8-onmouseover-display-inline-block.html, 0.8 KB (added by moronicbajebus, January 07, 2009 04:30PM UTC)

HTML example of bug

<title>Test jQuery and Hover</title>
#area {
	background-color: green;


#trigger {
	background-color: red;
	display: inline-block;
	position: relative;

#display {
	background-color: blue;
	/*display: none;*/ /* <-- Uncomment this to see it magically work. */
	padding: 1em;

<script src="jquery-1.2.6.js"></script>
jQuery( document ).ready( function(){
	var display = document.getElementById( 'display'); = 'none';
	var trigger = document.getElementById( 'trigger' );
	trigger.onmouseover = function(){ = 'block'; };

<div id="area">
	<div id="trigger">

	<div id="display">
		Show me.


Download in other formats:

Original Format