我想下面的文本被加下劃線和中心對齊。在這裏我試着 ,但無法找到解決方案。文本下劃線和對齊中心
<p style="border-bottom:thick dashed #F00">Hi Friends </p>
我同款卡試圖
我需要的文本必須強調,沒有點或虛線和中心對齊
我想下面的文本被加下劃線和中心對齊。在這裏我試着 ,但無法找到解決方案。文本下劃線和對齊中心
<p style="border-bottom:thick dashed #F00">Hi Friends </p>
我同款卡試圖
我需要的文本必須強調,沒有點或虛線和中心對齊
text-align: center;
text-decoration: underline;
這裏我嘗試過。 wouter謝謝,文本是居中對齊,但不能得到線,而不是點線 p style =「border-bottom:thick dashed#F00; text-align:center; text-decoration:underlined;」 – spoorthi 2012-04-17 12:17:43
應該是「text-decoration:underline;」不是「加下劃線」 – 2013-07-23 10:37:55
你嘗試過什麼?這是本網站上最簡單的問題... [Google:* CSS文本下劃線*](https://www.google.com/search?q=css+text+underline&safe=active)和[Google:* CSS Text對齊中心*](https://www.google.com/search?q=css+text+align+center&safe=active) – 2012-04-17 12:05:32
爲什麼不開始閱讀[CSS教程](https://developer.mozilla.org/ en/CSS/Getting_Started).... – ManseUK 2012-04-17 12:06:28