Results 1 to 4 of 4

Thread: How to Set table with Html Background?

  1. #1
    Join Date
    Jan 2009
    Posts
    61

    How to Set table with Html Background?

    Hi, I am making one html document and getting problem while resizing it. Can anyone help me about this? The page I am creating is having background and a table. My table is at center position. My background is repeating on the y axis. In the full screen view I am not getting any error, but in smaller browser my background is not matching with that table. So, is there any way which will match my background with the table?

  2. #2
    Join Date
    May 2008
    Posts
    2,012

    Re: How to Set table with Html Background?

    Hi, I am not able to get what did you want to say. You want to set the html background with the table, means that you want to give your table background or something. Please explain it. I am waiting for your reply. I am not getting the question which you want to ask exactly. Give proper explanation of your question, so that the reader will able to get the question.

  3. #3
    Join Date
    Apr 2008
    Posts
    2,005

    Re: How to Set table with Html Background?

    Hi, you can use following coding for your html, so that it will set the table with your html background.

    Code:
    <body class="bgbody">
    <center><img src="/img.jpg"></center>
    <center><table border="0" id="menubar"><tr>
    <td id="menu" ><a href="/one.html" class="menuoptions">One</a></td>
    <td id="menu" ><a href="/two.html" class="menuoptions">Two</a></td>
    <td id="menu" ><a href="/three.html" class="menuoptions">Three</a></td>
    </tr> </table> </center>
    </body>

  4. #4
    Join Date
    May 2008
    Posts
    2,297

    Re: How to Set table with Html Background?

    Hi, I don't have that much knowledge in html, which will solve your problem in html. But I had found code in css which will do it for you as I suppose. Just try to make use of it. And look whether you are getting what you want or not.

    Code:
    body.bgbody
    {
    background-color : Blue;
    color:Green;
    background-image : url(Bground.jpg);
    background-position : center;
    background-repeat : repeat-y;
    }

Similar Threads

  1. Html program code for table
    By Sonam Goenka in forum Software Development
    Replies: 6
    Last Post: 29-12-2009, 08:03 AM
  2. Html table maker
    By klite in forum Windows Software
    Replies: 4
    Last Post: 18-11-2009, 08:32 PM
  3. need to show data in other html table for php
    By Quattro in forum Software Development
    Replies: 3
    Last Post: 02-07-2009, 11:44 PM
  4. How to create scrollbar around the table in HTML
    By Ralph Lauren in forum Software Development
    Replies: 3
    Last Post: 14-05-2009, 12:51 PM
  5. In HTML table how can I wrap the text ?
    By Matellis in forum Software Development
    Replies: 5
    Last Post: 20-05-2008, 07:48 PM

Tags for this Thread

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
  •  
Page generated in 1,713,917,453.68161 seconds with 17 queries