[英]How can I set the direction of my <th> 's children like flex-direction does but without using flex?
I have a table and in that table I have tr and th.我有一张桌子,在那张桌子上我有 tr 和 th。 Due to the incompatibility of IE 11 I'm forced to not to use display: flex in my css.
由于 IE 11 不兼容,我不得不在我的 css 中不使用 display: flex。 So, I have a select and a div inside my th like this:
所以,我有一个 select 和一个 div 在我的 th 里面是这样的:
<th>
<select id='gerenciasSelectorAsignarFirmantes' class='selectConInfo'>
</select>
<div id='tooltipGerenciaSelectedFirmantes'>
<span class='demo-icon iconAzulOscuro ititle='Información de la gerencia'></span>
</div>
</th>
The problem is that the div appears below the select and I want those in line instead of vertically like if I would apply flex-direction: row.问题是 div 出现在 select 下方,我希望它们成行而不是像应用 flex-direction: 行那样垂直。
There is a way to do it without use flex and without use another table inside?有一种方法可以在不使用 flex 且不使用内部另一个表的情况下做到这一点? just applying some attribute to th?
只是对 th 应用一些属性? like vertical direction or something?
像垂直方向还是什么?
Apparently I could apply display: 'inline' to th children and it is working fine.显然我可以将 display: 'inline' 应用到孩子身上,它工作正常。 Thank you.
谢谢你。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.