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
Getting Started with JavaScript JavaScript is a l...
First create a directory cd /etc/nginx mkdir ssl ...
Docker image download is stuck or too slow I sear...
1. Apache 2.4.41 installation and configuration T...
export default ({ url, method = 'GET', da...
IE10 provides a quick clear button (X icon) and a ...
Table of contents Common key aliases Key without ...
Recently, when using IIS as a server, the apk fil...
This rookie encountered such a problem when he ju...
1. Create a new virtual machine in VMware 15.5 1....
Preface When writing front-end pages, we often us...
Disable swap If the server is running a database ...
Table of contents 1. The role of watch in vue is ...
Table of contents Preface Introduction JavaScript...
To understand what this means, we must first know ...