Responsive chart in product description
-
Greetings,
I have created this size chart that i am displaying on my product page.
Any clues how to make it responsive so that its full size is shown correctly on mobile devices and tablets?`<style type=”text/css”>
.tg {border-collapse:collapse;border-spacing:0;}
.tg td{border-color:black;border-style:solid;border-width:1px;font-family:Arial, sans-serif;font-size:14px;
overflow:hidden;padding:10px 5px;word-break:normal;}
.tg th{border-color:black;border-style:solid;border-width:1px;font-family:Arial, sans-serif;font-size:14px;
font-weight:normal;overflow:hidden;padding:10px 5px;word-break:normal;}
.tg .tg-4ei5{background-color:#FBFBFB;color:#141618;text-align:left;vertical-align:top}
.tg .tg-5jfn{background-color:#FFF;color:#141618;text-align:left;vertical-align:top}
.tg .tg-k7cc{background-color:#FFF;color:#141618;font-weight:bold;text-align:left;vertical-align:top}
</style>
<table class=”tg”>
<thead>
<tr>
<th class=”tg-k7cc”>SIZE (CM)</th>
<th class=”tg-k7cc”>XS</th>
<th class=”tg-k7cc”>S</th>
<th class=”tg-k7cc”>M</th>
<th class=”tg-k7cc”>L</th>
<th class=”tg-k7cc”>XL</th>
<th class=”tg-k7cc”>XXL</th>
<th class=”tg-k7cc”>XXXL</th>
<th class=”tg-k7cc”>XXXXL</th>
</tr>
</thead>
<tbody>
<tr>
<td class=”tg-5jfn”>Lenght + belt<br>short / regular / long / x-long</td>
<td class=”tg-5jfn”>101 / 106 / 111 / 116</td>
<td class=”tg-5jfn”>101,5 / 107 / 112 / 117</td>
<td class=”tg-5jfn”>102 / 107 / 112 / 117</td>
<td class=”tg-5jfn”>102,5 / 107,5 / 112,5 / 117,5</td>
<td class=”tg-5jfn”>103 / 108 / 113 / 118</td>
<td class=”tg-5jfn”>103,5 / 109 / 114 / 118,5</td>
<td class=”tg-5jfn”>104 / 109 / 114 / 119</td>
<td class=”tg-5jfn”>104,5 / 110 / 115 / 119,5</td>
</tr>
<tr>
<td class=”tg-4ei5″>Insteam<br>short / regular / long / x-long</td>
<td class=”tg-4ei5″>76,2 / 81,2 / 86,2 / 91,2</td>
<td class=”tg-4ei5″>76,2 / 81,2 / 86,2 / 91,2</td>
<td class=”tg-4ei5″>76,2 / 81,2 / 86,2 / 91,2</td>
<td class=”tg-4ei5″>76,2 / 81,2 / 86,2 / 91,2</td>
<td class=”tg-4ei5″>76,2 / 81,2 / 86,2 / 91,2</td>
<td class=”tg-4ei5″>76,2 / 81,2 / 86,2 / 91,2</td>
<td class=”tg-4ei5″>76,2 / 81,2 / 86,2 / 91,2</td>
<td class=”tg-4ei5″>76,2 / 81,2 / 86,2 / 91,2</td>
</tr>
<tr>
<td class=”tg-5jfn”>1/2 Waist</td>
<td class=”tg-5jfn”>38</td>
<td class=”tg-5jfn”>41</td>
<td class=”tg-5jfn”>44</td>
<td class=”tg-5jfn”>47</td>
<td class=”tg-5jfn”>50</td>
<td class=”tg-5jfn”>53</td>
<td class=”tg-5jfn”>56</td>
<td class=”tg-5jfn”>59</td>
</tr>
<tr>
<td class=”tg-4ei5″>1/2 Hip</td>
<td class=”tg-4ei5″>46</td>
<td class=”tg-4ei5″>49</td>
<td class=”tg-4ei5″>52</td>
<td class=”tg-4ei5″>55</td>
<td class=”tg-4ei5″>58</td>
<td class=”tg-4ei5″>61</td>
<td class=”tg-4ei5″>64</td>
<td class=”tg-4ei5″>67</td>
</tr>
<tr>
<td class=”tg-5jfn”>1/2 leg circumference at the bottom</td>
<td class=”tg-5jfn”>18,8</td>
<td class=”tg-5jfn”>19,3</td>
<td class=”tg-5jfn”>19,8</td>
<td class=”tg-5jfn”>20,3</td>
<td class=”tg-5jfn”>20,8</td>
<td class=”tg-5jfn”>21,3</td>
<td class=”tg-5jfn”>21,8</td>
<td class=”tg-5jfn”>22,3</td>
</tr>
</tbody>
</table>`Best regards!
The page I need help with: [log in to see the link]
- The topic ‘Responsive chart in product description’ is closed to new replies.