Newer
Older
Digital_Repository / Repositories / otago_eprints3 / otago_eprints / cfg / static / style / ie_hacks.css
/*
	Drop-down menu hacks for Internet Explorer. This is include by an IE
	conditional in the main template. Works with IE 7, not sure about 5/6.
*/

/*
	Include behaviour file to enable hover highlighting over anything,
	not just <A>. whatever:hover behaviour file obtained from
	http://www.xs4all.nl/~peterned/csshover.html. This file should
	be in the same directory as this CSS file.
*/
body {
	behavior: url(/style/csshover.htc);
}

/*
	The following two rules fix issues with incorrect whitespace in lists.
*/
#sob_tm_menu_items ul li {
	float: left;
	width: 100%;
}

#sob_tm_menu_items ul li a {
	height: 1%;
} 

/*
	Ensure that sub-menus appear in the correct location relative to the
	top-level menu bar. Setting left to zero seems particularly unnecessary,
	but the sub-menus appear one menu item too far to the right without it.
*/
#sob_tm_menu_items ul ul {
	left: 0;
	top: 20px;
}