Having spare time has unexpected consequences. Such as plowing through an entire book in one sitting. Last night I finally picked up my copy of Everything you know about CSS is wrong. A daunting title indeed, but the book is just over 100 pages, so it’s a quick read. And what you learn is basically [...]
Everything you know about CSS is wrong
January 22nd, 2009 2 Comments
I’m a winner!
November 3rd, 2008 No Comments
What an amazing feeling it is to win something that you actually want.
Just got a tweet saying I won SitePoint’s new book Everything You Know About CSS Is Wrong. That is the one CSS book that’s come out recently that I feel any need of reading. As it is, I’ve done my fair share of [...]
Tags: competition · css · SitePoint · win
Positioning and z-index in IE
November 29th, 2007 5 Comments
Using absolute positioning to hide and show a nested list is one of the better ways to create a dropdown menu, and it can almost be done using only CSS. IE6 needs a little javascript help to respect the :hover pseudo-class. The Sons of Suckerfish will help you there.
Now you have your perfect semantic validating [...]
Tags: css · hover · IE · menu · positioning · z-index
IE6 magic bullets
November 8th, 2007 No Comments
Things that sometimes “magically” make Microsoft Internet Explorer 6 behave like expected from modern browsers.
position: relative
zoom: 1
height: 1%
They are all due to Microsoft’s proprietary concept of hasLayout.
Feel free to add any other magic bullets in the comments.
My bad
October 24th, 2007 2 Comments
I’ve been stuck on a piece of CSS lately, simply couldn’t get the :hover to work on an anchor <a> element, in IE6 offcourse. Setting the positioning, the positioning of the container element, floats, z-index’s. All to no use. In the end I gave in and posted my problem on css-discuss. This is the reply [...]