css| Control | Web page design We usually need to unify the overall style of the Web page, the unified style mostly related to the page text attributes, background color and link text attributes, and so on, if we apply CSS to control these
The visual type of media processes elements in the document tree according to the rules of the visual format Model of CSS (visual formatting models), transforming (X) HTML into the design of the creator.
For example:
How to generate an element box;
Dreamweaver is a Web page production and management site in one of the WYSIWYG Web page editor. Because of the powerful function of DW, it is possible to define CSS directly in him (style sheet), and this CSS has given me a little problem.
thing
Browser-based feature detection you should already be familiar with, especially after the launch of Modernizr.js. In fact, the Internet has also been the norm, can be based on CSS to do some feature detection, that is, @supports, this feature has
Meta-source information function of page timing jump and Refresh
Almost all of the page headers have source information. In addition to our commonly used definition encoding, keyword (name= "keywords"), description (name= "description") (for SEO),
The creation of Web pages for the use of Div and CSS structure to write static page is now very mature, but many new entrants to the use of Div and CSS structure There are many misunderstandings, these myths are also I have experienced and be "old
Define a style for a linkA:link indicates that the link has not been visited, the mouse has not been crossed and clickedA:visited represents a link that has been visitedA:hover represents a link to the mouse strokeA:active means the active link,
White-space: Property sets how to handle whitespace (whitespace, newline, and tab characters) within an element.
Normal defaults. Whitespace will be ignored by the browser.
The pre blank is reserved by the browser. It behaves like an HTML
Label.
CSS layout common methods: Float:none|left|rightTake value:None: Default value. object does not floatLeft: Text flows to the right of the objectRight: Text flows to the left of the objectHow does it work, look at a row and two columns of
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
See some of the beginning of a paragraph of the text of the site is very large, looks very special, this is called the first word sinking effect, CSS has ready-made grammar can be used, that is: First-letter, we first to understand: First-letter
When we define the div width, inside the content may be more, will be super out, will div or form to support the big, deformation of the impact of the Web page beautiful, introduce a method, with CSS forced to hide unwanted content and automatically
This article introduces CSS layout positioning properties, skilled use can easily achieve beautiful site layout, interested friends can refer to, I hope to help you
CSS Positioning properties: Bottom, left, right, and top position Clip
Many of the other attributes of CSS are easy to understand, such as fonts, text, backgrounds, and so on. Some CSS books will also make a high-profile introduction to these simple attributes, but ignore some difficult attributes to explain, there is
Cascading style Sheets (CSS), translated as "cascading style sheet" or "Cascading style sheet", also referred to as "style sheet."
The introduction of CSS is used to extend HTML, not to replace HTML. In other words, CSS is inseparable from HTML, it
Social networking sites have become more and more popular in recent years, and Facebook is a top-ranked social networking site. Facebook has a lot of Ajax-specific effects and features that are impressive. The management panel at the bottom of it is
In CSS layout, the use of ul,li is very common. With Div and CSS, create no table layout.
In fact, Dreamweaver also has a sample of the CSS layout, as shown in the following figure:
The format of the Li code:
A). Use CSS to format A list
Definitions and usage
Font-size property to set the size of the font.
Description
This property sets the font size of the element. Notice that it actually sets the height of the character box in the font; the actual character glyphs may be higher
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