——xxx——,请问这种怎么用html和css写

哎呀_哈哈
浏览 2533回答 14
14回答

UFO2015

——xxx——<p> <span class="d_line">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span> xxx <span class="d_line">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span> </p>.d_line{    text-decoration:line-through; }

qq_青枣工作室_0

<!DOCTYPE html> <style>     .panel{         border-top: 1px solid #000;         width: 200px;         height: 200px;         text-align: center;     }     .panel>h3 {         background-color: #fff;         display: inline;         padding: 0 5px;         line-height: 20px;         position: relative;         top: -10px;     }     .panel>div{         text-align: left;     } </style> <div class="panel">     <h3>XXX</h3>     <div>content......</div> </div>

qq_幸福影_0

看大家回复的都不错

Cwiky

我也想知道诶

精气神_杭州拱墅区

<div style="text-align: center;width:100px;">  <span style="background-color: #fff;">xxxx</span>  <hr style="margin-top: -10px;"></div>

GlaDoss

这个图算不算

旧丶爱人

<!DOCTYPE html> <html> <head> <style>      div.test:before,div.test:after{content:"--"} </style> </head> <body>     <div class="test">我我我</div> </body> </html>

到头一场空

你到底想干什么啊 

晚安sp

文字居中?你想问啥。。。

李晓健

没看懂你这是一个什么东西,如果是一种布局,你应该说清楚是一个什么样的布局,或者画一个图。
打开App,查看更多内容
随时随地看视频慕课网APP