I have talked about this issue many times on the Internet. Today I will talk about it again. It is a friend who prefers to use ID.
Under normal circumstances, no ID is required for HTML + CSS, unless it is used when it is linked to JS. That is to
The evil IE6 does not support the max-height attribute, but we can use jQuery to solve the problem that IE6 does not support the max-height attribute. The jQuery code is as follows:$ (". Entry"). each (function (){If ($ (this) [0]. scrollHeight> 500)
CSS is used to control text overflow. The overflow attribute in CSS is mainly used. For examples of text overflow attributes, pay attention to the display effect of the first part of the text section. We usually use a lot, so it is necessary to know
Fckeditor is an open-source WEB visual editor. Because the software is small, easy to use, and convenient to everyone, many CMS in China use the FCK editor, recently, many netizens have reported to the fire that the hyperlink added to FCK cannot be
Setting the img, script, and link tags in the page as empty links can cause excessive page requests, including IE, Firefox, chrome, and Safari! However, when the src and href values of the script and link are empty compared with img, no request is
A problem recently encountered in the project is to make the image grayed out. I thought about several solutions.
One is to replace images, that is, to make normal images gray. This method should be the most stable,
However, it takes time to
We usually only use ul and li tags when creating a list. DL is rarely used. It also belongs to the List class label. The following describes the general usage:
A tag defines a definition list. entries in the definition list are marked by using
Section spacing is an important factor in the design of web pages to improve the reading experience. However, web page layout is not as simple as Word. Can you use CSS to efficiently set the paragraph spacing?Text layout problems in web design
As a
The power of CSS3 is amazing, and people have to feel pity for its difficult path. Good standards can only be regarded as "standard" if they receive good support from industry browsers ". CSS3 standards have been proposed for several years, but
In the tutorial of www.bkjia.com, we thought that the width and height of all elements should be controlled by css. As a result, html validator prompts that textarea must have the cols and rows attributes, otherwise it does not comply with W3C XHTML
As we all know, standard css naming can enhance the readability of style rules, so that you or others can modify the page later. At first, when I wrote css rules, I used Chinese abbreviations to name them. Now it seems very unprofessional, and it
(Www.bkjia.com) Tutorial CSS list rounded corner, used pictures in four corners, the advantage of using pictures is good compatibility, good performance in Firefox, IE, and little code, A friend who learns CSS may wish to use this code as an example
The CSS beautification instance in www.bkjia.com should belong to the layout category. The focus here is CSS. Therefore, the TABle uses Table and CSS to control the border of the TABle. Like the border in the Windows system form, the border of the
The background color of Iframe In the tutorial (www.bkjia.com) is the current window color in IE (white by default, you can set it in the display appearance ), this causes the iframe to be inserted in a large background to be "Transparent", but IE
DefinitionIE5 and later versions support the use of expressions in CSS to associate CSS attributes with Javas alias expressions. the CSS attributes here can be inherent attributes of elements or custom attributes. That is to say, the CSS attribute
Helper House (Bkjia.com) TutorialIframe is the Html syntax that we often use, especially in the background of some websites. Today, let's talk about how to use js and iframe to make background framework shrinkage effect, in order to facilitate
CSS abbreviation refers to declaring multiple rows of CSS attributes into one row, also known as CSS code optimization. The biggest benefit of CSS shorthand is that it can significantly reduce the size of CSS files. In fact, there are many other
The transparency of images is a special form used in Web pages. Although they are not very common, they are often caught off guard, although there are examples of CSS in webjx.com, we haven't systematically introduced CSS Alpha transparency yet. Let'
Css can process 16,777,216 colors and use names, rgb values, or hexadecimal code.RedEquivalentRgb (255, 0, 0)Rgb (100%, 0%, 0%)# Ff0000# F00There are 17 pre-determined colors, which are:Aqua, black, blue, fuchsia, gray, green, lime, maroon,
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