[Original] website HTML, XHTML, XML, WML, CSS and other language test and verification tools
1. Online website language test and check websites:
HTML and XHTML test check site: http://validator.w3.org/or http://www.htmlhelp.com/tools/validator/
1. Box Model-Concept
To understand the box model, we must understand these concepts: attribute names that are often heard in web design: content, padding, border, and border ), the CSS box model has these attributes.
We can understand this box:
Original article: efficiently rendering CSS
I admit that I don't often think about this ......What is the efficiency of CSS we write? What is the speed of browser rendering?
This should be something that browser developers should be concerned
Firefox: When div is set to margin-left and margin-right is set to auto, it is already centered. IE is not working.
When setting text-align for Firefox: body, you must set margin: auto (mainly margin-left, margin-Right) for the DIV to be centered.
A block element generally starts from a new line. It can accommodate inline elements and other block elements. A common block element is the section tag 'P ". The "form" block element is special. It can only accommodate other block elements.If no
1. CSS import:
First, put the CSS document in the document:
In .2. I learned a new trick on the internet today to make the widget color gradient.. Test {filter: progid: DXImageTransform. Microsoft. gradient (startcolorstr = 'white', endcolorstr = '
Force do not wrap Div {
White-space: nowrap;
} Wrap Div automatically {
Word-wrap: Break-word;
Word-break: normal;
} Force an English word to break a line Div {
Word-break: Break-all;
========================================================== =====
Today, we changed the page and found that the DataGrid can use cssclass to set the CSS style, but the button column does not have the cssclass attribute. I have been busy for a long time and found that I can only useProgramSet button column
/*
===========================================/* Behavior file bound to the style textbox ** Function:* When the user's cursor is positioned in an input box,* The input box displays the dynamic effects of different colors. ====================
ArticleDirectory
1. Determine the Layout
2. Define the body style
3. define the main Div
4.100% adaptive height?
Now we need to design the layout. Like the traditional method, you must first have a rough idea of the outline
Source: http://www.knowsky.com/442392.html
In general, it is more convenient to specify the vertical and horizontal center of the DIV with a height, but it is a little troublesome if the height is not fixed. I tried it and achieved absolute
Code Parsing
HTML code
Onclick = "DSP (this)"> + heading section where the class is dspcont, the hidden content is in the DIV whose class is dspcont -->
Onclick = "DSP (this)"> + heading
Onclick = "DSP (this)"> + heading section
CSS allows the application of solid color (background-color) as the background, and allows the use of background-image to create quite complex effects. CSS is far above HTML.
I. background color
You can use the background-color attribute to set the
1. Clear StructureSeparating the presentation and structure of pages, we can build a div + CSS + JS file to achieve performance, structure, and behavior separation, in doing so, just like the MVC pattern used by our program, the advantage is that
1. Capture browser events
There is a global window under IE. event, which can be used directly after an event is triggered, but does not exist in Firefox. When a trigger event is called to call a function, if this function has no form parameter, by
China People's Broadcasting Corporation
Western e-network
Western e-network
Western e-network
Western e-network
Western e-network
Western e-network
Western e-
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
my first web page with style sheet! Viavia la vidaBy Coldplay
I used to rule the world
Seas wocould rise when I gave the word
Now in the morning I sleep alone
Sweep the streets I used to own
I used to rule the dice
Feel the fear in my enemy's
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