Category Archives: css

Scroll an IFRAME Content to a Predefined Position

IFRAME Source Usually when you use an IFRAME tag to link an external source the page that’s referenced by the SRC attributes is loaded at the top left corner. This is the default behavior, but sometimes you’d like to show … Continue reading

Posted in css, micro tutorial, web development | Tagged , , , , | 7 Comments

More on CSS Optimization

As CSS files are first downloaded to the client and then executed, the main optimization is to make those files smaller. But that doesn’t mean only minifing! The Minification Process While with minification you can strip all the symbols that … Continue reading

Posted in css, micro tutorial | Tagged , , , , , , , , , , , | 1 Comment

Vendor Prefixes in CSS

Vendor Prefixes vs CSS3 Either are bad, because vendor prefixes work on specific browsers, while CSS3 is not implemented fully by those browsers. When talking about vendor prefixes in CSS, let me tell you in breve, what’s this. If you’d … Continue reading

Posted in css | Tagged , , , , , , , | Leave a comment

CSS Priority: The Difference Between a.my-class and .my-class

Do You Know What’s an Inefficient CSS Selector? Perhaps! I was curious how can inefficient selectors impact a page performance. To begin with this topic let me say that inefficient selector is referred usually as nested selector: div span div … Continue reading

Posted in css | Tagged , , , , , | 3 Comments

CSS right to left direction & floating elements

direction:rtl When developing a website for Arabic one of the most common questions is how to get it work with a reverse direction. Actually there is the CSS property direction: .my-class { direction:rtl; } which makes the page right aligned. … Continue reading

Posted in css, micro tutorial | Tagged , , | 1 Comment