How to easily enhance your existing tables with simple CSS
AJAX, ASP.NET, CSS, UI, jQuery By Dave Ward on August 13th, 2008In two of my recent posts, I demonstrated using ASP.NET AJAX in conjunction with jQuery or ASP.NET AJAX 4.0′s templating features to generate client side tables from JSON data. However, what I neglected to show you was how to make them look even remotely presentable.
In this post, we’ll continue where those posts left off. I’m going to show you how you can improve the table’s presentation in three steps:
- Setting basic styles for the page and table.
- Improving the table header by using strong contrast.
- Adding subtle gridlines to the table body.

In response to many of the articles here, I receive feedback asking how to achieve the same results without using ASP.NET AJAX. As much as I’m a fan of ASP.NET AJAX, I must agree that its JavaScript payload can certainly be a drawback in some situations.