How to set cell's background in HTML table ?

Posted by misha-moroshko on Stack Overflow See other posts from Stack Overflow or by misha-moroshko
Published on 2010-04-21T14:49:27Z Indexed on 2010/04/21 16:33 UTC
Read the original article Hit count: 199

Filed under:
|
|

I would like to set the background of a cell in HTML table to be like this.

  • What are my options besides using an image as background ?
  • Are there any predefined backgrounds like this ? Maybe dotted, or diagonal lines backgrounds ?
  • In case of image background, if I don't know in advance what would be the size of the cell, what image size should I take ? How to make it be repetitive so it would look nice ?

Any HTML/CSS/Javascript/jQuery suggestions are welcome :)

© Stack Overflow or respective owner

Related posts about html

Related posts about JavaScript