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

  • Home
  • SEARCH
  • 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 8247515
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T22:52:20+00:00 2026-06-07T22:52:20+00:00

I have a table with 8 <td> . All items are filled from a

  • 0

I have a table with 8 <td>. All items are filled from a PHP array. An example row looks like this:

(row number) (Two Chinese characters) (1-5 characters) (input box 1) (1-5 characters) (input box 2) (1-5 characters) (submit button)

Currently all eight <td> align vertically but I would like to have td items 6(input box 2) and 7 (1-4 characters) to align next to input box 1 so there is no space in between

To make this more clear, consider how these two rows appear.

1.  喘氣  a ____ bc    ____ de  SUBMIT
2.  留學 ab ____ cdefa ____ gh  SUBMIT

Notice the big gap in between item 6 and the input box that follows?

I need mine to look something like this:

1.  喘氣  a ____ bc ____ de     SUBMIT
2.  留學 ab ____ cdefa ____ gh  SUBMIT

Any idea on how I can do this? I appreciate it.

  • 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-06-07T22:52:22+00:00Added an answer on June 7, 2026 at 10:52 pm

    Unless you start playing with some very complex colspan attributes, you’re not going to be able to do it with just <td> elements.

    Instead, you will need to place all the items you want together into a single <td> element, leaving all others in their own <td> elements.

    To use your example…

    <tr>
      <td>(row number)</td>
      <td>(Two Chinese characters)</td>
      <td>(1-5 characters)</td>
      <td>(input box 1)</td>
      <td>(1-5 characters) (input box 2) (1-5 characters)</td>
      <td>(submit button)</td>
    </tr>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a table with all U.S. zip codes. each row contains the city
I have this html table: <table class=table-all> <tbody> <tr> <td>BISFENOLO</td> <td>Bisfenolo-AF 10/10</td> <td class=right>€
I have a Pages table that stores all my view urls and this table
I have this array: $results = array('1', '3', '123') and this table: id |
I have CSS items for all my table elements ( <table> , <tr> ,
I have a table (lets call it main_guys) that looks like: id, other_item_id, other_item_type,
I have 3 tables: Foods table stores all food items, Tags table stores all
I have a table that contains all the data about users . Users can
I have a MYSQL table with all of the visitors to my website. Each
I have a draggable table which all working fine, though I want to be

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.