There are many ways to change the background color when the mouse passes over it. Today we will introduce the method using CSS DIV.
Method 1
The following is the quoted content:
|
IE6.0, Firefox2.0, Opera 9.23 does not work
Method 2
以下为引用的内容: |
The following is the quoted content: |
Method 3:
以下为引用的内容: 哈哈哈哈哈
|
The following is the quoted content:
Hahahahaha< ;/div>
|
Generally is used to define the style of the link, not a certain area. Nowadays, div is commonly used in CSS web pages. div means area. I still like to use this. Of course, if you use table, there will be a simpler method.
以下为引用的内容: |
In fact, the tag is more commonly used now.
The following is the quoted content: |