I’ve just realized that all my hotel pages that work fine in all browsers, do not work in IE8 and are in a mess. On first sight it has an easy solution through a html conditional, but I’ve tried reducing the size of the .box; max-width, overflow:hidden a few more and can’t make it work.
if you try this on any nodern browser the 4 images appear 2x2. In IE8 the first line has 3 images, one being outside the box and all the rest of the page is chaotic.
Incidentally, if you copy the url of the pop-up (which is not a pop-up) and paste it on the address bar that part of the page appears now with sidebars.
But my problem seems to be in the pop-up accessed from the main page.
The problem is that you set the max-width 650px on .box inside of a media query which IE8 doesn’t recognize.
As a result, the 800 some pixel width is being applied (set in another part of your CSS) and is pushing the responsive container outwards and making 3 boxes line up (more room = 3 can now fit on the line). The max width isn’t being recognized so it’s not being contained anymore to within the 650px max width.
So you need to (outside of your media query) set your max-width:650px on .box
You can’t have an HTML conditional inside of a CSS file. But you can write the CSS inside of your CSS file that is being called from your conditional comment (I think you had one? Unless I’m going crazy.)
Doesn’t matter where you have it.
Ideally you have the same CSS file across all pages - the whole point of doing external files is so you can throw that onto all pages and if you need a change, everythings updated .
It starts working on max-width:640px; with lost so empty space between. I reduced it gradually and it broke again on 580px, So, I put it on 590px, where it looks reasonable.
Anything against that?
Now, I’m gtrying to decypher your last message.
How am I going to that in the stylesheet to target only IE8?
A FEW MINUTES LATER…
It works for the HIlton, but not for the others, back to the drawing board?
Forget it! Of course, it doesn’t I haven’t altered the others…