Problem description: after submission, the CSS part becomes invalid, such as the DIV position and font size.Problem solved: The cause is that we used response for all the prompt statements in the past. write (""), used. write outputs JS
1. CSS import:
First, put the CSS document in the document:
In .2. I learned a new trick on the internet today to make the widget color gradient.. Test {filter: progid: DXImageTransform. Microsoft. gradient (startcolorstr = 'white', endcolorstr = '
Last time I recommended two tools for Online Editing and debugging of javascript: [JavaScript] Two online JavaScript debuggers. This time I recommend a lightweight tool for online debugging of CSS. Some may say that I have, expression, DW, and so on.
The following are the most common and practical CSS skills.
1. Reset the font size of the browser Reset the default value of the browser, and then reset the font size of the browser. You can use the CSS solution reset on the Yahoo user interface.
The function of custom CSS is tested,CodeThe display effect is much more comfortable than that in the default status.
Refer 《Cnblogs blog typographical skillsHttp://www.cnblogs.com/lyj/archive/2008/11/30/1344463.html
The CSS style copied
I saw a blog in the morning and it had nothing to do with it, but it was very nice to have a few nice underlines. Although it was very simple, it was useful for people who often wrote blogs. Here we will share with you, if you like it, use it
The famous web design website CSS-tricks.com recently organized a survey to ask 15 top web designers to put their own expectations on CSS, 15 designers including Jon Hicks, Wolfgang bartelme, mint Shaun Inman and stuff and nonsense Andy Clarke.
ArticleDirectory
I. CSS selector hack
Ii. CSS attribute hack
Iii. ie comments
Iv. browser Detection: JS/backend program judgment
5. Personal Recommendation writing
6. A comprehensive list of IE6 +/Firefox/WebKit/opera CSS
In general, the element has the default white-space: normal (automatic line feed, PS: Do not wrap is white-space: nowrap ), when the entered text exceeds the defined width, it will automatically wrap, but when the entered data is a pile of
Why do I write li # first as the ID selector? I. A question?
I have seen an article about CSSArticleFor selectors similar to li # first, because the ID can be used to determine the elements, there is no need to write the preceding Li, simply write
Briefly list the factors to consider when designing navigation menus
1. Full menu navigation based on images means that the font size of the menu cannot be adjusted for the person with amblyopia... In addition, you must create an image each time
Doctype HTML public "-// W3C // dtd xhtml 1.0 transitional // en" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"
>
Html
Xmlns
= "Http://www.w3.org/1999/xhtml"
>
Head
>
Title > JS + CSS floating layer with
National Day is coming, mobile phone station (http://www.sjjyz.com) home page also want to bring visitors a little joy feeling, so art made two flash respectively on both sides of the web page blank place, at the same time, they want to scroll along
CSS can be introduced on the page in three ways:
1. directly write in the page (in the header Area)
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->
2. Use link for Reference
Code highlighting
When the value of width is a percentage, the length of the element is calculated relative to the parent container.
The better understanding of padding-right and padding-left is also relative to the parent container, but error-prone is
Hack quick query table
Suggestion: use the standard browser to write the code. If the compatibility problem occurs, try other methods to solve the problem, and use hack to solve the problem.
The following is a summary of the hack writing
/*************************************** ****************************************/Different browsers, such as Internet Explorer 6, Internet Explorer 7, and Mozilla Firefox, have different understandings of CSS parsing, which leads to different page
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