CSS + Div Summary

Source: Internet
Author: User
The following test environment is IE6:
1. webpage image format selection:
  • GIF is applicable when the image color is not many and the precision requirement is not high. Because GIF will make the file relatively small, this can greatly improve the web browsing speed.
  • JPG, suitable for fine-grained images. A large amount of use may slow down the speed of webpages..

2. Two ways to draw a single pixel line:

  • <DivStyle = "border-bottom: 1pxDashed# CCC "> </div>
  • CSS: HR {border: solid 1px black} <HR size = "1px"/> (self-Summary, passed in IE6, to be studied)

3. we recommend that you use padding instead of margin as much as possible. This is because there are many strange issues with IE. It cannot correctly display the margin-right/left attribute in any location, so we use padding (gap, in Dreamweaver.

4. Use of word-Break (self-summary)

  • Normal:Make sure that the Chinese and English characters are the same.
  • Break-ALL:Chinese is the same as normal, and English is disconnected within the word
  • Keep-ALL:Chinese will wrap at punctuation. English is the same as normal
Related Article

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.