The world of Liam: August 2005

The world of Liam

Er.. Liam practicing his typing in front of a possible audience of a few billion, and a probable audience of significantly less.

Name:
Location: United Kingdom

Saturday, August 20, 2005

At flippin' last..

Hi all,

I finally got the classified ads to size properly, in a flash of (for me anyway) inspiration. I just nested the iframe inside another div, set to 100%.

Bloody marvelous.

This is probably my shortest ever blog.. :)

Cheers

Liam

Tuesday, August 16, 2005

IE, the buggy bugger.. again.

Hi all,

I've finally got the classified ads to work.. I have however found a strange quirk in IE (and Avant, basically a better version of IE). Have a look here.. it only does this in IE (or browsers based on the IE engine).

The link to the classified ads page.

When you first load the page in IE, the iframe that calls the script is about 1000 pixels long and runs out to the right of the content div. If you run the mouse over a link placed directly below the iframe it corrects the sizing. You will see that I've conveniently placed a link just for that job :).. any link does it, as long as it is straight after the iframe is closed. I found this out by accident. Minimizing then maximizing the page does the same thing.

It works fine in FF and Opera, so there is something wrong with IE's parsing somewhere.. no surprise there, but as many people who will be using this page only use IE, it needs sorting out somehow. I've spent several hours over the last couple of days poring over the ent to find a solution, and at some point have probably tried every css variable (local to the iframe) that I can find.

I thought I'd maybe missed a / or > somewhere, but it all validates via w3c, including the css. (Well I did have a couple of bits to tidy up, but doing everything long hand, that's to be expected, and I'm hardly an expert at this now am I) :)

But I can't see what else could cause this.. any ideas?? I did think just to bung the iframe inside a table sized correctly, but the iframe just wanders off to the top left of the page, leaving a blank rectangle where the frame should be??!!

Cheers

Liam

ps. I did start to write my "getting back off hols" post, but fell asleep.. for that you will have to now wait until the weekend, methinks. I've even got a few photos for you, can you believe!!!!