The picture is used as the background and the link is written. For example, the logo image of the website. For example: Potato logo image <a title="Tudou.com Everyone is the director of life" href="https://www.jb51.net">Tudou.com</a> a {display: block;width: 170px;height: 42px;text-indent: -9999px;background: url(/skin/__g/img/ui/nav/v2_v6.png) 0 0 no-repeat;} The improvement method is to use display:block; or display:inline-block; in CSS and then set the width and height. |
<<: Detailed steps for installing nodejs environment and path configuration in Linux
>>: Some issues we should pay attention to when designing a web page
Preface: Jenkins' Master-Slave distributed ar...
Table of contents 1. Scenario description: 2. Cas...
The goal of this document is to explain the Json ...
Linux environment variable configuration When cus...
This article example shares the specific implemen...
Software Version Windows: Windows 10 MySQL: mysql...
Table of contents Preface Prepare Summarize n way...
Preface MySQL is the most popular relational data...
1. Create a new object using the Object.create() ...
This article shares the specific code of js to im...
Table of contents Methods of String Object Method...
When we develop a single-page application, someti...
1. Add the following code to http{} in nginx.conf...
1. Overview of DDL Atomicity Before 8.0, there wa...
Table of contents first step Step 2 Step 3 Step 4...