CSS fixed the table header (the header remains unchanged when the scroll bar is pulled down)
. Headlock
{
Top:Expression (this. offsetparent. scrolltop );
Position:Relative;
}
CSS fixed the left column of the table (a column remains
ArticleDirectory
What is doctype?
What doctype should we choose?
Influence of doctype on CSS and JS
What is doctype?
Doctype is short for document type. It is used to describe the XHTML or html version you are using. The DTD
1. Upload shadow.gif, shadow2.gif, and shadow2.png to the server, such as root_path/img/
2、 to styles-site.css
. Alpha-shadow {Clear: Both; Background: URL (root_paht/img/shadow.gif) No-repeat right bottom;Float: Left; margin: 14px 0px 0px 8
Supports all browsers and returns to the topCode, JS implementation, CSS assistance. After the page leaves the top of the page for a certain distance, the return button or image appears. Click Back to the top and then scroll to return to the top.
Today netProgramSet the CSS page. There is no problem in the style of the debug page under IE8 IE7 fire 3 opear safair browser, but the style under IE6 is lost. I searched for related problems online and found similar situations, but I didn't see
1. hexadecimal color value pairs of digits and case When writing hexadecimal color values, you may use lower-case letters or omit them into three digits. No data is found to prove whether this method affects the rendering efficiency of the browser,
Create a "graphic and text mixed CSS list. First, analyze the features of this list, and then compile the htmlCodeAnd apply the CSS style to achieve the final effect.
At the top of the page is the topic name "No worries about templates" and the
Jquery & CSS, top and bottom fixed floating toolbar compatible with IE6
Http://www.bluesdream.com
18
December
2012
Now, you can often see some websites (such as Sina Weibo and huaban) Navigation bars or
Today, I found a rounded corner demo written in pure CSS in my previous favorites during File Sorting. I would like to share it with you.
Doctype html > Html Lang = "En-us" > Head > Meta Charset = "UTF-8" > Title >
CSS margin attributes
The simplest way to set the margin is to use the margin attribute.
The margin property accepts any length unit, which can be pixels, inches, millimeters, or em.
Margin can be set to auto. A more common practice is to set
CSS now provides many features such as advanced options or namespaces. Let's take a look at how to use them. We will show some methods to select and apply some styles to the components: Using namespace for global selection, using ID selection,
Basic knowledge:
1. Length Unit
In CSS, there are two types of length units: absolute length unit and relative length unit.
Absolute length unit
The absolute length is measured in (INCHES), CM (centimeters), mm (millimeters), Pt
1. document. formName. item ("itemName ")Note: in IE, you can use document. formName. item ("itemName") or document. formName. elements ["elementName"];In Firefox, only document. formName. elements ["elementName"] can be used.Solution: Use document.
: Http://files.cnblogs.com/livexy/closure_packer_yui_compiler.rar
File List:
Install. cmd is the installation file. Run it.
Uninstall. cmd: uninstall the file and run it.
Function:
1. Right-click the JS/CSS file and select
Direct
This chapter summarizes all Positioning
I. Align leftCenter block elements
Invalid inline Element
① Align the content left and assign the text-align: left value to the block element, because the inline element contains the content size.
② Set the
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