Posted July 25, 2011 in CSS tips & trick, Mobile Web App, Web Design and Trends
Introduction When developing for the iPhone, iPad, iPod Touch and other mobile devices, the first thing we have to do is obviously detect it, so we can apply specific code or styles to it. The following code snippets will detect [...]
Posted April 1, 2009 in CSS tips & trick
If you use width or height tags to resize images in your markup, IE will ensure they look incredibly awful unless you use this little snippet. In general, resizing images in the browser isn’t recommended, but of course there are [...]
Posted January 26, 2009 in CSS tips & trick
Normally in CSS whichever rule is specified last takes precedence. However if you use !important after a command then this CSS command will take precedence regardless of what appears after it. This is true for all browsers except IE. An [...]
Posted January 24, 2009 in CSS tips & trick
Usually attributes are assigned just one class, but this doesn’t mean that that’s all you’re allowed. In reality, you can assign as many classes as you like! For example: <p class=”text side”> Some Text </p> Using these two classes together [...]
Posted October 24, 2008 in CSS tips & trick, Web Design and Trends
It is often nice to have your webpage span the full height of the window even if you only have a small amount of content displaying at the top.