CSS dynamically controls long string styles on the page
During front-end page development, the length of a column in the setting list is often encountered. Such as title and remarks
However, some of them need to dynamically adjust their length
For the background-position attribute, I thought it was for merging background images. It is to combine some common images of the website, and then use the background-position to locate a position in the composite background image to obtain the
Forced to quit the Java back-end coding and client programming jobs he is good at, he turned to Web application development. Therefore, some basic knowledge of the Web Front-end, such as HTML basics, CSS, and JS, is a must-have knowledge. You
When using IFRAME on the page, setting the body width in the CSS style sheet and directly setting its width on the page results in different results.
Body {Background-color: # ffffff;Font-family: "";Font-size: 12px;Line-Height: 150%;Clear:
As the name suggests, IE6's classic hack is: an underscore "_", for example, _ color: # ff0000; but this example is placed at the bottom.
The hack of IE6 & 7 is: an asterisk "*", for example, * color: # ff0000. However, this should be placed
CSS form-text input box beautifying CSS tutorial[Code] yesterday I made a form template to show you the dazzling and beautiful fashion form template. Today I will take a closer look at the beautification steps of the text input box, and the experts
The purpose of this chapter is to mainly describe the CSS-related classes and relationships, and cannot explore their processes and principles. We will discuss it later.
CSS is mainly used to modify the appearance and layout of Dom. It must be
Class internal hack:
IE6 recognizes underlines _ and *
IE7 recognition *(Unrecognized _)
FF cannot be identified.
Selector hack:
IE6 can recognize * html
IE7 can recognize * + HTML or *: First-Child + html
HTML header reference (if IE)
CSS failure caused by garbled characters:Because a Chinese character is composed of two characters, if the encoding is inconsistent, it will lead to a "re-" combination of characters, (a new "text" is generated when the encoding character of the
I. Make full use of CSS abbreviations /* Pay attention to the top, right, bottom, and left writing order */1. margin (4 sides ):1px 2px 3px 4px (top, right, bottom, left)1px 2px 3px (Omitted left equals right)1px 2px (Omitted top or bottom)1px (the
Addclass (class)-Add the specified class name for each matching element.Parameter: Class-names of one or more CSS classes to be added to an element. Separate them with spaces (string)Example 1:Add the 'selected' class to the matched element.HTML
AAA AAA BBB
Open the webpage document in the IE browser and find that the Left and Right Div blocks are not closely adjacent, but there is a 3px gap in the middle, removing the comment statement in CSS, the problem is solved.
Add the following
How to encapsulate JS and CSS files as server-side controlsWe encapsulate a JS date control as a column and combine it with the textbox of the server to form a server control, which can be used directly on top. In fact, it is very easy for everyone
The industry is paying more and more attention to the standardized design of Div + CSS, ranging from major portal websites to countless personal websites. Under the influence of Div + CSS standardization, web designers have taken this requirement as
After the website is re-designed with Div CSS, the speed and aesthetics will be improved, but the compatibility test must be completed.When the DIV design button is used, it is more effective and simple. Website Div CSS, even if you are not using
In this blog, we will continue to analyze other effects of CSS + Div. At least it will be enough, right. I have talked about some basic things. For details, see:
Proficient in CSS. Div webpage style and layout (2)-Section
Proficient in CSS. Div
Transferred from jcdmt blog
Understanding and application of the line-height attribute of CSS rows
The concept of Line Height seems very simple-the height of text lines. In fact, the basic knowledge of line height is also important for
Cascading Style Sheets: the definitive guide, 2nd edition is a thorough review of all aspects of css2.1 and a comprehensive guide to CSS implementation. the book already des new content on positioning, lists and generated content, table layout, user
Original article:Http://www.ndesign-studio.com/blog/mac/css-dock-menu
From:Http://www.diglog.com/story_technology_design_18907/
If you are a Big Mac fan, you will love this CSS dock menu that I designed. it is using jquery JavaScript library and
1. Intra-row style.
Write the style between element tags.
Use CSS to control the intra-row style of the page style
2. embedded
Write the style between the head and use to include it.
3. Link
The link is the most frequently used and
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.