lesley Posted September 16, 2010 Report Share Posted September 16, 2010 Hello, I am needing some help with CSS. I have built a site that works in all browsers, except when i click on compatibility view in IE. The menu on the left is offset and the search bar on the right is too low. Also the list items in the content area are very close the the text. Here is a link: http://ticau.com/pages/nursing.php Does anyone have any suggestions? Thanks, Lesley Quote Link to comment Share on other sites More sharing options...
newseed Posted September 16, 2010 Report Share Posted September 16, 2010 Looks like you have some IE conditional comments between the <head> </head> tags. #items ol { font-size: 13px; line-height: 32px; list-style-type: none; margin-left: -30px; } Adjust the margin-left: -30px to be 0. For the content area, adjust the following in red in your main.css: .schoolul { margin: 0px; padding: 2px 0px 0px 0px; /* change it to 30px */ list-style-position: inside; /* change it to outside */ list-style-image: url('http://ticau.com/images/ul.jpg'); } Quote Link to comment Share on other sites More sharing options...
lesley Posted September 16, 2010 Author Report Share Posted September 16, 2010 thank your for the reply! That really helped me out. I am still strugging with the search field on the right, it is sitting too low. Quote Link to comment Share on other sites More sharing options...
MaryD Posted September 28, 2010 Report Share Posted September 28, 2010 for compatibility of your sites with ie 6, 7, 8, and 9, you will need to add this code in the head section of your page. We strongly recommend feature and behavior detection rather than Conditional Comments, an IE specific feature that other browser vendors have chosen to not implement. Conditional comments will not work across browsers and are not “same markup.” it’s ok to use Conditional Comments to conditionally load CSS that targets IE6 or IE7. <html> <head> <meta http-equiv="X-UA-Compatible" content="IE=6; IE=7; IE=8; IE=9"> </head> <body> </body> </html> Quote Link to comment 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.
Note: Your post will require moderator approval before it will be visible.