Home >Web Front-end >HTML Tutorial >[CSS Tips] About
f32b48428a809b51f04d3228cdf461fa color settings
<hr style="border:0;background-color:#ff0000;height:1px;">
If border:0; is not added, although the color changes , but a black border will be displayed. If you don't add height:1px;, it will not be displayed in chrome.
can also be achieved with the following code:
<hr style="border-color:#ff0000;border:0;border-top:1px;">
f32b48428a809b51f04d3228cdf461faAlignment
f32b48428a809b51f04d3228cdf461fa in chrome The default is left aligned. The default in IE is center alignment. To align to the left, use text-align:left.