PDA

View Full Version : Excel look



wjrasmussen
Jan 8th, 2011, 12:42 AM
If you have seen MS Excel you know how the rows and column look. Using CSS and HTML how do I create that look? Columns would be Name, Address, Phone, Email, ...,etc. This information would be coming from some kind of sql db. I like the look, but we are to avoid html tables...

Chris Hick
Jan 8th, 2011, 01:38 AM
wjrasmussen, have you tried using divs and borders around the divs? Then perhaps using Javascript when you want to place a new text within the empty divs is a thought.

teedoff
Jan 8th, 2011, 05:39 AM
There's nothing wrong with displaying dynamic data in a dynamic table. Thats really what tables are for. Where tables are a no no is for whole page layouts.

You would simply query your database for the data you want to display, and display the values in a table.