Convert table to block properly

Hi Experts,

I have the following table
<table class="tblCases">
<thead>
<tr">
<td style="text-align: center;">Dispatch &amp; Back Office Application</td>
<td style="text-align: center;">Integrated E-Commerce</td>
<td style="text-align: center;">Inventory &amp; Financial System</td>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: center;" class="tdSectionHead"> Problem</td>
<td style="text-align: center;" class="tdSectionHead">Problem</td>
<td style="text-align: center;" class="tdSectionHead">Problem</td>
</tr>
<tr>
<td style="text-align: center;">Company offering different tours, with multiple of drop-off and pick-up locations used numerous of Excel files and paper records needed a software system to help streamline their processes.</td>
<td style="text-align: center;">Online company selling under different brands and prices could not adjust prices, promotions without the assistance of a programmer, and sales were only tracked via email.</td>
<td style="text-align: center;">Produce Importer relied on Excel files, manually adjusting formulas to track inventory of perishable goods imported by daily flights.</td>
</tr>
<tr>
<td style="text-align: center;" class="tdSectionHead">Solution</td>
<td style="text-align: center;" class="tdSectionHead">Solution</td>
<td style="text-align: center;" class="tdSectionHead">Solution</td>
</tr>
<tr>
<td style="text-align: center;">We created a web-based solution tracking pickups, drop-offs, passenger manifests, process transactions, and payout agent commissions. As well as ability to plan out next day's vehicles based on seat capacities.</td>
<td style="text-align: center;"> We integrated all of the company's E-Commerce sites into one backend system, allowing the client's management to adjust prices and setup promotions with different limitations. Staff could also access the backend in order to process orders.</td>
<td style="text-align: center;"> We developed a software that allowed the company to project  inventory and order accordingly. When staff confirmed orders, the software automatically creates a vendor bill and customer invoice respectively.</td>
</tr>
<tr>
<td style="text-align: center;" class="tdSectionHead">Result</td>
<td style="text-align: center;" class="tdSectionHead">Result</td>
<td style="text-align: center;" class="tdSectionHead">Result</td>
</tr>
<tr>
<td style="text-align: center;">Elimination of redundant data entry, often hand written, resulting in missed reservations and therefore lost revenue.</td>
<td style="text-align: center;">A platform that enabled the client to manage their online products and run various of reports. Reports aided the company increase sales by having access to real time data on which promotions were more popular, and which products were more in demand.</td>
<td style="text-align: center;">Company had significant reduction of wasted product due to the accuracy of the software, and staff productivity have increased.</td>
</tr>
</tbody>
</table>
Feel free to contact us for any details and demo.

Open in new window


CSS
/*format case studies*/
.tblCases thead td{
    font-size: 125%;
    background-color: #105729;
    color: white;
    font-weight: bold;
}
.tblCases .tdSectionHead{
    font-size: 110%;
    background-color: #999999;
    color: white;
    font-weight: bold;
}
.tblCases td{
    width: 33.33%;
    background-color: floralwhite;
    color: black;
}

@media only screen and (max-width: 767px){

    /*format case studies*/
    .tblCases tr{
        display: block; /*OBVIOUSLY NOT WORKING*/
    }
    
    .tblCases td{
        width: 100%;
    }
}

Open in new window


My question is for the mobile portion. How can I make each individual case one underneath the other? If I do td {display:block} , then, obviously I'm getting

heading
heading
heading
text
text
text

but I need

heading
text
heading
text
heading
text

I am using Wordpress, so the html is from the WSWYIG TinyMCE.

Thank you,
APD TorontoSoftware DeveloperAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Julian HansenCommented:
First up - don't use Tables for layout - especially for responsive layouts.

Consider something like Bootstrap.

Let me know if you are open to using Bootstrap and I will post a solution on how to do what you want with it.

There is a trick to getting it to do the layout you want.
0
APD TorontoSoftware DeveloperAuthor Commented:
Sure, I am open to Bootstrap
0
Julian HansenCommented:
Here is a rough and ready Bootstrap layout
<div class="row">
  <div class="col-md-3 col-md-12">
	<h2>Dispatch &amp; Back Office Application</h2>
	<h3>Problem</h3>
	<p>Company offering different tours, with multiple of drop-off and pick-up locations used numerous of Excel files and paper records needed a software system to help streamline their processes.</p>
	<h3>Solution</h3>
	<p>We created a web-based solution tracking pickups, drop-offs, passenger manifests, process transactions, and payout agent commissions. As well as ability to plan out next day's vehicles based on seat capacities.</p>
	<h3>Result</h3>
	<p>Elimination of redundant data entry, often hand written, resulting in missed reservations and therefore lost revenue.</p>
  </div>
  <div class="col-md-3 col-md-12">
	<h2>Integrated E-Commerce</h2>
	<h3>Problem</h3>
	<p>Online company selling under different brands and prices could not adjust prices, promotions without the assistance of a programmer, and sales were only tracked via email.</p>
	<h3>Solution</h3>
	<p> We integrated all of the company's E-Commerce sites into one backend system, allowing the client's management to adjust prices and setup promotions with different limitations. Staff could also access the backend in order to process orders.</p>
	<h3>Result</h3>
	<p>A platform that enabled the client to manage their online products and run various of reports. Reports aided the company increase sales by having access to real time data on which promotions were more popular, and which products were more in demand.</p>
  </div>
  <div class="col-md-3 col-md-12">
	<h2>Inventory &amp; Financial System</h2>
	<h3>Problem</h3>
	<p>Produce Importer relied on Excel files, manually adjusting formulas to track inventory of perishable goods imported by daily flights.</p>
	<h3>Solution</h3>
	<p> We developed a software that allowed the company to project  inventory and order accordingly. When staff confirmed orders, the software automatically creates a vendor bill and customer invoice respectively.</p>
	<h3>Result</h3>
	<p>Company had significant reduction of wasted product due to the accuracy of the software, and staff productivity have increased.</p>
  </div>
</div>

Open in new window

You can see it in action here
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
CSS

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.