When making a web page, you sometimes use a dividing line hr, but it is very painful to display it in IE6 and IE7. This article will teach you how to write an hr that is compatible with all browsers.![]() Home page Let's first understand the differences between hr in various browsers, as shown in the following table: For example, if you want to create a dividing line with an actual height of 3px, a border of 1px, a border color of #07f, and a background color of #f60: Copy code The code is as follows:hr{ height:1px; background-color:#f60; border:1px solid #000; *height:3px;/* for ie6 ie7 */ color:#f60;/* for ie6 ie7 */ } @-moz-document url-prefix(){ hr{height:3px;}} /* for firefox */ |
<<: How MySQL supports billions of traffic
>>: Detailed explanation of the solution to font blur when using transform in CSS3
Refer to the official documentation here for oper...
cursor The set of rows returned by the select que...
This example takes the installation of Python 3.8...
1 method is a property that specifies how data is ...
Table of contents Basic database operations 2) Vi...
CI/CD Overview CI workflow design Git code versio...
Table of contents What is MySQL NDB Cluster Preli...
I'll record my first attempt at vue3.0. When ...
Concept of SFTP sftp is the abbreviation of Secur...
background As we all know, nginx is a high-perfor...
Table of contents 1 Introduction to nginx 1 What ...
The installation process of VMwarea will not be d...
CSS CodeCopy content to clipboard .bottomTable{ b...
Table of contents Use Cases Reactive API related ...
Sometimes, we need to copy a whole column of data...