Browsing All posts tagged under »CSS«

The HTML class attribute: for styling purposes only?

August 2, 2011


Introduction Early specifications The www-style mailing list Later specifications Pulling it all together Conclusion Side note Introduction Cascading Style Sheets (CSS) has the HyperText Markup Language (HTML) language specific class selector. The CSS rule below applies to an HTML element which has a class attribute with the value name: *.name { color: gray; } Without […]

HTML5 Microdata and CSS

July 26, 2011


If you add both classes and microdata to your elements you may end up with duplicate metadata. To avoid this remove the classes and use the microdata in your CSS selectors.

Some floating issues

August 18, 2007


I have written an article that shed light on some floating issues. Take a look if it interests you.