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 In addition to the default built-in direc...
Many friends will report the following error when...
The position property The position property speci...
In a table, you can define the color of the lower...
The following are its properties: direction Set th...
Docker allows network services to be provided by ...
I encountered several problems when installing My...
After VMware is abnormally shut down, it prompts ...
Table of contents 1. What is DOM 2. Select elemen...
EXPLAIN shows how MySQL uses indexes to process s...
Table of contents 1. What is the life cycle 2. Th...
HTML reuse is a term that is rarely mentioned. Tod...
In a complex table structure, some cells span mul...
vue-element-admin import component encapsulation ...
1. COUNT(*) and COUNT(COL) COUNT(*) usually perfo...