I never really had much on this page. If you're looking for the next big thing when it comes to HTML and CSS, I would recommend doing some research on HTML 5, the next big W3C recommendation.
As for these articles, my min-height-hack - once the most popular article on my site - is slowly becoming obsolete as the marketshare of the last "mainstream" browser without CSS min-height support (IE6) dwindles. Personally, it can't come fast enough for me. I no longer use the hack on this site, having switched completely to "hack-free" CSS min- and max- heights and widths. So sorry IE6 users; upgrade to a modern browser already.
Here's a tip I wrote for the W3C QA Markup Validation Service back in June, 2004.
It concerns the value of using unordered lists (<ul>
) in your HTML code rather than groups of semantically empty elements like <div>
or <span>
.
Yeah, 2004 is ages ago when it comes to internet technology, but I'd like to think that the case for using semantic markup whenever possible is relatively timeless. It has definitely maintained its relevance, even today.
Note: This used to be probably my most popular article. I would get emails and comments about it on a regular basis.
However, the min-height
CSS property is essentially 100% supported by all visual browsers today, so if anything, this article remains here just for historical purposes.
Don't actually use it!!!
Original blurb: The CSS property min-height
only works in the latest and greatest browsers. So what about MSIE 6.0/Win or MSIE/Mac?
Well, the answer is, they don't, and if you want to use the property to enforce a minimum height for your elements, you'll have to use a hack of some kind.
There are other hacks out there, but as far as I know, this is the only one which works in all of: Opera, Safari, Konqueror, Mozilla, MSIE/Win & MSIE/Mac.