10 best CSS Hacks_ experience Exchange in Web authoring
Source: Internet
Author: User
If you were front end coder You must know how important was to make cross browses, valid CSS and XHTML code. And also must know how much time we is spending in all those hacks and fixes for various browsers. I ' ve written about some of them earlier on PNG transparency issues, Yellow fields in Web Form, Vertical align div etc.
Here is the list of ten hand picked CSS hacks and tricks which can help you in your CSS code and also save some time.
Pre {
White-space:pre-wrap; /* css-3 */
White-space:-moz-pre-wrap!important; /* Mozilla, since 1999 */
White-space:-pre-wrap; /* Opera 4-6 */
White-space:-o-pre-wrap; /* Opera 7 */
Word-wrap:break-word; /* Internet Explorer 5.5+ */
}
9. Li Background Repeat IE (li tag Background repeat)
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.