I have three conditional statements, one is <!–[if lte IE 8]> (this one is working), the others are <!–[if IE 7]>, and <!–[if IE 8]>. I placed a display:none on the body tag in both the IE7 and IE8 stylesheets and nothing happens? What am I doing wrong?
Here is a link. I only have this code on the index page for right now.
This morning I banged my head against the screen trying to understand why I couldn’t get any experimental code to work for two hours. After which I finally realized I was edited a different file locally than the one I was FTPing. Once I realized I had to spend the next hour retrying all the ways I thought were a bust.
Doh!
That’s happened to me quite a few times, too, especially when working with a bunch of files all called “index”.
I was quite happy when DreamWeaver started displaying the path of the file you’re editing, saved me quite a lot of head banging.