Little-known CSS skills 10
This translation is not authorized by the author or website. All rights belong to the original author and the original website.
If you are authorized by the original author or the original published website, you can use
This article mainly introduces the notes of CSS3 practice-gradient design (1. If you need a gradient, refer to the CSS-based gradient. The biggest advantage is that it is easy to modify, it also supports stepless scaling to make the transition more
Today, I encountered the position: absolute and relative problems when I was reading CSS. I have been confused and I finally figured it out today. Explanation on CSS2.0 HandBook:
Setting this attribute value to absolute will drag the object out of
For those who often use div + css layout, pay attention to the following points:
I. Use less remedies.
Similar to break-word, z-index, manual layering, vertical alignment, and so on, it is best to use less, because not all browsers support it and
The separation of content and performance has been discussed since the day from the standard to the emphasis on Chinese people. However, the separation of div, css XHTML, and css pure code remains the same. How can we separate the ideological
Many webpage designs are confused when designing the webpage layout, and the width and size of the webpage are 800*600 and 1024*768, how many pixels should a webpage be designed? The horizontal scroll bar will appear when it is too wide. Next we
How to Set css to vertically center text in code CSS so that the text in the object can be vertically centered on the object is also a problem that binds many friends. Currently, many codes on the Internet cannot be browser compatible. I sorted out
The CSS code writing sequence of font and line-height is different, which leads to different display effects. When the font and line-height attributes are applied to the same HTML Tag, you have to be careful. The writing sequence of the two is
There is a project that needs to use iframe to call pages that change every day. Later I thought whether iframe would cache the pages. The following is the test result, A friend in need can understand that there is a project in his hand that needs
You can create one or more select menus for the select element. When submitting a form, the browser submits the selected project or collects multiple options separated by commas, the following example shows how to use the select element to create a
This article mainly introduces the use of # includefile in html. I personally think the tutorial is good and suitable for beginners. If you need it, you can refer to the following two files a.htmand B .htm. the.htm content in the same directory is
This article describes in detail how to embed videos on HTML pages and how to use JS to control video switching. For details, refer to the following section. First, the HTML code of the embedded video on the page is:
The Code is as follows:
When the height attribute of Text is defined, the input Text in Text is not vertically centered, but can be controlled through css. Below is a good example, when the height attribute of Text is defined, the Text entered in Text is not vertically
Redirection should be known to everyone, especially in page Jump, which plays an important role. Below I have sorted out several good html commonly used redirect connections. For more information, see
The Code is as follows:
Window. location.
Htmldoctype tells the browser what html or xhtml specifications are used to parse html documents. The following is a detailed introduction and I hope it will help you.
The document mode has the following functions:
1. Tell the browser what html
Because the checkbox is not very convenient for small users, we can select and select the checkbox when users click the instructions. If you are interested, you can refer to the web development process, because the checkbox is not very convenient
The progress bar is certainly not unfamiliar to everyone, and there are various implementation methods. This article explains how to use html + css to implement the progress bar. Interested friends can try to operate 1. HTML code
The Code is
How to load Flash in HTML and add more colors to webpages. Common webpages cannot meet users' needs. Next we will introduce the following two methods to load Flash in HTML, if you are interested, please refer to it as appropriate and hope to help
This article collects common htmltext events and methods for ease of use at work. If you need them, refer
Event Description
Onactivate: triggered when the object is set to an active element.
Onafterupdate: triggered when the associated object in
Today, we will use the name attribute and id attribute of tag a to redirect pages. Previously, only the name attribute of tag a can be used to redirect pages.
I don't know whether there are other methods. The name can be repeated multiple times,
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