Convert TD columns into TR rows

后端 未结 4 796
时光取名叫无心
时光取名叫无心 2020-11-28 12:42

Is there a quick way to translate (using CSS or Javascript) a tables TD into TR, currently I have:

A B C D
1 2 3 4

and I want to translate

4条回答
  •  余生分开走
    2020-11-28 12:47

    Maybe someone needs it: I converted TR to TD by CSS (a table with one column). Apply from second line until end of the table on TR the code below:

    
    

    Also used the code below to show each 3 rows as one line of 3 columns:

     
    

提交回复
热议问题