We started using the bootstrap CSS open-source project. If you encounter a problem, the default input width is too large and you need to find a smaller value.
In fact, you only need to select a smaller predefined width in the input tag. For example:
// First load the script // in one script block jsloader. load ("RIA", "prototype", "1.5.1"); jsloader. load ("RIA", "pretloads", "1.0"); // in another script block: event. observe (window, "LOAD", prettyprint); // jsloader takes care of
In border, margin, and padding, when different browsers parse, the value of heigh is always different.
Border, after the W3C HTML 4.0.1 standard is used, it is not in the height, that is, Your Height = height. Otherwise, IE6, 7, and 8 contain
Visiblity is used to set the visibility of an element, that is, visibility/hiding. After hiding, the element occupies a position and is retained;
Display is used to set how elements are displayed. It is displayed as a line by block and "disappears".
--> blog
blog mountain hotels and stuff
homepage ArticleManagement Boyou album Leave a message about me
copyright holder: lutongbin Tel: 110119120 QQ: 168168168
Effect:
How to select different CSS based on the browser? For example, I have three CSS files. If the client is IE6, css1 is used. If the client is IE7 or IE8, css2 is used. If the client is Firefox, css3 is used.I found it online and said the following:
value
attributes
inhert
specifies that the value of the position attribute should be inherited from the parent element.
static
default value . The element is not located and appears in the normal stream
Word-break: normal | break-All | keep-allValid value:Normal: default value. Line feed allowed between wordsBreak-ALL: this behavior is the same as that of the Asian language normal. It also allows non-Asian text lines to be broken in any word.This
1. Float-floating layout: Set the floating Effect of block elements. Optional, left and right are commonly used. Width-width: determines the width of the box, so that the width of the box does not depend on the content. Height-Height: determines the
CSS? Isn' t that a multiplayer game?
Level 0th: CSS? Isn't it a multiplayer shooting game?
Some people go to the # CSS website for information about the game Cs: S (Counter Strike: source. Don't worry about these people. They can't make too many
Example:
Procedure:
1. Select anothereon001 skin
2. Copy the following to the custom CSS style
Body { Background: # a6b510 URL (http://hi.csdn.net/attachment/200910/27/2190_12566350969gCY.jpg) Repeat-y fixed center top; font-size: 85%;
I. Custom background and color
1. Background Color and text colorAdd style = "background-color: red; color: Blue" to the desired body, that is, specify the background to red and the font to blue, of course, you can set the font color with color in a
I. CSS positioning
1. Relative positioning: the position of the current element relative to the previous element. The front and back elements do not overlap each other.
2. Absolute positioning: the exact position of the element must be specified.
Cursor type
CSS
Place your cursor on the appropriate text to view the effect
Note that the actual effect of the cursor depends on the user's system settings, which is not necessarily the same as what you see here.
Cross
Http://hi.baidu.com/tanainai/blog/item/601171a812e757b2cb130cc9.html
Http://www.cnblogs.com/onlyzq/archive/2007/12/17/1001443.html
In this section, I want to tell you how to use it well.BorderAndClearThese two attributes.
First, if you have used
Write Boyuan
Positioning
Fixed fixed
Static
Relative relative
Absolute absolute
Floating
Float left and right
Clear floating
Summary
Reasons for writing this blog
Niu Yun's news publishing system functions have all
1. Window. Print mode:JSP page printing button:JS:Function print (){Window. Print ();In the style, set the hide button to print:2. webbrowser Control ModeWebbrowser is a browser control built in IE, which does not need to be downloaded by users.I.
I learned CSS and Div courses some time ago.
What is CSS?CSS
Cascading Style Sheet)
Is able to truly achieve
A style design language for separation of webpage presentation and content. Compared with the traditional HTML, CSS can
Object Location
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