Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
p タグと td に問題があります。何らかの理由で、p が td 内のスペース全体を使用していないようです。
ここにリンクがあります
ディスプレイの変更など色々試しましたが改善しませんでした。
Cimmanonで言及されているように、段落は、thまたはtdスペースのすべてを占有するために、明示的な高さプロパティを必要としますheight: 3em。height: 50px
th
td
height: 3em
height: 50px
edit:は、およびdiv内の段落と同じように機能しますthtd
div