cuốn sách gpt4 ai đã làm

Đường viền HTML bên dưới hộp văn bản

In lại Tác giả: Walker 123 更新时间:2023-11-28 05:19:21 27 4
mua khóa gpt4 Nike

如何使底部边框正好位于文本框下方?

div {
border-bottom: solid 2px #354458;
}
P {
color: #ffffff;
background-color: #354458;
căn chỉnh văn bản: giữa;
padding: 8px 10px 5px 10px;
độ dày phông chữ: đậm;
cỡ chữ: 12px;
letter-spacing: 1px;
width: 190px;
font-family: 'Courier New', courier, monospace
}

How do I remove the margin below here?


câu trả lời hay nhất

P 标签默认会有一些边距。将其设为零,以便边框贴在底部。

添加了margin-bottom:0px;

div {
border-bottom: solid 2px #354458;
}
P {
color: #ffffff;
background-color: #354458;
căn chỉnh văn bản: giữa;
padding: 8px 10px 5px 10px;
độ dày phông chữ: đậm;
cỡ chữ: 12px;
letter-spacing: 1px;
width: 190px;
font-family: 'Courier New', courier, monospace;
margin-bottom:0px;
}

Margin from below this has been removed!!


关于文本框下方的 HTML 边框,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41042256/

27 4 0
Chứng chỉ ICP Bắc Kinh số 000000
Hợp tác quảng cáo: 1813099741@qq.com 6ren.com
Xem sitemap của VNExpress