Problems with menu on IE 7.0
-
I have a site https://www.purelymancity.com/ which was designed on WP 1.5.1.3 last year.
On IE 7.0 the menu bar displays vertically and blocks out half the page.
This is a section of the code from layout.css in Themes that seems connected to the problem:
/* navigation
————————————————–*/
#navigation {
height:2.7em;
line-height:2.7em;
position: relative;
margin:0em auto;
z-index:20;
}
#navwrap {
display:table; /* ignored by IE */
padding:0;
list-style-type:none;
white-space:nowrap; /* keep text on one line */
}* html #navwrap {
display:inline-block; /* for IE only */
width:1px; /* IE will expand to fit navigation width */
padding:0 2px; /* fix bug in IE for border spacing */
}
#navwrap li {
display:table-cell; /* ignored by IE */
}
* html #navwrap li {
display:inline; /* for IE only */
}
#navwrap a, #navwrap a:visited {
display:block; /* for all browsers except IE */
padding:0 .7em;
font-size:0.8em;
text-transform:uppercase;
border-right:1px solid #ffffff; /* add a 1px white border to the right of items */
text-decoration:none;
margin-bottom: -1px;
}
* html #navwrap a, * html #navwrap a:visited {
display:inline-block; /* for IE only */
margin:0 -2px; /* to correct an IE border width bug */
}.lefted {margin:0 auto 0 0;}
.centered {margin:0 auto;}
.righted {margin:0 0 0 auto;}}
* html #navigation a {width:1%;} /* see https://www.positioniseverything.net/explorer/escape-floats.html */
#navwrap {
text-align: center;
margin: 0em auto;
/*width:800px;
border-left: 1px solid #ffffff;
padding-left:20px;the above pseudo centers the nav. not really cause the width is inaccurate*/
}
The site was designed for me, and I’m still picking up the basics of WP, so any suggestions would be greatly appreciated.
- The topic ‘Problems with menu on IE 7.0’ is closed to new replies.