CSS
IE7.0 Simplified Chinese official version finally released, for me and the Web page to deal with the Web page compatibility problem also followed. IE7.0 has a significant change is to support the!important, is a good thing, but also to the vast
Css
Current page--for example, now the page is the homepage, then the first page of the navigation bar color and other columns are different, to give visitors a clear indication.
Below the specific approach, the basic menu implementation and the
css| Standard | process | Problems using XHTML+CSS Framework benefits a lot, but there are some problems, whether it is because of the use of unskilled or unclear thinking, I first put some of the problems I encountered in the following, the
css|xhtml| Web page
XHTML files are controlled by a CSS style display that combines XHTML and CSS to represent the content of the page. So what are the ways to introduce CSS styles into XHTML files?
First, use the Style property
Add the STYLE
css| Beginners | skills
Declare CSS within a single line
Let's compare the following two pieces of code:
H2 {font-size:18px border:1px solid blue; color: #000; Background-color: #FFF;}
H2 {font-size:18px;BORDER:1PX solid blue;Color:
css| tips
Five. Default value
Usually the default value for the padding is transparent, which is the default value for 0,background-color. However, the default values for different browsers may be different. If you are afraid of conflict, you can
css| Tips
With a piece of CSS Layout design Web page, found that their naming a little confusing, completely according to their own ideas named, although there is no impact, there is not to see the source file, but the studio sometimes and team work
Css
The last defined CSS style overrides all existing or conflicting styles defined before it, such as the following example:
p {color:red; Background:yellow}p {Color:green}
The above paragraph will eventually render a green font, with a yellow
css| Tips
10. Do not need to quote the background picture path
To save bytes, I recommend that you do not enclose the background picture path with quotes, because the quotation marks are not required. For example:
Background:url (images/***.gif) #33
Detailed |CSS Priority
Found that a lot of friends do not know the priority of CSS, the rules are simple. Need to explain the point, if your style management needs to deeply judge the priority of CSS, more should reflect on their own CSS code, is it
Css|javascript| can be dragged
mouse move over to try shutdown i like you, does you know? if you don ' t know,now I tell you,i tell you! transparent form, drag
css|js| Menu
First look at the effect:
HTML code:
This is menu 1.
This is menu 1.
This is submenu
This is menu 1.
This is submenu
This is submenu
This is menu 1.
This is submenu
This is menu 1.
This is submenu
This is
CSS font processing in the Web page design no matter how stressed also is not too much, after all, the use of Web pages to convey information, and the most classic and most direct way of information transmission is text, so, to understand a little
Css
IE vs FF
CSS Compatibility essentials:
DOCTYPE affect CSS processing
Ff:div set Margin-left, Margin-right is already centered when auto, IE not
Ff:body set Text-align, Div needs to set Margin:auto (mainly margin-left,margin-right) to center
FF:
CSS truncation is a disgusting problem. In order to take care of performance needs, it is often necessary to cut short sentences that are too long, such as a headline in a list.
This is usually handled by programmers using background technology (a
CSS|CSS Menu | transparent
This is a transparent CSS menu, Compatibility: ie5.5+, Opera, Frefox, Netscape.
CSS code:
The following is a reference fragment:body{font:80% Arial,sans-serif;Background: #666;}#nav {width:170px;Background:url (navbg.gif)
CSS is commonly used for forms. But when the Web Standard station, his layout is often forgotten, to the real use of the time found to be a headache, of course, I have encountered. I would now like to introduce a method of making beautiful 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.