Fixing the div position

HTML, CSS and anything else that deals with client side capabilities.

Moderator: General Moderators

Post Reply
User avatar
krsm1980
Forum Commoner
Posts: 25
Joined: Sat Jan 09, 2010 12:33 am
Location: IN
Contact:

Fixing the div position

Post by krsm1980 »

hello forum,
I am having problem in fixing my <div> position.The div become visible by an event.plz help me .
Regards.
amismart
Forum Newbie
Posts: 2
Joined: Wed Aug 11, 2010 4:54 am

Re: Fixing the div position

Post by amismart »

I think this is the problem of nested divs (there may be better ways to do it, but this method seems to work fine for my purposes), and have sets of divs become visible when their parents are hovered over (using :hover, with a tweak to allow the use of :hover for any tag in IE 6), and kept hidden otherwise; in both Firefox and IE, parent divs that are themselves nested remain visible when the mouse is hovering over their children.

However, while this all works fine in Firefox, it has a problem in IE: when moving the mouse along a set of child divs, :hover seems to be stopped/onmouseout seems to be called when the mouse moves below the bottom of the outermost div.
wangxiaoyu
Forum Newbie
Posts: 4
Joined: Mon Sep 06, 2010 2:16 am

Re: Fixing the div position

Post by wangxiaoyu »

maybe something wrong with you browser. 8O
Post Reply