Jump to content

lots of data to look like an excel spreadsheet


pquery

Recommended Posts

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

 

 

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;
}

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.