jon_lawrance — 2012-07-31T06:25:27-04:00 — #1
On my home page, the gap between posts is larger when viewed with IE9 than with Firefox (see diagram below). Any idea why?
jon_lawrance — 2012-07-31T07:58:51-04:00 — #2
Just to be clear, this shows the excessive gap I am talking about:
ralphm — 2012-07-31T08:31:16-04:00 — #3
The site looks the same in Chrome, Firefox, IE9 and IE8 to me.
IE7 seems to have a gap. Perhaps it's caused by the empty clearing div between each entry. Try removing those and see if that stops the gap.
As an <aside>, it's strange that you've got your main content inside an <aside> element. How did this come about? I know HTML5 is confusing, but I didn't expect to see that.
jon_lawrance — 2012-07-31T08:36:25-04:00 — #4
I am using the Catalyst framework and the posts are inside an Excerpt Widget.
Are you saying you don't see the gap like I do in the pic on the second post I made?
ralphm — 2012-07-31T08:43:12-04:00 — #5
I'm saying I checked your site in IE9 and IE8, and the gap represented in your images wasn't there. Have you refreshed your browser/cleared your cache? Perhaps you're seeing an old version of the site. Anyhow, the gap isn't there in real life ... except in IE7, but that's irrelevant now, I'd say.
paulob — 2012-07-31T09:40:05-04:00 — #6
That image you posted is not IE9 as the box shadow is missing from the image on the left unless you have clicked the compatibility button in error?
The gap is as Ralph suggests formed by the empty clearer div you have in place which these days are unnecessary. Either remove them and just set each block to clear:both (if needed) or if you can't remove them at least set their height to 1px and hide the overflow.
jon_lawrance — 2012-07-31T10:20:45-04:00 — #7
Paul, you solved it for me - big thanks! I knew there was a compatability feature but it never occured to me. It looks like I've been surfing with it constantly switched on. Horrah!!
ralphm — 2012-07-31T10:31:46-04:00 — #8
You surf with IE? :eek:
O well, at least you are in for a pleasant surprise with IE9 (in its proper mode)—which is a big improvement over previous versions of IE.
jon_lawrance — 2012-07-31T10:38:01-04:00 — #9
I use Firefox. But I have IE9 open for some stuff as Firefox doesn't always run some video etc.
ralphm — 2012-07-31T10:43:52-04:00 — #10
Huh, I've never experienced that.