Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6170897
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T23:07:12+00:00 2026-05-23T23:07:12+00:00

I built an HTML table: <table cellpadding=0 cellspacing=0 border=0 style=width:1000px id=maintable> <thead> <tr> <th

  • 0

I built an HTML table:

<table cellpadding="0" cellspacing="0" border="0" style="width:1000px" id="maintable">
  <thead>
    <tr>
      <th class="asc" width="30"><h3>ID</h3></th>
      <th width="200"><h3>Name</h3></th>
      <th width="200"><h3>Artist</h3></th>
      <th width="150"><h3>Album</h3></th>
      <th width="60"><h3>Time</h3></th>    
    </tr>
  </thead>    
    <tr class="evenrw">
      <td class="evensl" align="center">i++</td>
      <td align="left"><a href="link">link name</a></td>
      <td align="left">name</td>
      <td align="left">name</td>
      <td align="center">name</td>   
    <tr>
<table>  

the problem is that when I put something in a row so that the whole table becomes bigger, Is there anyway to make the height of the cell bigger instead the width of the cell?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T23:07:13+00:00Added an answer on May 23, 2026 at 11:07 pm

    You have a table width set as 1000px, and individual table columns set to a total with of around 600px. Tables a bit confusing with widths so remove the style=”1000px” and that should fix the problem

    jsfiddle example

    If the answer works, please mark it as the chosen answer 🙂

    PART TWO

    To add a banner above the table, simply add another <div> above the table. So it would be

    <div id="banner_or_something">
        <!-- INSERT BANNER CODE HERE-->
    </div>
    <table cellpadding="0" cellspacing="0" border="0" style="width:1000px" id="maintable">
        <!--TABLE CODE HERE-->
    </table>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

When trying to pass a table built with HTML in my servlet like that:
I have an AdvancedDataGrid being built dynamically from an html table. The html is
I've built a PHP AJAX pagination that works with an HTML Table. I have
I read this code on HTMLCodeTutorial.com : <FORM> <TABLE BORDER CELLPADDING=3> <TR> <TD><NOBR>radius: <INPUT
I have a html table built from a DB. It has a Edit button
I have to build an HTML table that shows data for users versus pages
I would need to build a html table that has a horizontally scrollable column.
Existing code is using an asp:repeater to build an HTML table. (emphasis on the
I have a box built via html borders. I want to connect the bottom
I am building an application where most of the HTML is built using javascript.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.