「式場名」となっている場所を隣にある「料金」と同じくらいの太さにしようと試みようとしました。
フォントタグなどを使ったり色々な方法を試しましたが解決には至りませんでした。
下記のhtml、cssを参考にどこにどのようなhtmlを挿入すれば良いかご指摘をしていただけないでしょうか?
よろしくお願い致します。
<table style="width:400px"> <tr> <th scope="row" style="width: 147px;padding: 10px;font-weight: bold;vertical-align: top;color: black;border-right: 1px solid #ccc;border-bottom: 1px solid #ccc;background-color: #FFFACD !important">式場名</th> <td style="width: 200px !important;padding: 10px;vertical-align: top;border-right: 1px solid #ccc;border-bottom: 1px solid #ccc;background-color: #FFFACD !important">料金</td> </tr> <tr> <th scope="row" style="width: 147px;padding: 10px;font-weight: bold;vertical-align: top;color: white;border-right: 1px solid #ccc;border-bottom: 1px solid #ccc;background-color: #25c4db !important">雪</th> <td style="width: 200px !important;padding: 10px;vertical-align: top;border-right: 1px solid #ccc;border-bottom: 1px solid #ccc">243,540円</td> </tr> <tr> <th scope="row" style="width: 147px;padding: 10px;font-weight: bold;vertical-align: top;color: white;border-right: 1px solid #ccc;border-bottom: 1px solid #ccc;background-color: #25c4db !important">竹</th> <td style="width: 200px !important;padding: 10px;vertical-align: top;border-right: 1px solid #ccc;border-bottom: 1px solid #ccc">108,000円</td> </tr> </table> コード
回答5件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。