Excellent CSS debugging technique

Giganews Newsgroups
Subject: Excellent CSS debugging technique
Posted by:  spacero…@marx7.org (Trent)
Date: 15 Dec 2003

I found an excellent technique in "Eric Meyers on CSS" that I thought
some of you might be interested in.

The technique is to use "debugging" styles to quickly see the layout
of a page.  For example, if you are trying to see the layout of a
table-based HTML form (to convert to CSS, of cource ;) ), you would
add the style:

table { border : 2px solid blue;}

I have also used this method to find out where browsers are placing my
DIV's and SPAN's.  Overall, I thought it was a great idea.  Does
anyone else us it regularly?

Replies