Why Is Button CSS Style Shown Differes on iPhone Safari Browser?

When testing my new site on iPhone I noticed that my CSS style is different on mobile Safari. I provided styles for buttons, but mobile Safari added some different styles to it. Continue reading

Posted in Mobile Websites | Tagged , , | Leave a comment

CSS: Rotate Element to 45 Degrees Code

Example of Rotated Element

Rotate an Element to 45° with CSS

Here’s the code to rotate HTML element to 45° using CSS. Previous Explorers can rotate elements to 90°, 180°, 270° and 360°, but they can’t rotate to some 45°. However there are special filters to do it. In IE8 trasform origin is different so I also had to fix things related to transfer origin point. Below CSS which is ready to  be used, except IE7 code, which was too ugly, but I’m including this in case you’ll want to use it :)

In IE8 the badge is rotating not from the center like in other browsers, but from the top, so I’m moving it back to top, and then returning it to center in IE9. Continue reading

Posted in CSS CheatSheets | Tagged , , | 2 Comments

Dynamic Web Fonts Not Visible in Firefox under SSL

Under SSL Firefox will not show  custom fonts from your server. It has something to do with cross domain permissions of Firefox. Continue reading

Posted in Browsers Testing | Tagged , , | 2 Comments

CSS Gradients in IE9 on Elements with Rounded Borders

If you want to add some rounded borders to an element, and also to have a gradient on that element, you’ll notice in IE9 that your rounded borders have some background with corners below them. Continue reading

Posted in CSS CheatSheets | Tagged , , | Leave a comment

Mobile Site Slideshows jQuery Plugins

I finally found some slideshows plugins for mobile sites. This are supposed to have touch swipe support. Continue reading

Posted in Mobile Websites | 5 Comments

Newsletter Code and Design Rules to Avoid Multiple Email Clients Problems.

Here’re some simple rules which will make your email newsletter to display well in different mail clients. Continue reading

Posted in Newsletters | Tagged , | Leave a comment