Troubleshooting CSS

A round-up of common CSS problems in order to see how to troubleshoot CSS

CSS is a mess. First introduced in ~1995, it was meant to style basic text documents. Not websites. Not applications. Text documents. It has come a long way since then. Probably a bit too long. A lot of things were not intended in the first place like multi-column layouts, responsive web design and more; this is why it has become a language full of hacks and glitches, like some kind of odd steam machine with a bunch of extensions.

 

On the bright side, this is what makes CSS fun (or kinda)! And this is also why we have jobs. Because Hugo Giraudel is personally convinced that generating efficient, cross-browser and future-proof CSS is not possible and probably won’t be anytime soon.

Among others, he picked some really common yet annoying issues:

  • Float clearing, an old battle
  • How to fight inline-block spacing?
  • Understanding absolute positioning
  • When to set width / height to 100%?
  • How not to screw up z-index?
  • What is margin collapsing?

Lubov Cholakova

Lubov CholakovaLubov has been with DMXzone for 8 years now, contributing to the Content and Sales departments. She is bringing high quality content in the form of daily blog updates, reviews, tutorials, news, newsletters,update emails and extensions' manuals. If you have a product that needs publicity or any other questions about the entire DMXzone community, she is the one you can contact.

See All Postings From Lubov Cholakova >>

Comments

Be the first to write a comment

You must me logged in to write a comment.