Я HTML UL LI теги, расположенные, как указано ниже:Как выровнять LI вертикально среднего
<html>
<head>
</head>
<body style="margin: 0px;">
<ul style="display: table; width:98%; margin: 5px; padding: 0; min-width:500px;">
<li style="display:table-row; padding: 0; margin: 0;">
<ul style="padding: 0; margin: 0;">
<li style="float:left; text-align:center; display:table-cell; width:5%; min-height: 50px; ">A</li>
<li style="float:left; display:table-cell; width:87%; min-height: 50px; ">B</li>
<li style="float:left; text-align:center; display:table-cell; width:8%; min-height: 50px; "><input type="submit" name="one" id="one" value="one"></li></ul>
</li>
<li style="display:table-row; padding: 0; margin: 0;">
<ul style="padding: 0; margin: 0;">
<li style="float:left; display:table-cell; width:92%; min-height: 100px; ">
<div style="width:100%; box-shadow: 1px 1px 1px #cfcfcf; border-radius:10px; color:black; border:1px solid #e5e5e5; min-height: 100px;">Sample Text here. Sample Text here. Sample Text here. Sample Text here. Sample Text here. Sample Text here. Sample Text here. Sample Text here. Sample Text here. Sample Text here. SamplText here. Sample Text here. Sample Text here. Sample Text here. Sample Text here. </div>
</li>
<li style="float:left;text-align:center; display:table-cell; width:8%; min-height: 100px; "> C</li>
</ul>
</li>
<li style="display:table-row; padding: 0; margin: 0;">
<ul style="padding: 0; margin: 0;">
<li style="float:left; text-align:center; display:table-cell; width:5%; min-height: 100px; "><input type="radio" name="optia" value="a" id="optia">A</li>
<li style="float:left; display:table-cell; width:87%; min-height: 100px; "><div style="width:100%; box-shadow: 1px 1px 1px #cfcfcf; border-radius:10px; color:black; border:1px solid #e5e5e5; min-height: 100px;">Sample Text here. Sample Text here. Sample Text here. Sample Text here. Sample Text here. Sample Text here. Sample Text here. Sample Text here. Sample Text here. Sample Text here. Sample Text here. Sample Text here. Sample Text here. Sample Text here. Sample Text here. </div></li>
<li style="float:left; text-align:center; display:table-cell; width:8%; min-height: 100px; "> C</li>
</ul>
</li>
</ul>
</body>
</html>
Это дает выход, как указано ниже:
Как я могу Align RADIO Boxes и текст «C» в последнем столбце вертикально посередине с LI; вдоль RED Line Drawn?
Ug, inline CSS. – j08691
@ j08691; Извините, я вас не понял? Что такое Ug? [Inline CSS добавлены в вышеприведенный пост, чтобы дать внешний вид пользовательского интерфейса, в реальном коде CSS внешние) –
Ug - я бросаю руки в воздух, пытаясь отладить это. – j08691