HTML Help
HTML Help Central . com

» Online Users: 71

0 members and 71 guests
No Members online
Most users ever online was 695, 02-16-2011 at 07:01 AM.

» Site Navigation

 > FAQ

» Domains For Sale

Results 1 to 5 of 5
  1. #1
    Join Date
    Nov 2012
    Posts
    2

    How to resize the table?

    Hello!

    I need to resize the table for
    HTML Code:
    http://mercadors.eu/#industries
    for a nice view in the page.
    I make a lot of tries but I didn't have succes!

    Can you help me?

    Thank you!

    emibest

    Posts: 6
    Joined: Fri Nov 02, 2012 11:56 pm

    Top

  2. #2
    Join Date
    Nov 2012
    Posts
    64
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
    <html>
    <head>
    <meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
    <title></title>
    <style type="text/css">
    table tr td{
    border: 1px solid red;
    }

    table tbody {
    background: #CCC;
    }
    </style>
    <script>
    function resize_tbody() {

    if (document.getElementById("my_table_tbody")) {

    document.getElementById("my_table_tbody").style.he ight = "350px";


    var num_rows_tbody = document.getElementById("my_table_tbody").rows.len gth;

    for (a = 0; a <= num_rows_tbody - 1; a++)
    {
    document.getElementById("my_table_tbody").getEleme ntsByTagName("td")[a].style.height = "15px";

    }

    }
    }
    </script>

    </head>
    <body>
    <table>
    <caption>TABLE</caption>
    <thead>
    <tr>
    <th>col_1</th>
    <th>Col_2</th>
    </tr>
    </thead>

    <tbody id='my_table_tbody'>
    <tr>
    <td>1.1</td>
    <td>1.2</td>
    </tr>
    <tr>
    <td>2.1</td>
    <td>2.2</td>
    </tr>
    <tr>
    <td>3.1</td>
    <td>3.2</td>
    </tr>
    </tbody>

    <tfoot>
    <tr>
    <td>foot 1</td>
    <td>foot 2</td>
    </tr>
    </tfoot>
    </table>
    <script>
    resize_tbody();
    </script>
    </body>
    </html>

  3. #3

    How to resize the table?

    <table border="1">
    <tr>
    <td>cell 1</td><td>cell 2</td>
    </tr>
    <tr>
    <td>cell 3</td><td>cell 4</td>
    </tr>
    </table>

  4. #4
    Join Date
    Jan 2013
    Posts
    11
    Microsoft Word allows you to create and format your own tables, so you can efficiently organize lists and data records.
    <table>
    <table border="1">
    <tr>
    <td> </td>
    <td> </td>
    </tr>
    <tr>
    <td> </td>
    <td> </td>
    </tr>
    </table>
    After creating a table or adding elements to it, you can resize the elements or the table itself.

  5. #5
    Join Date
    Feb 2013
    Posts
    22
    <table>
    <tr>
    <td width="300">
    fixed size
    </td>
    </tr>
    <tr>
    <td width="100%">
    take free space
    </td>
    </tr>
    </table>
    Hire the best Professional Website designer for your next project

    Affordable and Professional Website Designer with expertise in Joomla Development. Hire the best professional for your online business.

Similar Threads

  1. No resize
    By darkfire in forum HTML / XHTML / XML
    Replies: 3
    Last Post: 10-14-2005, 08:24 PM
  2. Need to resize and tag 500+ images...
    By DeansPhoto in forum Graphic Design
    Replies: 1
    Last Post: 11-20-2003, 04:20 PM
  3. How DoI resize
    By DAngel in forum HTML / XHTML / XML
    Replies: 2
    Last Post: 05-14-2003, 10:33 PM
  4. Resize
    By mushie in forum HTML / XHTML / XML
    Replies: 5
    Last Post: 04-06-2002, 04:45 PM
  5. Resize Table
    By JamesL in forum Javascript / AJAX / VBScript
    Replies: 1
    Last Post: 09-28-2000, 12:27 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Powered by vBadvanced CMPS v4.1.1