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

 

 

Link to comment
Share on other sites

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

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.