Background image positioning:
All icons are placed in a PNG file in transparent format and then invoked by determining the location in the PNG image. (called in multiple pictures)
First measure the size of small icons with QQ
Small Div border is consistent with icon size
Width:14px
Hight:14px
border:1px
Backgrouyd-image:url (.. /image/ocon.png)
backfround-position:0px-52px; (The downward ordinate is negative, and to the right is negative)
Border-collaps:collaps; Thin Line
Td
{
Border:solid 1px red;
}
#d1 a{} id=d1 The style of the A label below the label
#d1 #d2 a id=d1 below the D2 a label style
#d1, #d2 d1,d2 a common style
Td,th sharing a Style
Row of the table head th scope= "Row"
Column table header th scope= "col"
Remove the underline from the link
A
{
Text-decration:none;
}
The div attribute is #d1, after the mouse is put on the #d1: hover mouse becomes hand type
#d1: hover
{
Cursor:pointer;
}
Full-page common style: with tags
Shared: Class label
Unique: ID Tag
Text content in Div exceeds border
Overflow:hidden (Hidden)
Overflow:auto; (content beyond the display scroll bar)
Overflow:scroll (scroll bar is always displayed regardless of whether the content is exceeded)
CSS (the third)