Hey guys. I made a really silly mistake. I built a site around a theme I downloaded for Wordpress, but I didn't even think to check it on IE7. Usually those themes work on IE. I did minor edits to the theme, but did not touch the navigation in way because I liked it how it was.
I check it on a PC today though, and the menu is all out of whack in IE7. Each type is in a different vertical position, making the menu look like a set of stairs.
I don't know what code I need to post to get advice, so I am going to start by just posting the style sheet for the theme. Can anyone see anything in this that would be causing what I am seeing?
My site is here http://www.ic-designs.ca the wordpress directory though is http://www.ic-designs.ca/wordpress . I have it's index page set as my home page on my server though.
Here is the CSS:
If there is anything else I need to post to help, please let me know.
Thanks a ton.
I check it on a PC today though, and the menu is all out of whack in IE7. Each type is in a different vertical position, making the menu look like a set of stairs.
I don't know what code I need to post to get advice, so I am going to start by just posting the style sheet for the theme. Can anyone see anything in this that would be causing what I am seeing?
My site is here http://www.ic-designs.ca the wordpress directory though is http://www.ic-designs.ca/wordpress . I have it's index page set as my home page on my server though.
Here is the CSS:
Code:
/*
Theme Name: Businesslite
Theme URI: http://www.freewordpresslayouts.com
Description: Get More Free Wordpress Themes By Visiting <a href="http://www.amazingwordpressthemes.com">Free Wordpress Themes</a>
Version: 1.0
Author: Makequick
Author URI: http://www.makequick.com
*/
/* standard elements */
html {min-height: 100%;}
* {
margin: 0;
padding: 0;
}
a {color: #963; border: none;}
a:hover {color: #C60; border: none;}
body {
background: #333333 url('img/newbg.gif') repeat-x;
color: #333333;
font: normal 62.5% Tahoma, sans-serif
}
p,code,ul {padding-bottom: 10px;}
li {list-style: none;}
h1 {
font-style: italic;
font-family: serif;
color: #996633;
font: 1.6em;
margin-bottom: 8px;
}
h2 { font-style: italic; color: #996633; margin-bottom: 10px; margin-top: 10px; font: 1.5em serif;}
h3 { font-style: italic; color: #996633; margin-bottom: 10px; margin-top: 10px; font-variant: normal; font: 1.4em serif;}
code {
background: #FFF;
border: 1px solid #EEE;
border-left: 6px solid #C1CAD3;
color: #666;
display: block;
font: normal 1em Tahoma,sans-serif;
line-height: 1.6em;
margin: 4px 0 12px;
padding: 8px 10px;
white-space: pre;
}
blockquote {
background: url('img/quote.gif') no-repeat;
display: block;
font: bold 0.9em Verdana,sans-serif;
padding-left: 20px
}
big {font-size: 1.1em;}
h1, h2, h3 {font-family: serif; margin-left: 10px; margin-bottom: 10px; padding-top: 6px;}
label {
display: block;
font-size: 0.9em;
}
/* misc */
.clearer {clear: both;}
.left {float: left;}
.right {float: right;}
/* structure */
.container {
background: #FFF;
font-size: 1.2em;
margin: 0 auto;
padding: 0 10px 0px;
width: 780px;
border-bottom: 4px solid #FFFFFF;
}
/* header */
.top {
padding-left:10px; padding-right:10px; padding-top:10px; padding-bottom:0
}
/* title */
.header {
background: #FFF;
font-size: 1.2em;
height: 150px;
margin: 0 auto;
padding: 10px 10px 5px;
width: 780px;
}
.header .left, .header .right {
background: #A4A4A0;
color: #FFF;
height: 150px;
}
.logo {
margin-left: auto;
margin-right: auto;
width: 770px;
padding-left: 50px;
font: normal 2.8em "Trebuchet MS",sans-serif;
margin-top: 20px;
background-image: url('img/logo.png');
background-repeat: no-repeat;
background-position: left;
}
.logo a {
color: #D9D7CA;
text-decoration: none;
}
.logo a:hover {
color: #D9D7CA;
text-decoration: none;
}
.logo a:visisted {
color: #D9D7CA;
text-decoration: none;
}
.header .left {
background: url('img/header2.gif') no-repeat;
text-align: center;
width: 780px;
font: normal 2.8em "Trebuchet MS",sans-serif;
line-height: 150px;
}
.header .right p, .header .right h2 {padding: 0 16px;}
.header .right h2 {padding-top: 16px; font: normal 1.6em "Trebuchet MS",sans-serif;}
/* navigation */
.navigation {
border: 1px solid #000000;
border-color: #000000;
background:#000000 url('img/nav.gif');
height: 41px;
margin: 0px;
paddin-top: 0px;
}
.navigation a {
background: #000000 url('img/nav.gif');
border-right: 1px solid #000000;
color: #FFFFFF;
display: block;
float: left;
text-decoration: none;
font: bold 1em sans-serif;
line-height: 41px;
padding: 0 20px;
padding-top: 0px;
}
.floater {
margin-left: -66px;
background: url('img/floaterbg.gif');
background-repeat: no-repeat;
background-position: left;
height: 70px;
padding-left: 15px;
padding-top: 5px;
}
.navigation a:hover {background-position: left bottom; color: #DAD8CC;}
/* main */
.main {
border-top: 4px solid #FFF;
background: url('img/bgmain.gif') repeat-y;
}
/* sub navigation */
.sidenav {
float: right;
width: 210px;
}
.sidenav h2 {
color: #5A5A43;
font: bold 1em Tahoma,sans-serif;
line-height: 25px;
padding-left: 12px;
display: block;
background-image: url('img/h2bg.gif');
background-repeat: no-repeat;
padding-top: 0px;
margin-top: 8px;
margin-bottom: 8px;
}
.sidenav ul {
padding: 0;
border-top: 1px solid #EAEADA;
}
.sidenav li {border-bottom: 1px solid #EAEADA;}
.sidenav li a {
font-size: 1.1em;
color: #554;
display: block;
padding: 8px 0 8px 5%;
text-decoration: none;
width: 95%;
}
.sidenav li a:hover {
background: #F0F0EB url('img/sidebarnavbg.gif');
color: #654;
}
/* content */
.content {
padding-left: 16px;
padding-bottom: 0;
padding-right: 16px;
padding-top: 0;
float: left;
margin: 10px 0;
width: 531px;
}
.content .descr {
color: #664;
font-size: 0.9em;
margin-bottom: 6px;
}
.content li {
background: url('img/li.gif') no-repeat 0 30%;
padding: 1px 0 1px 16px;
}
.content p {font-family: "Lucida Sans Unicode",sans-serif;}
/* footer */
.footer {
background: #333333;
color: #FFF;
font: bold 1em sans-serif;
padding: 0 16px;
line-height: 39px;
height: 39px;
margin-bottom: 10px;
}
.footer a, .footer a:hover {color: #FFF;}
/* posts */
.post h1 a {text-decoration:none;}
.post h1 a:hover {text-decoration:underline;}
.post {margin: 6px 0 2px;}
.post .info{
padding: 5px 10px;
border: 1px solid #E3E4E4;
background:#F5F5F5;
color: #555;
margin: 2px 0 4px;
}
.post img {border: 4px solid #DDD; margin: 4px 0;}
.post a img {border: none}
.post a:hover img {border-color: #CCC;}
.info a {text-decoration: none;}
.info a:hover {text-decoration: underline;}
/* comments */
.content ol li {list-style: none; background: none;}
#commentlist li {
margin-bottom: 1.5em;
padding-bottom: 1em;
border-bottom: 1px solid #700000;
list-style: none;
}
#commentform {
margin: 1em 0;
background: #FAFAFA;
width: 280px;
}
.commentmetadata {padding: 2px 0 4px;}
.commentmetadata a {color: #664;}
textarea.styled {width: 280px;}
.styled {
font-size: 1.1em;
background: #F8F7F6;
border: 1px solid #D6D3D3;
}
.styled:hover {
background: #FFF;
border: 1px solid #D6D3D3;
}
.styled:focus {
background: #FFF;
border: 1px solid #939793;
}
#commentform input {margin-bottom: 3px;}
a img {border:none;}
/* calendar */
#wp-calendar {color:#A0A0A0;}
.sidenav table caption {border-bottom-color:#000;}
.sidenav table thead tr {
border-bottom-color:#000;
color:#A53512;
}
.sidenav table th {border-bottom-color:#000;}
.sidenav table td#today {
border-color:#000;
color:#A53512;
}
.sidenav table td a {
border-bottom-color:#000;
background-color:#EDF3DE;
}
.sidenav table tfoot {border-top-color:#000;}
.sidenav table tfoot a {background:none;}
/* calendar
--------------------------------------------------*/
#wp-calendar {
display:inline-table;
border-collapse:collapse;
width:185px;
margin:0px 10px 0 10px;
text-align:center;
}
.sidenav table caption {
margin: -5px 10px 0 10px;
padding-bottom: 5px;
border-bottom: 1px solid;
letter-spacing: 0.1em;
}
.sidenav table thead tr {border-bottom:1px solid;}
.sidenav table th {border-bottom:1px solid;}
.sidenav table td {
width: 225px; /* maximaize width; honestly, I don't know much about tables... */
padding: 1px;
font-size: 0.9em;
}
.sidenav table td#today {
padding: 0;
border: 1px solid;
font-size: 1em;
font-weight: bold;
}
.sidenav table td a {
display: block;
border-bottom: 1px solid;
font-weight: bold;
font-size: 1.15em;
}
.sidenav table tfoot {border-top:1px solid;}
.sidenav table tfoot a {
border: none;
font-weight: bold;
}
.sidenav table tfoot #prev a {text-align:left;}
.sidenav table tfoot #next a {text-align:center;}
#searchform {padding:10px;}
If there is anything else I need to post to help, please let me know.
Thanks a ton.