Blog Archives

iPad textarea not selectable

Problem The textarea on iPad could not be selected and could not have anything entered. Solution The textarea in iPad only responds to the ‘touchstart’ event and not the ‘click’ event, but regular input accepts the ‘click’ apparently.  I some javascript where it would catch

Posted in Coding Tagged with: , ,

What keyboard does an HTML input bring up?

I was having trouble figuring out what input type brings up what keyboard on the iPhone and iPad.  Turns out the number type doesn’t bring up the numeric pad.  Only “tel” does. This is a great article on what input

Posted in Coding Tagged with: , , , ,

CSS iOS div lines disappear on zoom in

Problem In iOS devices sometimes safari can display an annoying line above and below div elements.  Like so:   Solution The solution is quite hacky and hopefully this is a bug in Safari and it gets fixed soon.  The solution is

Posted in Coding Tagged with: , ,

Styling for Mobile Web

Developing for IE, Firefox, Safari, and Chrome is a pain!  But now we have mobile devices like the iPhone and iPad.  This website demonstrates a nice way to handle these: http://www.danstorm.com/dan-storm-article-css-15.html

Posted in Coding Tagged with: , ,