Confluence the top of the default page is a menu connection for the site, where quick connect , browse menus, user menus, and Quick Find input boxes are defined. In this example, we will try to modify the background of the menu section at the top and some custom pictures.
Create a custom picture. In this example, we will create a custom header image, using 1046 x 61 pixels.
Upload your custom images to the space page you want to customize.
Note that you need to upload a new imag
Original: CSS Design Guide for understanding the box modelI. Understanding the BOX modelEach element will generate a box on the page. As a result, HTML pages are actually made up of a bunch of boxes. By default, the border of each box is not visible and the background is transparent, so we cannot directly see the structure of the box in the page. Using the "OutLine", "OutLine level Element" menu item in the
the browser, not by markup or content, is generated, and the list tag is the generated contentinserting a build into a document can be used : before:after pseudo-elements these pseudo -Elements place the generated content before and after the content of an element based on the contents attributeIn addition to list markers The rest of the generated content is within the elementThe generated content inherits values from the elements associated with it, such as colorSpecify the content of the bui
When done, the effect is this:The three pictures from left to right are 1.png,3.png,2.png.1 DOCTYPE HTML>2 HTML>3 Head>4 title>MyTesttitle>5 Metahttp-equiv= "Content-type"content= "text/html; charset=utf-8" />6 style>7 Div{width:1000px;margin:0px Auto;}8 Div ul{9 Line-height:50px;Ten text-align:Center; One width:1000px; A } - Div ul Li{ - width:170px; the Display:Block; - float: Left; - background:URL (2.png) no-repeat; - Padding-right:30px; + background-p
There are three types of styles in CSS: creators, readers, and user agents, different sources can affect how styles are stackedFirst of all, the creator (author ' S+style) style should be the most familiar to us, if you are a front-end developer, then the styles you write are called the authoring style.Then is the user agent style (agent ' S+style), the user agent is what we usually say the browser (IE, Firefox, etc.), these browsers will provide some
This chapter focuses on the values of some property declarations:The values in CSS are mainly numbers, percentages, colors,1. Color:RGB (100%,100%,100%) or RGB (255,255,255) or #FF0000Web security color: refers to a value that is a multiple of 20%,51,0x33.2. Length unit: unit with in cm mm PT pcWhere: 1in = 2.54cm 1cm = 0.394in 1in = 72pt 1pc = 12ptRelative length unit: em,ex,px3.URL4. Keyword: none inheritIn addition, there are some values that are u
prohibit floating or positioning: Before and: After content, and prohibit the use of List style properties and table properties. There are also 2 restrictions: 1. If the body of these two selectors is a block-level element, the display property accepts only values of none, inline, block, and marker other values as block. 2, if the body of the two selector is an inline element, the attribute display can only accept none and inline. Other values are processed as inline.2. The generated content is
other style, including the creator style with the!important logo. Both the author style and the reader style are stronger than the default styles for user agents.
Reader's!important style
Creator's!important style
The creator's Normal style
Normal style of the reader
Style of user agent declaration
Sorts all declarations applied to a given element by particularity. Elements with higher specificity are more weighted than those with lower specificity.
Topic ReviewsThe triangle icon in the Web page design is very common, belongs to the basic common sense question, as long as in the practice has done this function can answer, can put the thought that you have done to describe can, the difficulty degree of the topic is simple650) this.width=650; "Src=" https://s1.51cto.com/wyfs02/M02/95/8C/wKioL1kWiraAwN4sAABtAP0iiMk456.png-wh_500x0-wm_ 3-wmp_4-s_96509191.png "style=" Float:none; "title=" QQ pictures (18) 1.20170422100210.png "alt=" Wkiol1kwiraa
Topic reviewsThe triangle icon in the Web page design is very common, belongs to the basic common sense question, as long as in the practice has done this function can answer, can put the thought that you have done to describe can, the difficulty degree of the topic is simple650) this.width=650; "Src=" https://s3.51cto.com/wyfs02/M00/95/B9/wKiom1kZKLTBRoSBAABtAP0iiMk207.png-wh_500x0-wm_ 3-wmp_4-s_1391844784.png "style=" Float:none; "title=" QQ pictures (18) 1.20170422100210.png "alt=" Wkiom1kzkl
Topic ReviewsThe triangle icon in the Web page design is very common, belongs to the basic common sense question, as long as in the practice has done this function can answer, can put the thought that you have done to describe can, the difficulty degree of the topic is simple650) this.width=650; "Src=" https://s1.51cto.com/wyfs02/M02/95/B4/wKiom1kZDxiRWtVgAABtAP0iiMk259.png-wh_500x0-wm_ 3-wmp_4-s_2342213239.png "style=" Float:none; "title=" QQ pictures (18) 1.20170422100210.png "alt=" Wkiom1kzdx
Replace element
The part that replaces the content of the element is not directly represented by the contents of the document.
Img
Input
Non-replacement elements
The content is displayed by the user agent (usually a browser) in the box generated by the element itself.
Block-level elements
Block-level elements generate an element box, (the default) fills the content area of the parent element and cannot have other elements next to it, in other words, he generates
This chapter focuses on some conflicting solutions when an object is extracted multiple times using a style by a selector:1. Specificity: Refers to the final choice when multiple effects are in effect:This rule is compared with 0,0,0,0. Where: inline is the 1,0,0,0 ID selector is the 0,1,0,0 class selector, the property selector and the Pseudo-class: 0,0,1,0 element and pseudo-element: 0,0,0,1The combination and the 0,0,0,0 have no contribution to the particularity, it is theNote: A privilege is
The main content of this chapter is how to get the elements in the document given to render:1. Element selector;2.ID selector;3.CLSSS selector;4. Wildcard selector: *;5. Property selector: selector[]6. Partial Property selector: selector[~= "Warning"] [doo^= "Bar"] [doo$= "Bar"] [boo*= "bar]7. Specific attribute selector: *[lang |= "en"]8. Descendant Selector9. Group Selector10. Adjacent selector: H1 + P {}11. Direct sub-selector: h1 > P12. Pseudo-class and pseudo-elements:Pseudo-class: Link:vis
*/}Substring Matching Property SelectorSpecific attribute selection typeLink pseudo-ClassYou may know: link and: The visited pseudo-class selector is functionally equivalent to link and vlink of the Body property.Dynamic Pseudo-ClassProbably using the wrong first-child. /* that's why translation from right to left is explained */ {font-weight:bold; /* all P elements as the first child element of an element are set to bold */ } {text-transform:upperca
The inner margin of the element box is between the border and the content area, and the property is padding.Note: The padding must never be negativeProperty value: Accepts any length or percentage value.Default: The element defaults to no padding, and the interval between paragraphs is traditionally guaranteed only by margin. So the border is very close to the contents of the element itself, so it's best to increase the padding while setting the border.The top and bottom margins are not merged l
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.