Can my v.13 site be tweeked to work with IE7 w/o upgrade?

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
User avatar
duplay
Power Poster
Power Poster
Posts: 289
Joined: Tue Mar 14, 2006 1:57 pm

Can my v.13 site be tweeked to work with IE7 w/o upgrade?

Post by duplay »

I have my CMS site up and working and the upgrade never seems to work for me, so dies anyone have a tweak to get my vertical menu's to work with IE7? CSS Vert menu-highlight a link, menu opens to right, but when curser moves to right, the menu disappears?


Any help?

http://pages.sparcc.org/sparcc


Thanks,

MJD
amygdela

Re: Can my v.13 site be tweeked to work with IE7 w/o upgrade?

Post by amygdela »

updating fails? Do you get errors?
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Can my v.13 site be tweeked to work with IE7 w/o upgrade?

Post by Dr.CSS »

Have you tried changing this...





to...



Greg
Power Poster
Power Poster
Posts: 598
Joined: Sun Sep 26, 2004 6:15 pm

Re: Can my v.13 site be tweeked to work with IE7 w/o upgrade?

Post by Greg »

Mark that will  Confuse :hover in IE 7 and cause the menu links to shift when there is a sub-menu.

Try this CSS for your CSSMenu (Change the colours and widths to your liking):

Code: Select all

/* Vertical menu for the CMS CSS Menu Module */
/* by Alexander Endresen */
/* The wrapper determines the width of the menu elements */
#primary-nav, 
#primary-nav ul { 
width: 170px;
margin: 0;
padding: 0;
margin-left: -1px;
list-style: none;
}
#primary-nav ul { 
position: absolute; 
top: 0; 
left: 100%;
}
#primary-nav li { 
margin-bottom: -1px; 
position: relative;
width: 170px; 
}
/* Styling the basic appearance of the menu elements */
#primary-nav a { 
display: block; 
margin: 0px; 
padding: 5px 10px; 
text-decoration: none;
border: 1px solid #c44;
color: #18507C;
}
#primary-nav li, 
#primary-nav li.menuparent { 
background-color: #fff; 
}
/* Styling the basic apperance of the active page elements (shows what page in the menu is being displayed) */
#primary-nav li.menuactive { 
background-color: #B23838;
}
#primary-nav li a.menuactive, 
#primary-nav li.menuactive visited {
color: #fff; 
font-weight: bold;
}
/* Styling the basic apperance of the menuparents - here styled the same on hover (fixes IE bug) */
#primary-nav li.menuparent, 
#primary-nav li.menuparent:hover, 
#primary-nav li.menuparenth { 
background-image: url(modules/MenuManager/images/arrow.gif);
background-position: center right; 
background-repeat: no-repeat; 
}
/* Styling the apperance of menu items on hover */
#primary-nav li:hover, 
#primary-nav li.menuh, 
#primary-nav li.menuparenth, 
#primary-nav li.menuactiveh { 
background-color: #EDCA49;
}
/* The magic - set to work for up to a 3 level menu, but can be increased unlimited */
#primary-nav ul, 
#primary-nav li:hover ul, 
#primary-nav li:hover ul ul, 
#primary-nav li.menuparenth ul, 
#primary-nav li.menuparenth ul ul { 
display: none; 
}
#primary-nav li:hover ul, 
#primary-nav ul li:hover ul, 
#primary-nav ul ul li:hover ul, 
#primary-nav li.menuparenth ul, 
#primary-nav ul li.menuparenth ul, 
#primary-nav ul ul li.menuparenth ul { 
display: block; 
}
/* IE Hack, will cause the css to not validate */
#primary-nav li, 
#primary-nav li.menuparenth { 
_float: left; 
_height: 1%;
min-height:0; 
}
#primary-nav li a { 
_height: 1%;
min-height:0; 
}
#primary-nav li li a {
width: 180px;
}
#primary-nav li li {
width: 202px; 
z-index: 20;
}
Greg
Post Reply

Return to “Layout and Design (CSS & HTML)”