Category Archives: CSS

Test position fixed for iPhone

Testing position fixed for iphone can be a problem. If created the following script to test for position fixed. It seams to work, but please provide feedback in the comments. var IOS_FIXED_POSITION; window.onload = function () { if (typeof document.body.scrollIntoViewIfNeeded … Continue reading

Posted in CSS, Javascript | Leave a comment

Jagged fonts with css font-face in Firefox

Some fonts in Firefox for Windows have jagged edges with cleartype turned on. This is a result of poor hinting. The problem cannot be fixed by other than Mozilla, but we can improve the result a bit with svg-filters. <!DOCTYPE … Continue reading

Posted in CSS | 2 Comments

Webkit phantom float bug

I recently found a strange webkit bug when I used a negative top margin to position a floated element. I float an element to the left and gives the outer wrapper element a top margin of ex. 100px. Then I … Continue reading

Posted in CSS | Leave a comment

Silverlight css3 transform bug

Strange bug with Silverlight. I have created a slideshow using the css transform property and translateX to move between the content items. If Silverlight is initialised without windowless = true, it disappears. To show Silverlight after applying a css transform … Continue reading

Posted in CSS | Leave a comment

Real cross browser box-shadow

If you want more css functionality, ccs3Pie gives you all the functionality you need. If you only need box-shadows – read on. This method is easier than css3Pie, since it doesn’t use VML. Internet Explorer versions below version 9 doesn’t … Continue reading

Posted in CSS, IE Behaviours, Javascript | Leave a comment