empty46 Posted May 30, 2015 Report Share Posted May 30, 2015 Как сделать вот такую таблицу. невыходит у меня чтоб все так же было. не получаются столбцы с вертикальным текстом Quote Link to comment Share on other sites More sharing options...
0 afdw Posted May 31, 2015 Report Share Posted May 31, 2015 Примерно так. Но есть проблема с автоматическим подсчетом размера блока с повёрнутым текстом. Quote Link to comment Share on other sites More sharing options...
0 Vlad Posted May 31, 2015 Report Share Posted May 31, 2015 Мне тоже идея с transform пришла, но для ячеек это сложно реализовать, высота останется прежней. Есть ещё writing-mode, но там всё хуже с поддержкой. Quote Link to comment Share on other sites More sharing options...
0 empty46 Posted May 31, 2015 Author Report Share Posted May 31, 2015 (edited) у меня фиксированная ширина и длина всей таблицы)спсибо, попробую картинка просто повернута) текст что на черном фоне должен быть вертикальным. остальной нормально Edited May 31, 2015 by empty46 Quote Link to comment Share on other sites More sharing options...
0 empty46 Posted May 31, 2015 Author Report Share Posted May 31, 2015 (edited) вот както так то так выходитhttp://jsfiddle.net/La9d4pu2/2/ Edited May 31, 2015 by empty46 Quote Link to comment Share on other sites More sharing options...
0 Vlad Posted May 31, 2015 Report Share Posted May 31, 2015 transform ныне работает без префиксов, уберите -webkit. ширину лучше не в mm задавать, потому как тут же сдвиг идёт в пикселях. cellpadding и другие атрибуты таблицы использовать не кошерно, стили для этого и нужны. td { padding: 5px; } Quote Link to comment Share on other sites More sharing options...
Question
empty46
Как сделать вот такую таблицу. невыходит у меня чтоб все так же было. не получаются столбцы с вертикальным текстом
Link to comment
Share on other sites
5 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.