Displaying 2 Columns In A Same Row And Another In 2nd Row Within A Single Tr
What I made,
Month | Savings |
---|---|
January | $1Solution 1:Given your table structure you should be able to achieve what you want by using the following styles. The trick is to turn the table back into block elements and then style them. Please note the nth child element of this is based on 2 columns - if you had three columns as in your second example, then it would be
Please note I have added colspans to the above table to make your html valid for when css is disabled Solution 2:This is not IE8 bug, instead your markup is not correct. You need to merge the column on top like this
http://jsfiddle.net/t77remtc/2/ new version: http://jsfiddle.net/t77remtc/13/ |
Post a Comment for "Displaying 2 Columns In A Same Row And Another In 2nd Row Within A Single Tr"