So You Want to Support Safari But You Don't Have a Mac.... Use Linux!
I redid the user interface for the Feedster Preferences page yesterday (no its not live yet) and all of a sudden Francois said something like "Dude. What are you thinking ????". Now I was testing it on Firebird and IE and all was happy DIV Goodness. But on Safari it was DIV Hell. So I tried it in Konquerer under Linux and got EXACTLY the same error.
How'd I solve it? I cheated. I put a Smarty if statement around the DIV tags that made it work i.e.
{if $browser eq "safari"} HTML JUNK TO MAKE IT LOOK RIGHT (it breaks my blog template) {/if}
For some reason that makes the DIV stuff work on Safari. No clue why. And the thought of manually counting DIV tags to make sure they are all balanced makes my skin crawl. So I'm back to browser specific hard coding. This looked perfect on IE PC / IE Mac / Mozilla Mac / Firebird Linux / Firebird PC but not on Safari and Konquerer (Safari uses the Konquerer rendering engine). So all I can say is:
THANK YOU SO MUCH APPLE FOR NOT USING THE GECKO RENDERING ENGINE
But it does say a lot though about how Apple has come back that I took the time to make it work on Safari, doesn't it?
4:23:06 PM Google It!
|