ご質問されて頂きます。
WORDPRESS初心者です。
テーマは「Twenty Fourteenバージョン: 2.4」です。
【不具合】
①メインコンテンツエリアが
IEだと右寄せ、グーグルクロームだとセンタリングされるのですが
左寄せにしたいのですが
Style.cssのどこを修正すれば良いのか分かりません。
css
1コード 2/** 3 * 6.0 Content 4 * ----------------------------------------------------------------------------- 5 */ 6 7.content-area { 8 padding-top: 8px; 9} 10 11.hentry { 12 margin: 0 auto auto; 13 max-width: 672px; 14 15 } 16
あたりをいじってみましたが、右寄せになりませんでした。
②テーブルの1列目の幅を広げたいのですが。
style.css
1 2.entry-content table.m01, 3.comment-content table.m01{ 4 width: 100%; 5 border-collapse: collapse; 6 7 8} 9 10 11 12 13.entry-content tr.m01, 14.comment-content tr.m01{ 15 width: 100%; 16 17} 18 19.entry-content th.m01, 20.comment-content th.m01{ 21 22 border-bottom: #e3e3e3 1px solid; 23 border-left: #e3e3e3 1px solid; 24 text-align: left; 25 background: #f7f7f7; 26 27 text-align: left; 28 background: #f7f7f7; 29 padding: 10px; 30 font-weight: normal; 31} 32 33 34.entry-content th.t_top, 35.comment-content th.t_top{ 36 37 border-top: #be1309 4px solid; 38 39 border-bottom: #e3e3e3 1px solid; 40 border-left: #e3e3e3 1px solid; 41 42 text-align: left; 43 background: #f7f7f7; 44 padding: 10px; 45 font-weight: normal; 46} 47 48 49 50 51.entry-content td.m01, 52.comment-content td.m01{ 53 border-top: #b3b3b3 4px solid; 54 border-bottom: #e3e3e3 1px solid; 55 border-right: #e3e3e3 1px solid; 56 text-align: left; 57 padding: 10px; 58} 59 60 61 62 63.entry-content td.t_top, 64.comment-content td.t_top{ 65 66 border-top: #b3b3b3 4px solid; 67 68} 69 70 71
html
1 2<table class="m01"> 3 <tr class="m01"> 4 <th class="t_top">カテゴリ</th> 5 <td class="m01"><?php the_field('THEMA'); ?></td> 6 </tr> 7 <tr class="m01"> 8 9 <th class="t_top">開催日</th> 10 <td class="m01"><?php the_field('kaisai_date'); ?></td> 11 </tr> 12 13 <tr>
回答1件
あなたの回答
tips
プレビュー