Is the art of a site produced by an illustrated list of news headlines, the layout of the table, the upper right and the lower part of the distribution in two cells, the program is not easy to implement: it can be divided into two queries, fetch 4
. test{
width:200px;
height:50px;
border:1px solid red;
padding:10px;
Overflow:hidden; /* Do not display content that exceeds the width of the object */
Text-overflow:ellipsis; /* Show ellipsis (...) when text inside an object overflows.
Here are examples of some of the more commonly used properties.
Margin
margin-top:1px;
margin-right:1px;
margin-bottom:1px;
margin-left:1px;
Code simplification to:
Ask questions:
I set nowrap and do not set nowrap effect are the same. Is that the table automatically stretches with the text, why?
→ Answer the question:
The behavior of the TD element NoWrap property is related to the width property of the TD
1. Check HTML elements for spelling errors, forgetting to end tags
Even a veteran often makes a mistake about the nesting of Div's relationships. You can use the Dreamweaver validation feature to check for errors.
2. Check that the CSS is
Search on the internet did not see how to use CSS to create a label navigation tutorial or instructions, most of them are to be involved in the compilation of JS. This is a lot of CSS in the study of the people are really not thoughtful, since no
inline style
embeded style
External style
User Style
The inline style is ugly, and they travel through HTML documents, twisting together with HTML elements, creating a lot of trouble for web front-end developers. They often appear in the same guise:
Difference between IE6 and FF:
Background:orange;*background:blue;
Difference between IE6 and IE7:
Background:green!important;background:blue;
Difference between IE7 and FF:
Background:orange; *background:green;
Difference
Many friends are still using Dreamweaver (hereinafter called DW), it is undeniable that this is a very good software, he basically achieved what is WYSIWYG. It is also because of this that many web-makers are ignorant of (x) HTML tags. However, to
The theoretical basis is necessary, and practice is the way to ascend and understand the theory, both of which are equally important, and any design and developer who leaves the balance of the two, regardless of which side, will fan or left or right
prcss tabs www.jb51.net Home hehe, ignoring the original class value of Div. Test Continue ignoring H3 original class value. Boredom h3 No value can also ~ The Silly Egg div No value can ~ home hehe, ignoring the original
The formal description found online:
Reference content
This value causes an element to produce a blocky box model (Block box), which itself flows as a single inline box model (flow), similar to an substituted element. A block box model is formed
There are 4 common ways to associate HTML documents with CSS:
Using the link tag
Using the STYLE element
Using the @import directive
Inline style using the Style property (inline style)
It's a red word.
In practice, inline styles
Web developers are concerned about the coexistence of IE7 and IE8 in fact can be very good solution.
Solution One:
In the upper right corner of the browser there is a "mimic IE7" toggle button, but a bit troublesome, you need to close
The use of the target attribute in tags is not allowed in HTML 4.0 strict and XHTML 1.0 strict, which is a frustrating thing for web designers. It is still permissible in the specification of the transition. But by some means, we can solve this
This is a new problem, and the Web pages that are currently working in IE7 are problematic in IE8.
Microsoft offers three modes of parsing pages in IE8
IE8 Standard Modes: The default mode, in strict accordance with the relevant regulations
IE7
Using pure CSS to build star ratings is being used more and more in network Ria, combined with Ajax and other technologies, can render a very good visual effects and a great user experience, before the beginning of this article, we can first go to
Ie5mac filters are also valid for IE8 beta version 1
IE8 Beta version 1 does not support truncation, that is, the CSS3 in the text-overflow:ellipsis;
About the first article may have little impact on everyone, no matter how the Mac under the people
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