答案 0 :(得分:0)
使用以下代码,因为它纯粹是 CSS
假设您需要与链接相同的设计
.maindiv \\ ur main div{width:100%; background:#fff;padding:1%;}
.maindiv img \\ ur img inside the div{width:100%; \\ just in case}
.maindiv p,maindiv a \\ ur label and link {width:100%;text-align:left;}
.maindiv p:first-child{font-weight:bold;font-family: ur choice;} \\ it will change all the occurence of the first label in ur div
.maindiv p:last-child{padding-top:1%;}
\\ to change the last link label