html - Responsive Table cell to new line -
there's third party content site have "embed" via dynamic content, don't know ajax or jquery @ moment wondering if possible shift table cell down new line creating new row.
the embed ends with:
<table> <tr> <td></td> <td></td> </tr> </table>
there no classes or id's placed in table, table on page , has way content fit on 1 line, mobile website i've got make whole page 320 pixels wide.
is possible using css alone?
i can't insert new html, content dynamically created secure server don't have access to, use api key in order access.. mediaqueries work though.
i'm trying experiment along lines of:
td {clear:both;}
you can set td
display:block;
they'll under eachother.
html
<table> <tr> <td>1</td> <td>2</td> </tr> </table>
css
td{ display:block; }
see here: http://jsfiddle.net/hdsts/
Comments
Post a Comment