![]() Equipping You to Communicate Effectively | support CMN & share a library of 19K+ images, videos, etc Go Pro! |
![]() | ![]() |
| |||||||
| Website Coding Discussions PHP, MySQL, Java, Javascript, ASP, etc. |
![]() |
| | Thread Tools | Search this Thread | Rate Thread | Display Modes |
| ||||
| Hi all, I'm new around here. I found this site when I had some sound questions (ended up figuring it out on my own - well, a certain Big Guy threw some ideas my way). I have a question regarding CSS and IE7. I'm working on a prototype of a new design and can't get my main body to display correctly with ie7. Works mostly in 5.5, great in IE6, FF/Safari. Simple page is here (www.resurrection.org/dev/vision.htm). I've done all this by hand, using as much inspiration as I can find in books and other people's sites, but I'm not all that experienced with CSS. I also know I don't have to use the js code for my browser detect (found that out after I had it in place) as ie can read through the comments, but it's there. Maybe I'll clean it up later. I have different CSS for IE6, ff (and everything else compliant), and ie7. Any ideas would be greatly appreciated. Thanks, David Edit - I've attached the troublesome CSS (has to be txt for this site however, so just ignore the txt extension) |
| |||
| That's a seriously generalized statement. Browsers and CSS don't get along in general. You can actually write different CSS for different browsers and versions, then code your page to look for the browser and version and use the appropriate CSS. CMN does this. That's one reason why it's not a good idea to have your proxy tell sites you're using a browser that you aren't. There is code that you can use to tell IE8 to act like IE7. IE6 should be considered obsolete, however. |
| ||||
| IE6 vs CSS Quote:
Here's the idea: body div id="container" div id="header" /div !--header-- div id="contentWrap" div id="nav" /div div id="main" style="text-align:left" /div !-- main -- div id="footer" /div !--footer-- /div !--contentWrap-- /div !--container-- /body In IE6 the div "container" only contains the header. I threw in a border (dashed red) and it's only around the header. Don't know why. http://www.resurrection.org/dev/index.html I'm only working on presentation in IE6, IE7, and FF for now. IE6 is important because a fair amount of our traffic is international, specifically Africa, and people there don't always have the latest and greatest browsers/OS's. (I even look at this w/IE5.5 from Win95 in a virtual machine) Last edited by davidsain; Sunday, April 27th, 2008 at 09:26 PM. Reason: HTML code doesn't post too well |