在单个ul中对齐多个li的不同部分

时间:2015-12-07 19:08:38

标签: alignment html-lists

我有什么:

<ul class="store-opening-hours">
    <li class="day-1"><span style="color: #808080; font-family: futura_lt;">Maandag: 09:00 - 18:00</span></li>
    <li class="day-2"><span style="color: #808080; font-family: futura_lt;">Dinsdag: 09:00 - 18:00</span></li>
    <li class="day-3"><span style="color: #808080; font-family: futura_lt;">Woensdag: 09:00 - 18:00</span></li>
    <li class="day-4"><span style="color: #808080; font-family: futura_lt;">Donderdag: 09:00 - 21:00</span></li>
    <li class="day-5"><span style="color: #808080; font-family: futura_lt;">Vrijdag: 09:00 - 18:00</span></li>
    <li class="day-6"><span style="color: #808080; font-family: futura_lt;">Zaterdag: 09:00 - 17:00</span></li>
    <li class="day-0"><span style="color: #808080; font-family: futura_lt;">Zondag: Gesloten</span></li>
</ul>

结果:

Maandag: 09:00 – 18:00
Dinsdag: 09:00 – 18:00
Woensdag: 09:00 – 18:00
Donderdag: 09:00 – 21:00
Vrijdag: 09:00 – 18:00
Zaterdag: 09:00 – 17:00
Zondag: Gesloten

我希望这些日子与他们现在的左边对齐,但是时间(一切都在之后)到右边......怎么样?我似乎无法做对......

0 个答案:

没有答案