Results 1 to 2 of 2

Thread: align of background in cell

  1. #1
    Join Date
    Apr 2007
    Posts
    26
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Default align of background in cell

    Hello,
    I'm looking to be able to use a picture as background in a table cell. The thing is I want it to appear ones horizontal but appear all the way down to the end of the cell vertical. Then I would like it to be loaded from the right side of the cell. Is this possible?

  2. #2
    Join Date
    Jul 2006
    Location
    just north of Boston, MA
    Posts
    1,806
    Thanks
    13
    Thanked 72 Times in 72 Posts

    Default

    place this in you css style for that table cell

    Code:
    td#cellId {
         background: #hexadecimal url('/path/to/image.gif') repeat-y top right;
    }
    where
    cellId is the unique identifier of the table cell you want this affect to be done in .... and
    hexadecimal is a html color code similar to that of the image color. this allows your page to flow consistently in case for some reason the image does not show

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •