CSS Ul (List style)CSS List properties function as follows:
To set a different list item to mark as an ordered list
To set a different list item to mark as unordered list
Set list items to be marked as images
First, ListIn HTML, there are two types of lists:
Unordered List-list item markers with special graphics (such as small black
A problem was encountered when using CSS to combine div layouts.In a specified width of UL inside I define the width of Li as automatic. An attempt was made to align Li from the left-aligned content length.For example, the width of 210px ul has 4 Li, the width of the 4 Li, according to their own content length of 80px, 120px, 140px, 80px.The effect I need is 4 Li
css| Web page
The form is not unfamiliar, and the thin form is widely used.There are a number of ways to do a thin form, such as:1. The simplest method of thin-Line table, using the table property directly
2. Use the table background color and Spacing properties to construct the table, it should be noted that TD must also use the background color to show the line
Of course the above methods are very useful, but we are not talking about these today,
CSS style sheet code:HTML Layout Code::HTML Layout section, you can add the corresponding div according to your needs.1. CSS Key Style word explanation1), ul.imglist{margin:0 auto; width:536px; Overflow:hidden}Using margin:0 Auto, let the UL structure Layout Center;Use Overflow:hidden because the children of UL use the
Turn from Sina blog http://blog.sina.com.cn/u/2539885750 The UL and Li lists are commonly used elements when using CSS to layout pages. In CSS, there are properties that specifically control the performance of lists, commonly used List-style-type properties,list-style-image properties,list-style-position properties, and The List-style property. First,List-styl
Li Wu:Heng Learn to think together, honouring teachers save Thanksgiving. Leaf See root three return to one, rivers the same oneness.Meekness Conscience Lord, willing to do without regrets to the most bitter. Reading exercises to keep the body and mind, sincere advice and the line and cherish.
Ide:visual Studio 2017
Browser:chrome
Os:win7
CodeDOCTYPE HTML>HTML>Head> MetaCharSet= "Utf-8" /> Metaname= "Author"content= "Https://www.cnblogs.com/jizuiku"/> title>title> s
Core tips: DIV CSS page layout commonly used list elements ul ol li DL DT DD interpretation
OL ordered List
Performance as
1. ...2. ...3. ...
UL unordered list, showing that the front of the Li is a circle dot instead of 123
Many people easily ignore the use of DL DT DD
DL Content BlockThe caption of the DT content blockDD Content
You can write this:
Css
A few CSS elements of the simple explanation div ul DL DT Oldiv, this is very common, block-level elements, div as little as possible, and table, nesting less the better
OL have sequence table.
The performance is:
1. ...2. ...3. ...
UL unordered list, showing that the front of the Li is a circle dot instead o
A few days in the three columns with CSS layout of the sudden thought of such a method, the idea of their own feel a little crazy, if there is anything wrong in the place please you feel free.
When you need to write a three-column layout, I usually choose to use the following div layout:
The use of such a nested way can undoubtedly make the code error probability of a lot less, but at the same time the layout is slightly complicated, for
. Four {width:336px;height:200px;Background: #eee;Float:left;margin:5px;}. Four img {height:120px;Float:left;margin-left:10px;padding:6px;Background:darkgray;}. Four UL {Float:left;}. Four Li {Background:url (./images/black.png) center left No-repeat;height:15px;margin:10px;background-size:3px;padding-left:10px;font:12px/15px "Blackbody";}. Four a {}. Four a:visited {Color:gray;}. Four H2 {margin:6px 0 6px 10px;font-size:16px;}#art {Background: #EEE;m
UL Li background Small icon property settings generally have two kinds of situation: the definition in the UL and Li, these two definitions in what circumstances use, in the following gives a detailed introduction, often div+css layout of friends may wish to refer to, I hope to help
here we are listed in two ways:① when the icon before the title is a long stran
Use CSS to make ul and li into a table and cssul
View effects: http://hovertree.com/texiao/css/7.htmFor details, see the style section.Complete code:
Web Front-end: http://www.cnblogs.com/jihua/p/webfront.html
Town Field Poem:The Pure Heart sentiment wisdom language, does not have the world name and the benefit. Learn water under the hundred rivers, give up arrogant slow meaning.Learn to have a small return to feed root, willing to cast a conscience blog. Sincere in this writing experience, willing to see the text to inspire.——————————————————————————————————————————CodeResult——————————————————————————————————————————The essence of the blog, in the technical part, more in the town yard a poem. Editor
[Ctrl + A All SELECT Note: If the need to introduce external JS need to refresh to perform]
South Korea's Web site features a distinctive design style, bright colors, and now more and more people are imitating this style.
Korean style of web site design ideas are loved by everyone, because of its rich color changes, Korean style of the site has a most obvious feature is for the table or the title bar often add horizontal or vertical a ribbon. We usually have image image software to make such a
CSS pseudo class (lower) structure pseudo class \ UI pseudo class \ Dynamic pseudo class and other pseudo class valid check enable child required link visit, uivalid
: Checked check takes effect
Html file
Just contact Pseudo-class and pseudo-elements, seniors recommend to read this article, at that time read several times did not read, still feel this article obscure difficult to understand, now re-read, feel really a good article, now share to everyoneTo the blog from the Sunflower Sword @ Sword EmptyThe text is as followsThe difference between the two is really an old question. But to this day, because of various network misinformation and some irres
This article is written in notes form.1, CSS class selector detailedHttp://www.w3school.com.cn/css/css_selector_class.aspKnowledge Points:(1) The premise of using class selector is to add a class attribute to the tag, such as (2) The syntax of the
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.