pquery Posted June 15, 2008 Share Posted June 15, 2008 Hi folks, after offering a lot of help here on the CSS board, I was wondering if anyone had a good link to an example of how to make a bunch of data (let's say 20-30 table cells) display in a nice readable format like an excel spreadsheet. I could code this all by hand, but I'm a little under the gun to get this inital part of the project finished, and I'm still writing all the php/mysql backend. So... if anyone knows an article by Snook, or Stu Nicoles, or Eric Meyer, Lynda (or Macromedia fame) that covers this topic - it would be greatly appreciated Quote Link to comment https://forums.phpfreaks.com/topic/110304-lots-of-data-to-look-like-an-excel-spreadsheet/ Share on other sites More sharing options...
Xurion Posted June 17, 2008 Share Posted June 17, 2008 I don't understand why you need something to guide you on this. Isn't Excel white background with like light grey borders on the cells 1px and 2px padding? Maybe I'm not understanding, but this is how I would do it: /* css */ table.excel { border-right: 1px solid #ccc; border-bottom: 1px solid #ccc; background: #fff; } table.excel td { border-left: 1px solid #ccc; border-top: 1px solid #ccc; padding: 2px; } Quote Link to comment https://forums.phpfreaks.com/topic/110304-lots-of-data-to-look-like-an-excel-spreadsheet/#findComment-567337 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.