CSS-style words and corresponding explanations using CSS hiding methods
1, use display:none; to hide all information (no space occupied) recommended, CSS display manual view
2, use Overflow:hidden; to hide overflow text or pictures for recommendations, CSS overflow manual view
3, using Overflow-y:hidden; and Overflow-x:hidden control scroll bar hide or not, CSS overflow-y manual view, CSS manual view Overflow-x
1, CSS hidden div and content, completely hidden content and layout
Explanation: use CSS word Display:none; completely hide text and pictures
. xht{
Display:none;
}
Using the CSS style display:none in the Div, the content inside the div will be hidden from the browser and invisible, and the hidden content will not occupy space, usually used for JS effects hiding, hiding the statistics code display icon.
div CSS Hidden content style method