I have been studying web development for four months. In these four months, I have learned a lot of skills and knowledge. In this study, I began to develop the habit of taking notes. Because I used to learn other technologies. It takes a lot of time
The search box at the top of the flying fish sonar gave me a long headache, because it was impossible to get a unified style across browsers. There are two main problems: first, the height of the input tag cannot be uniform, and the height of
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:
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. Text alignment1. Paragraph alignment left alignment right-aligned center alignment 2. Full page settings the content here can be set by Div
Ii. HTML list1. ordered list: numbered indent list first line second line Row 3 2. unordered list:
JS + CSS imitation netease tab style _ webpage code site (www.6a8a.com) webpage code site ASP source code adaptive width the most professional website for downloading web code-dedicated to China webmasters provide quality web
1. Simplified CSS font definition rulesThe general writing method is as follows:
Font-weight: bold;Font-style: italic;Font-varient: Small-caps;Font-size: 1em;Line-Height: 1.5em;Font-family: verdana, sans-serif
In fact, you can write it in a more
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
The CSS pseudo class is used to add special effects to certain selectors.Examples of CSS pseudo-classes:
Hyperlink
This example shows how to add different colors to hyperlinks in the document.
Hyperlink 2
This example shows
A design group was added a few days ago. A group of people were clamoring to learn CSS, but they didn't know where to start. So I muttered in the group, "Haha, I am a master .... "As a result, there were countless cursing. Although I was not
// Use two $ elements to avoid conflict with jquery.Function $ (s ){Return document. getelementbyid (s );}Function setblue (){// Write cookie first// Writecookie ("iscssstyle", "CSS/crm_blue.css", 365, true );// Set a new CSS file$ ("Maincss"). href
I wrote a CSS embedded Javascript expression. In this case, the single-line text input box is blocked from submitting by carriage return. The result is a list with many submit entries, and the page cannot respond when it is opened. After checking
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
View demo
Step 1. Create HTML
demo A New Age has begun... the Undead armies of the Lich King have been vanquished, and the campaign in northrend has come to an end.
Step 2. Create CSS
#
Introduction
Like HTML, CSS is also a markup language with simple code. It is interpreted and executed through a browser. It is a style table language used to define the layout for HTML documents.Purpose:
HTML is used for structured content; CSS is
On the Concept of Div + CSS another blog has been written a lot: http://blog.csdn.net/cjl5678/article/details/7606229
Next, I knocked on a small demo to enhance my understanding of Div + CSS and understand the usage skills in this area. The instance
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.
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