目前,我有這樣的:如何減少區域的寬度?
我想劃定3個元素有這樣的事情:
<th class="fc-day-header fc-widget-header fc-sat" data-date="2016-10-01">JOUR 1<br>samedi 1 octobre</th>
我試圖減少寬度的fc-day-header類,但沒有任何改變。
我在CSS上很糟糕,所以我不知道該怎麼做。
有想法嗎?
編輯:HTML結構:
<table>
<thead>
<tr>
<th class="fc-axis fc-widget-header" style="width:18px"></th><th class="fc-day-header fc-widget-header fc-sat" data-date="2016-10-01" style="width:70%;">JOUR 1<br>samedi 1 octobre</th>
<th class="fc-day-header fc-widget-header fc-sun" data-date="2016-10-02">JOUR 2<br>dimanche 2 octobre</th>
<th class="fc-day-header fc-widget-header fc-mon" data-date="2016-10-03">JOUR 3<br>lundi 3 octobre</th>
</tr>
</thead>
</table>
HTML和CSS的是不是我的,它們是由完整的日曆生成。
我只能通過javascript修改它們。
許多想法...使用3周的div ...使用3個跨...使用3華里....不要使用表....使用Flexbox的....使用float ...使用inline-block .... Whitout看到足夠的代碼很難幫助你。 – DaniP
爲您的單元格添加邊距。對於具體的建議,我們需要看看你到目前爲止的CSS。 – theJoi
向我們展示html結構 – Keith