Home  >  Article  >  Web Front-end  >  Simple application of li_Basic tutorial

Simple application of li_Basic tutorial

WBOY
WBOYOriginal
2016-05-16 12:08:352224browse

Author: eoe
Although I write CSS every day~~
But here is the original article~~I don’t know what to write~~

Today I will write a simple application of LI~~It will be slower later Add it slowly

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


li Simple application





  • Test list li>

  • of test list

  • of test list

  • of test list




Tip: You can modify part of the code before running it

Added a little CSS style definition can be like this


Quote:
*{margin:0;padding:0;} It is customary to define the inner and outer patches of all elements as 0
0 can be omitted Unit~~ Theoretically, the unit is needed~ But 0px 0pt 0em are all 0 so~ I’m lazy~~

#test ul li contains the selector
Define the ID as li in ul in test
margin:~The parsing is the same in basically all browsers~
The reason why I have to write two here is~
In li, I use border, and IE5.x parses border and Other browsers are different
margin/**/: In this case, IE5. ";voice-family :inherit; etc.~
Please refer to http://bbs.51js.com/viewthread.php?tid=50475&fpage=1




BR>"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">


Simple application of li





  • Test list

  • Test list

  • Test list

  • Test list




Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn