ArticleDirectory
Remarks
Google today released the HTML/CSS code Style Guide (Google html/CSS style guide). In fact, this is not a complete set of development specifications. We can think of it as a simple development suggestion.
In web page display, sometimes some CSS attributes need to be dynamically changed. You can only change individual attributes in CSS, such as character sets, or change the full set of CSS attributes. There are already many similar themes.
. Box {/* vertical center method recognized by mainstream non-ie browsers */display: Table-cell; Vertical-align: middle;/* set horizontal center */Text-align: center;/* hack */* display: Block for IE; * font-size: 175px;/* Approximately 0.873 of the
Although div + css is very popular and standard, it is still necessary to use a table where it should be used. Instead of using a div, the time spent is not worthwhile and does not comply with W3C standards.
Table layout does not comply with W3C
With the emergence of xml (extensible Markup Language), structured documents and data have a common and adaptive format, which can be applied not only on the web, but also anywhere. The standard is called possible.
XHTML is The abbreviation of The
Switch: bytes
Image rotation can be said to be an effect, but gradually, the rotation is not only in the category of visual effects, it is more useful and functional. As we all know, sometimes a photo needs to be taken in a horizontal way. It needs
It has been nearly half a year since I started to access the HTML + CSS layout. Besides the three or four months of soy sauce in the middle, I spent about a month working on it, summarize what you have learned.First, let's talk about HTML elements,
Before summing up floating and positioning, we should introduce the concept thatHTMLMediumDocument StreamThe simple understanding of the document stream is that the elements in the HTML are arranged from left to right in the order of code, from top
In HTML, there are four methods to introduce CSS: inline, embedded, imported, and linked.1. inline style: Set the CSS style in the marked style attribute. This method does not reflect the advantages of CSS in nature, so it is not recommended.2.
Implementation of Div rounded corners 1. First Use the P tag, and the margin of the first line-spacing Div is a value (assumed as 3px ;);2. The second p tag is located in the next row of the first tag, and the margin from the Div is the first row
I. Problems with vertical center attributes
Vertical-align is defined vertically in CSS, but can only be used as inline elements.
Ii. Problems with defining vertical center Using Boundary Properties
Using margin: auto 0; the content in the fast
Brief description:
Display: block inline elements define height and width (converted to block elements)
Float: The left block element is located in the same row.
The Firefox area is floating, and float: left is added to the 2nd block elements.
IE6
What is highly adaptive?
Highly adaptive means that the height can change with the size of the browser window. The height of a typical application is fixed in the top column of some background interfaces and used as the menu bar or navigation bar,
In applications, you may need to export data flat files from the system or database, usually to txt, csv, or excel. Txt and csv are generally used for data exchange between systems,
Excel generally has a good display effect, which can be exported
CSS background example:
Set background color
This example shows how to set the background color for the element.
Set text background color
In this example, how does one set the background color of some texts.
Set
CSS design: Chapter 2
XHTMLAnd HTMLImportant differences
1. Mark the name in XHTML in lower case
2. In XHTML, the attribute name must be in lowercase.
3. the tags in XHTML must be strictly nested.
4. Mark in XHTML as closed
5. In XHTML, even the
Document directory
Author: fmms 2011-11-01 10:32:45CSS allows you to do many things, but for developers, there is a lack of many features, such as variables, constants, and some programming syntax. This article introduces 8 CSS preprocessors
Rating: In the past, when we wanted to go back to the top, we had to scroll up the scroll wheel until it rolled to the top. Now we can see a button in the lower right corner to return to the top; today, I want to talk about the layout of this button.
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