☞ Go to content.

☞ Go to right subnavigation.

Things They Never Tell You In Css School

The best thing about css is its ability to leave your head numb and your knuckles aching from whacking your monitor in the eye.

Things I should Do Instead

Image of post it note with to do list
  • Learn to write PHP that does not return errors.
  • Sleep more.
  • Things that don't require me to sit at a computer.
  • Use tables.
  • Preach about “Semantics” like everyone else around here.
  • Use tables when a DIV doesn't cut the mustard.

CSS: stuff nightmares are made of

#rightcol { 
position:relative;
vertical-align:top; 
width: 18%;
margin-left: 3.6%; 
display: inline-block; 
padding-left:2em; 
text-align:left;
}

Here's some wise advise.

“Oh, what a tangled website we weave when first we practice.”

Welcome

CSS specifies a priority scheme to determine which style rules apply if more than one rule matches against a particular element. In this so-called cascade (hence Cascading Style Sheets), priorities or weights are calculated and assigned to rules, so that the results are predictable.

The CSS specifications are maintained by the World Wide Web Consortium (W3C) ➚.

Disadvantages of using "pure" CSS

Although CSS has some problems like e.g. margin-collapsing, float containment ..., one of the major disadvantages is the fact that browser support is inconsistent . Different browsers will render a CSS layout differently as a result of browser bugs or lack of support for CSS features. Notorious is Microsoft Internet Explorer, whose older versions, such as IE 6.0, implemented many CSS 2.0 properties in its own, incompatible way, misinterpreted a significant number of important properties, such as width, height, and float. Numerous so-called CSS "hacks" must be implemented to achieve consistent layout among the most popular or commonly used browsers. Pixel precise layouts can sometimes be, to say the least, hard to achieve across browsers.

I hope you'll find this site usefull. Along the way i'll provide tutorials and background stuff on CSS. However, this site is not intended to be a full intro. For more advanced CSS stuff, you can check out the links section.

More Pages

Links to other parts of the site.

Worth reading

Unless otherwise expressly stated, all original material of whatever nature, such as content, code & images, created by Dzinelabs and included in this site and any related pages, including the weblog's archives, © 2009 Dzinelabs. All Rights reserved.

XHTML | CSS | Accessibility

About the author

Emigrated from Belgium to Brazil and banging his head on the table with Css frustration.

Living in the state Minas Gerais in Brazil. Originally, i'm from Belgium but emigrated to Brazil in 2007.

I'm a freelance web developer and became active with HTML and CSS in 2003.