Sign in | Join
Last post 07-11-2009 2:53 AM by king stone. 5 replies.
Sort Posts: Oldest to newest Newest to oldest
first i use webmap and passed it to menu control and passed a Css file throgh the "StaticMenuItemStyle" it work nice but
the image applied for "DynamicHoverStyle" not appear absnotly . i get menu like this http://tinypic.com/view.php?pic=124kles&s=3
and class css is :-
.menuHover { display:block; font-family:Arial Sans-Serif; background:#134C8F url('images/hover.png') no-repeat; width: 165px; height: 40px; } .menuHover A:link { background-image: none } .menuHover A:visited { background-image: none; }
It is likely because the url path provided in the CSS file is relative this CSS file.
if you style sheet location is
... dir1/dir2/dir3/MyStyle.css
then the expected image path (as you defined it) is:
... dir1/dir2/dir3/images/hover.png
thanks for replaying . . .
But if the wrong in image path like u say this mean that the first image not appear . i mean that the first image is appeard succssefully but in the "Dynamic hover style "not appear and two image in the same path format .
another thing is that i make the style sheet in private theme folder .
the problem now not in image path but in :-
When i hide the path of menu background the hover image work correct but if i return the background hover image not appear ...
I solve the problem by include Menu in a <Div> and this div has class of menu back ground then make an image with for menu hover style then it work perfect ...