· UL labels have padding values by default in Mozilla, while only margin has values in IE.
· The same class selector can be repeated in a document, but the ID selector can only appear once. CSS is used to define a tag using both Class and ID, if
Image Viewer built with CSS + JS
This is a simple image Viewer built with CSS + Js. You can click a thumbnail to view the large image. The description of each image is displayed. The position of the large image is fixed width and height, and the
If the table is not complex, it only contains several rows and columns, or uses DL. dt. dd. If complex data is displayed, such as registering the personal information list, we recommend that you use table.
Table data list:
Data list of
1. Link labels belong to the XHTML category, while @ import is unique in css2.1. In addition to loading CSS, link labels can also do many other things, such as defining RSS and rel connection attributes. @ import can only load CSS.
2. the
Principle: By accessing cookies and Dom operations, different style sheet files are called to enable foreground skin replacement. Skin replacement example download: sour.rar html
Code Part: 1. to have a style sheet link with ID, we need to call
1. Keyword, for example: Background-position: Top right;Advantages: intuitive, high availability, consistent performance in various browsers.Disadvantage: The interval size is missing. three vertical (top, center, bottom) and three horizontal (left,
This CSS technology uses absolute positioning of a background image to reduce HTTP requests and speed up webpages. CSS Sprite is best suited for background icons or decorative background images.It is to integrate many background images into a
Drop-down and pop-up menus are commonly used in website design. This menu form can make full use of the current space of the page to hide and display more content, and properly classify and display the content, it is a very good form of
A Brief Introduction: CSS Sprites can effectively reduce the number of HTTP connection requests for image files. multiple images are merged into a large image file at a certain interval. the elements that use these images on the page will use the
Body {Font-size: 0.8em;Color: Navy;}The above indicates setting the font-size font size and color font color for the body selector.
So basically, when it works with an HTML page, the text color between the body tag (content in the entire window) is
So how should we implement the flow navigation menu?
I,
Move the mouse over menu, that is, the show prompt information.II. Implementation steps1. CSS Code Copy code The Code is as follows: menubarholder {width: 730px; Height: 45px;
1. Greatly reduce page code, increase page browsing speed, and reduce bandwidth costs;
2. Clear structure, easy to search by search engines, and naturally optimized Seo 3. Shorten the revision time. You can simply modify several CSS files to
What is a css framework?
In fact, let's start with the Framework.The framework is a basic conceptual structure that you can use for your website project.
Css frameworks are usually just a collection of css files, including basic layout, form styles,
The browser's condition annotation theory is explained in the following example.
(X) HTML
The following code is used to test the effect of the condition comment statement in Microsoft's IE browser.
you are using IE Version 5 Version 5.0 Version
The value of the boundary margin in CSS can also be negative. Sometimes we can't believe it. This is an interesting topic. The negative boundary will bring us more novel ideas, it makes our work more exciting and challenging.
Let's take a look at an
CSS Box Model
The inmost part of the element box is the actual content, and the content is directly surrounded by the padding. The padding shows the background of the element. The edge of the padding is the border. The outer border is the outer
1. Vertical center of block-level elements
vertical center of block-level elements vertical center of block-level elements Tutorial # wrapper {border: 1px solid # ccc; width: 400px; height: 200px; text-align: center;
In recent years, hypertext mark language (HTML) has been rapidly expanded. To meet more needs, it adds many extension functions. The newly designed and attractive web pages are increasingly dependent on java applets, embedded scripts, text boxes,
W3C recently released two standards, XHTML Basic 1.1 and mobile Web best practices 1.0. Both standards are applicable to mobile Web. XHTML Basic 1.1 is the W3C-recommended mobile Web markup language.There are many branches of mobile sdks. 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