Home > Web Front-end > HTML Tutorial > [CSS Tips] About
attribute settings_html/css_WEB-ITnose

[CSS Tips] About
attribute settings_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:56:09
Original
2056 people have browsed it


color settings

<hr style="border:0;background-color:#ff0000;height:1px;">
Copy after login

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;">
Copy after login


Alignment


in chrome The default is left aligned. The default in IE is center alignment. To align to the left, use text-align:left.

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template