38 users online (0 members and 38 guests)  


  Results 1 to 3 of 3

Related

  1. IE specific gap at top of table    Forum: HTML Forum
    Replies: 0
  2. setting table background    Forum: Myspace Forum
    Replies: 2
  3. Table background image    Forum: HTML Forum
    Replies: 3
  4. table cell background    Forum: CSS Forum
    Replies: 3
  5. Replies: 0
  1. #1
    Lance's Avatar
    New User

    Status
    Offline
    Join Date
    Jun 2003
    Posts
    2

    Newbie can't specify background for specific table

    Hi. I don't think this should be difficult but can't find info on it. I have a table on the page (labelled table1) that I require to have a background image positioned in the top right not tiling. I have added this css to the page and it doesn't work???

    <STYLE type="text/css">
    .table1
    {
    background-image:url('images/marina1.gif');
    background-repeat: no-repeat;
    background-position: top right; }
    -->
    </STYLE>

    The page is a template so I am unable to add this script into the Head of the page. Is that a problem? Any help much appreciated.

    Regards
    Lance

  2. #2
    QuietDean's Avatar
    Administrator

    Status
    Offline
    Join Date
    Oct 2000
    Location
    Bournemouth, UK
    Posts
    2,662
    Hiya, welcome to the forums.

    try puttuing a <div></div> around the table, and specifying the background for that instead.
    If one of our members helps you, please click the icon to add to their reputation!
    No support via email or private message - use the forums!
    Before you ask, have you Searched?

  3. #3
    Lance's Avatar
    New User

    Status
    Offline
    Join Date
    Jun 2003
    Posts
    2
    Thanks Dean, that did the trick



Tags for this Thread