CSS Debugging Snippet
I use the following bit of CSS to help visualize the structure of an XHTML (or HTML) document by putting a colored outline around the border of every element. At each level in the hierarchy the color changes so you can see when “depth” changes.
Comments
Stay up-to-date by subscribing to the Comments RSS Feed for this post.