chopperwelsh Posted February 2, 2007 Share Posted February 2, 2007 Hello there. My web-site which is powered by wordpress 2.1 works completely fine in firefox and 99% in IE7. The problem is easy to see if you look at the site : www.3gob.co.uk The text that appears in the banner image "3 guys 3 bikes 950 Miles for charity. John o’Groats to Lands End" in firefox seems to jump upto the top of the page in IE7. I know this is only a small problem but it makes the site look untidy. If you could help me that would be great My CSS is below /************* Global *************/ html,body {height:100%} * { margin: 0; padding: 0; } body, input{ font-family: "Trebuchet MS", Verdana, sans-serif; text-align: left; line-height:1.5; } a {text-decoration: none;} blockquote { background: #f7f7f7; padding: 15px; margin: 5px 0; } img { padding: 10px; } .alignleft {text-align:left;} .alignright {text-align:right;} .aligncenter {text-align:center;} /************* Container *************/ #container { height: auto !important; min-height: 100%; padding-bottom: 15px; position: relative; } * html #container { height: 100%; } /************* Header *************/ #headerWrap { height: 59px; } #header { width: inherit; margin: 0 0 0 0; } #header h1 a { font-size: 30px; letter-spacing: -1px; padding-top: 5px; float: left; } ul#navigation li { list-style-type: none; float: right; } ul#navigation li a { padding: 15px 7px 12px; display: block; font-size: 17px; color: #fff; } ul#navigation li a:hover, #footer a:hover { background: #5f6e42; } /************* Content *************/ #content { width: 740px; margin: 7px auto 0; padding-bottom: 25px; background: #fff; border: 1px solid #fff; position: relative; } #content:after { content: "."; display: block; clear: both; height: 0; visibility: hidden } #content a:hover {color: #fff;} /* Header with picture and site description. It uses a hack for vertical-align because IE doesn't work properly with tables */ #contentHeader { margin: 15px auto; width: 740px; height: 182px; position: relative; } #contentHeader[id] { display: table; position: static; } #siteDescription { position: absolute; top: 50%; padding-left: 25px; color: #f7f7f7; } #siteDescription[id] { display: table-cell; vertical-align: middle; position: static; } #siteDescription p { position: relative; top: -50%; } #content h2 {color: #45444D;} #content h2 a { color: black; } #content h2 a:hover { color: black; background: none; } #content ul { padding: 10px 15px 10px 20px; } #content ol { padding: 10px 15px 10px 20px; } .entry, .postmetadata { margin-top: 10px; } /************* Main *************/ #main { margin: 0 15px; width: 430px; float: left; } .post { text-align: justify; } #mainAlone { margin: 15px 15px; } /************* Secondary *************/ #sidebar { width: 220px; margin: 0 15px; float: right; } #sidebar h2 { margin: 20px 0 10px; } #sidebar ul, #sidebar li { list-style: none; padding: 0; } #sidebar ul li ul { padding: 0 0 0 15px; } /************* Search *************/ #searchform input { background: #f7f7f7; font-size: 0.9em; } #searchsubmit { margin-top: 5px; padding: 0 10px; text-align: center; } #searchform fieldset { border: 0; } /************* Footer *************/ #footer { position: relative; clear: both; margin: 0 auto; background: #45444d; width: 740px; color: #fff; border: 1px solid #fff; clear: both; text-align: center; } #footer a { color: #fff; font-weight: bold; } /************* Other *************/ #comments { margin-top: 25px; } #comments ol { padding: 0 0 10px 1.5em; } #comments input { height: 1.3em; } #comment { width: 60%; } input#submit { text-align: center; height: 1.6em; } .page { padding-top: 15px; } #searchform #s { background: #fff; height: 1.2em; width: 120px; } html>body#s { width: 130px; } input#searchsubmit, #searchform div input { background: #fff; height: 1.4em; } input#searchsubmit:hover {color: #fff;} #changer { margin-top: 15px; } #changer img {cursor:pointer;padding:2px;border:1px solid silver;margin-right:3px;} Quote Link to comment https://forums.phpfreaks.com/topic/36721-small-problem-with-ie/ Share on other sites More sharing options...
lando Posted February 2, 2007 Share Posted February 2, 2007 Is there a chance that IE does not like that you have the 'help us' image set as align="right"?? Maybe you could do a float:right instead... Quote Link to comment https://forums.phpfreaks.com/topic/36721-small-problem-with-ie/#findComment-175190 Share on other sites More sharing options...
chopperwelsh Posted February 2, 2007 Author Share Posted February 2, 2007 No i tried that and tried to completely get rid of the "help us" button as well and it hasn't fixed the problem. Ive tried so many things. Quote Link to comment https://forums.phpfreaks.com/topic/36721-small-problem-with-ie/#findComment-175348 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.