If your website is rendered wrong in IE8, you can force it to render in IE7 compatibility mode.
Use a simple meta tag:
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
Do you remember BTL? Beyond The Limitz? No? Too bad. – Oh, and I don't tweet.
If your website is rendered wrong in IE8, you can force it to render in IE7 compatibility mode.
Use a simple meta tag:
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
I stumbled on that by accident. One of my javascript-variables was called orientation and was not correctly used on the iPad’s Safari.
After looking at its content, I found out that you can detect the device orientation. I knew you can handle many cool things on the iOS, like swipes in javascript, but this one was new to me.
So, what are you going to do with this? It’s obvious: Style your website or re-order your content to match exactly your iPad’s orientation ;-)
You can use javascript in an event handler, loop, or whatever by accessing window.orientation (or only orientation).
Here’s an example on how to detect the current orientation of the iPad device either by pressing a button or when the orientation changes, using an event called onOrientationChange:
You can also use CSS Stylesheets using the media definition:
The detection is not restricted to the iPad, it should work on all iOS devices.
Did you know that WordPress supports a strike-option for text when writing text? (this line that “strikes” thru the text, like this)
Default option in the editor, but somehow not shown in the posts. What the heck? I’ve just tried the first option in this new install and ran into some bug! I hope this is not what I should expect …
My workaround:
Switch to HTML Mode and add the <strike> </strike> tags myself before and after the text.
Still not the first bug I was expecting to run into.