《 Top menu of css floating div 》
#header { Width: 100%;/* Because setting the floating width will change, add and modify the appropriate*/ Z-index: 1;/* At the top, the value can be changed. If it does not take effect, it can be changed to 100*/ Position: fixed;/* floating*/ }
{ Top: 100px*/ }
{ Top: 100px! Important;/* behind `! Z-index 'force CSS to take effect*/ }
#content { top: 100px; position: relative; }
-
Last new article: Amd original press down heat dissipation is replaced by upper blow out chassis -
Next old article: Css implementation tab tab selects marked code