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 6711933
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T08:12:00+00:00 2026-05-26T08:12:00+00:00

I converted some tabular data from word for a client: <table> <tr> <th><p>SPAGHETTI &ndash;

  • 0

I converted some tabular data from word for a client:

<table>
  <tr>
    <th><p>SPAGHETTI &ndash; Deeg voorgerechten</p></th>
  </tr>
  <tr>
    <td>SPAGHETTI AL PESCATORE</td>
    <td>&euro;11.50</td>
    <td><p  >Zeevruchten in speciale tomatensaus</p></td>
  </tr>
  <tr>
    <td>SPAGHETTI ALLA MATRICIANA</td>
    <td>&euro;9.25</td>
    <td><p  >Met spek, knoflook in tomatensaus</p></td>
  </tr>
  <tr>
    <td>SPAGHETTI BOSCAIOLA</td>
    <td>&euro;10.25
      </td>
    <td><p  >Met ham, spek, knoflook in roomsaus</p></td>
  </tr>
<table>

It’s tabular data. It should be in a table 🙂

In the word doc, he put the last cell (the Dutch description) on a new line. I could regex every last cell to a new row with colspan=”2″, but that’s not the structure. I tried:

td:last-child {
  display: block;
}

But every browser ignores that. Any ideas?

EDIT: It sounds a little bit vague, doesn’t it?

I have:

cell 1.1                     cell 1.2                               cell 1.3
cell 2.1                     cell 2.2                               cell 2.3
cell 3.1                     cell 3.2                               cell 3.3

I want:

cell 1.1                     cell 1.2                      
cell 1.3
cell 2.1                     cell 2.2                        
cell 2.3
cell 3.1                     cell 3.2                       
cell 3.3
  • 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-26T08:12:01+00:00Added an answer on May 26, 2026 at 8:12 am

    Tables don’t work like that. <tr> signifies a new row, a <td> is on the same row. You’ll never have (or at least should never have) <td>‘s from the same <tr> on different lines.

    cell 1.1                     cell 1.2                      
    cell 2.1
    cell 3.1                     cell 3.2                        
    cell 4.1
    cell 5.1                     cell 5.2                       
    cell 6.3
    

    Edit:
    It seems like you’re hung up on using tables for some reason in a situation that is not suited for tables. May I suggest the following implementation (untested, you should get the basics of what I’m trying to do)?

    .menu-item: {
      display: block;
    }
    
    .price: {
      float: right;
    }
    
    .description {
      clear: both;
    }
    <h3>Spaghetti</h3>
    <div class="menu-item">
      <strong>Food name</strong>
      <span class="price">10.00</span>
      <span class="description">A great dish</span>
    </div>
    
    <div class="menu-item">
      <strong>Food name</strong>
      <span class="price">10.00</span>
      <span class="description">A great dish</span>
    </div>
    
    <div class="menu-item">
      <strong>Food name</strong>
      <span class="price">10.00</span>
      <span class="description">A great dish</span>
    </div>
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have created a WFP UserControl with some complex XAML (converted from SVG). It's
I have some asp.net site that shows png images that converted from hi-res tiff
I am having trouble getting some data from a JSON object which I have
Say that you want to do some fancy formatting of some tabular output from
The language is c++ I have to read in some data from 0 -
I'm reading some data that has already been converted to html style υ code.
Need some help from javascript gurus. I have one page where http://www.google.com/finance/converter is embedded
How can I convert some Geometry data into Geography data in MS SQL Server
I'm trying to convert some code from C# to C so that it can
I have a page which displays ~300 pages worth of tabular data. Firefox, Chrome,

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.