Link to home
Start Free TrialLog in
Avatar of APD Toronto
APD TorontoFlag for Canada

asked on

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,
Avatar of Julian Hansen
Julian Hansen
Flag of South Africa image

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.
Avatar of APD Toronto

ASKER

Sure, I am open to Bootstrap
ASKER CERTIFIED SOLUTION
Avatar of Julian Hansen
Julian Hansen
Flag of South Africa image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial