【发布时间】:2016-08-16 21:33:49
【问题描述】:
我正在使用此代码:
<div style="width:850px;height:50px;padding:6px;border-width:4px;border-color:black;border-style:dotted hidden dotted hidden;margin-left: auto;margin-right: auto;">
<center><b>Net Worth:</B> <font color="green">€341,134.00</font> | <b>Distance Driven: </b><font color="lightgrey">10,610km</font> | <b>Employee Count:</b><font color="lightgrey"> 3</font></center></div>
但由于某种原因,我一加入我的网站就出现在我的网站上
background-color: rgba(0,0,0,.5);
<div style="width:850px;height:50px;padding:6px;border-width:4px;border-color:black;border-style:dotted hidden dotted hidden;margin-left: auto;margin-right: auto;background-color: rbga(0,0,0,.6);">
<center><b>Net Worth:</B> <font color="green">€341,134.00</font> | <b>Distance Driven: </b><font color="lightgrey">10,610km</font> | <b>Employee Count:</b><font color="lightgrey"> 3</font></center></div>
我的边框消失并且没有背景。但它在除此站点之外的其他任何地方都可以使用。为什么?我什至尝试只使用“背景:rbga(0,0,0,.6);”
【问题讨论】:
标签: html colors background border