Horrific Renderings In Firefox and IE

|

So much for thinking I'd finished with the design of this weblog. I got an e-mail yesterday saying I had a couple of errors that were causing strange effects on the web page. I got an error when I checked the validity about the voting. I had to take out some of the code from the include file, (namely headers, html, and body tags), and that got it valid and working fine.

My contact form wasn't working properly either, so a quick fix there got it working too. I even customised the templates for the replies, and jazzed up the thankyou page.

Then I got another e-mail: this time the page was doing strange things when viewed in Firefox. I admit I did all my testing on IE, and hoped for the best with the rest, thinking that because the pages were valid it would render properly in all browsers. Big mistake there.

I knew the random pictures weren't valid. The code used an iframe that called for an onload event which is not supported. So I scrapped the code and went back to the random photo code, where you can't click on the picture to take you to the bigger one. Guess viewers will have to find the one of interest in the gallery.

The second problem had to do with the news ticker running across the top, it was flickering annoyingly, so I moved it back to the footer, where it can't annoy anyone and still be there for me to use.

After I had the pages looking beautifully in Firefox and in IE, I checked how the gallery looked and it's perfect when viewed in Firefox, but the header is all out of whack in IE. I'm nearly ready to pull my hair out. I need an announcement: Best Viewed In Firefox! I'm almost sure there's a way to stipulate different stylesheets for different browsers, some sort of browser sniffer javascript. Looks like another internet search coming up.

My thanks to Michael at Movable Type Weblog for pointing out all the discrepencies.

Twitter Updates

Subscribe

Enter your Email


Preview | Powered by FeedBlitz

Archives

Powered by Movable Type 4.23-en

Random Pix

Random Quote

Dhammapada

"Health is the greatest possession. Contentment is the greatest treasure. Confidence is the greatest friend. Non-being is the greatest joy."

:: (300BC) Buddhist Collection of Moral Aphorism

Recent Comments