Title using JSCRIPT/CSS programming technology to simulate the implementation of Tabview control Zosatapo (original)
Keyword JScript CSS tabview control web Design
Using JSCRIPT/CSS programming technology to simulate and implement Tabview control
[
1, VIM open nginx configuration file
Vim/usr/local/nginx/conf/nginx.conf
2, to find the following paragraph, to modify
gzip on;
Gzip_min_length 1k;
Gzip_buffers 4 16k;
#gzip_http_version 1.0;
Gzip_comp_level 2;
Gzip_types text/plain application/
JS operation is very simple direct document.getElementById (ID) can be used to operate the
Cases
The code is as follows
Copy Code
TITLEMydiv
jquery Operation method
The code is as follows
Copy
A more serious bug: Under IE6, IE7, the validation hint's style file does not load in.So this morning for this bug, tested several times, still not, finally found that the original is because of the jquery method of dynamic loading CSS tutorial
One, what is the Web standard?
Web standards are not a standard, but a collection of standards. The Web page consists mainly of three parts: structure (Structure), performance (presentation) and behavior (Behavior). The corresponding standard is
Instance The code is as follows:Copy code The following is the subject adaptive right width: modify the container width. I float left I float right content The Html code is just two div: The code is as follows:Copy code The Css
Implementation principle:(1) specify the width: 300px;(2) overflow: hidden; hide the excess content(3) text-overflow: ellipsis; IE proprietary attribute. When the text in the object overflows, the omitted mark (…) is displayed (...)(4) white-space:
Current page-for example, if the current page is a homepage, the color of the homepage on the navigation bar is different from that of other topics, which is used to give a clear indication to the viewer.Next, let's take a look at the specific
III. Format of stacked style sheetsIn general, the declaration of a style sheet is divided into selector and block {} (block). The block contains properties and value. The basic format is as follows:Selector {property: value}Other formats 1:1, 2, 3 {
If the same element has two or more conflicting CSS rules, the browser has some basic rules to decide which one is special and wins.It may not be as important as others. In most cases, you do not need to worry about conflicts. However, large and
Grouping GroupWhen many selectors have the same attributes, you can use commas to combine them.Example: The code is as follows:Copy code H2 {Color: red;}. ThisOtherClass {Color: red;}. YetAnotherClass {Color: red;} The above code can be written
I am used to solving the compatibility problem of different browsers after completing the page, continuously testing and constantly modifying CSS hack to ensure the best effect on most browsers. Internet Explorer needs to take into account both
You should have created an HTML document in the synthesis of the HTML Elementary tutorial, and added a line at the beginning of the CSS Elementary tutorial to associate the HTML document with the CSS document.The following code includes all the
CSS attributes:6. Text attributes:This attribute will affect the text display in the WEB document.The text-indent attribute describes the degree of text indent:Property Name: 'Text-indent'Attribute value: |Initial value: 0Target objects: container
Tip: you can modify some code before running CSS style three-level drop-down menu Source code enthusiasts Two-level menu Three-level menu Three-level menu Three-level
In the last two months, I have made several website artists intermittently and gained a better understanding of standard development of DIV + Css. There are two biggest gains: one is to thoroughly understand the Box Model of CSS, and the other is to
Now we need to design the layout. Like the traditional method, you must first have a rough idea of the outline in your mind, and then use photoshop to draw it out. You may see that most websites related to web standards are simple, because web
After understanding the XHTML code specifications, we need to perform CSS layout. First, we will introduce some introduction to CSS.Skip this section if you are familiar with it.CSS is short for Cascading Style Sheet.It is a simple mechanism for
This section describes the CSS application. Of course, we should first introduce how to create a Style sheet, including the declaration method and the method applied on the webpage, in the end, we will give you an overview of some CSS features. In
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.