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
The result (full code at the bottom): The impleme...
A sophomore asked me how to install and configure...
Table of contents Preface Stored Procedure: 1. Cr...
The scroll-view of WeChat applet has more bugs wh...
It is essentially a common js object used to desc...
Preface There are many open source monitoring too...
Nginx's shared memory is one of the main reas...
<template> <div class="app-containe...
Download the MySQL installation package. I downlo...
1. HTML font color setting In HTML, we use the fo...
This article mainly introduces CSS circular hollo...
Click here to return to the 123WORDPRESS.COM HTML ...
Linux File System Common hard disks are shown in ...
Table of contents 1. let keyword 1.1 Basic Usage ...
Implementation of time comparison in MySql unix_t...