Simple Application of li _ basic tutorial

Source: Internet
Author: User
Simple Application of li by eoe
Although I write CSS every day ~~
But here comes the original article ~~ I don't know what to write ~~

Today, I will write a simple application of LI ~~ It will be added later

This is an ordinary LI
Http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd>


Simple Application of li




  • Test list

  • Test list

  • Test list

  • Test list





Tip: you can modify some code before running it.

You can add a CSS style definition.


Reference:
* {Margin: 0; padding: 0;} habitually defines the patch of all elements as 0.
0 can have no unit ~~ In theory, it is a unit ~ However, 0px 0pt 0em is all 0, so ~ Lazy ~~

# Test ul li contains the selector.
Define the ID as li in ul in test
Margin :~ Basically all browser resolutions are the same ~
Here, we need to write two because ~
In li, border is used. The parsing of border by IE5.x is different from that of other browsers.
Margin/**/: in this case ~ IE5.x is unknown ~~
Of course, there are other writing methods such:
Voice-family: "\"} \ ""; voice-family: inherit; etc ~
See http://bbs.51js.com/viewthread.php? Tid = 50475 & fpage = 1





Http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd>


Simple Application of li





  • Test list

  • Test list

  • Test list

  • Test list





Tip: you can modify some code before running it.

Add content such as date


Reference:
Span is defined as float: right.




Http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd>


Simple Application of li





  • 12-11 test list

  • 12-11 test list

  • 12-11 test list

  • 12-11 test list





Tip: you can modify some code before running it.

Add more content
Http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd>


Simple Application of li





  • 12-11 test list

    Test list of the test list



  • 12-11 test list

    Test list of the test list



  • 12-11 test list

    Test list of the test list



  • 12-11 test list

    Test list of the test list






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.