Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall
I used to do the Web page in school with a simple form. Background Nothing, then slowly also learned some things. Here I say the background color of the Web page. Very simple, in fact, there are many video tutorials now.
The background of a homepage is the same as that of a room wall, the background design in the Web page is very important, especially for the personal homepage. A good background can not only affect the audience's acceptance of the content of the Web page, but also affect the audience's impression of the entire site. If you often pay attention to other people's websites, you should find that on different sites, and even on different pages of the same site, there will be a wide variety of different background designs. What are the different styles of the background, and how it is designed, and now I come to make a summary.
1. Color background
There is unmatched speed on the display on the edge. In Web pages, the design of color backgrounds is the simplest but also most common and most important because it is relative to the picture background. The color background of a page is typically specified by a label, and its HTML syntax is:
You can represent methods in a variety of colors, where "color" indicates a different color. More commonly used in the direct use of the color of the English name, such as blue yellow black, and so on, you can also use the hexadecimal method of color, such as #0000FF #FFFF00 #000000 and so on, in addition to the percent value method and integer method, the effect is the same
But there are a lot of places to pay attention to, although the color background is relatively simple. If you want to according to different page content design background color of the warm and cold state, according to the layout of the page design background color and page content of the best visual collocation and so on.
2. Sand background
The main feature is that the entire background of the page can be seen as a local background of repeated rearrangement, sand background in fact, belong to the category of picture background. The background of this kind of background is the sand pattern is common, so I refer to it as a sand background.
When you try to take your photo as the background of the page and find that the browser shows more than just a photo, the novice home creator has this experience. But the same photo in the horizontal and vertical direction of the repeated arrangement. This is the browser to dispose of the picture background of the law method, using this rule I can use a small picture as the background of the page, so that it automatically repeated on the page, covered the entire page, so that the size of the page greatly reduced.
is to find a small picture, the reader to now I am afraid already know the principle of the sand background and implementation methods. The smaller the better, but notice to make the final background look like a whole, not a number of pictures of the stack. The HTML syntax for its implementation is as follows:
Where the "picture" represents the URL path of the background image.
3. Strip background
Unlike a sand background, only the pictures are repeated in one direction. The stripe background and the sand background are similar to the page background in the horizontal or vertical direction of the repeated arrangement while the other side up is not the law is also the use of the browser to the picture background of the automatic repeat arrangement.
First, the image disposal software is used to make a horizontal bar picture with blue and white gradients from left to right, which is arranged in the vertical direction as an example. The length is equal to the width of the page. Also through
After the browser is displayed, set it as the page background. becomes the entire page from left to right blue-white gradient of the column color background. Of course, similar methods can be used to achieve the horizontal direction of the stripe background of the repeated arrangement.
4. Photo background
But the automatic repetition of the picture by the browser makes it difficult to achieve. What do we do? I can't believe I can't do this here. I use a simple CSS page file to add the following CSS statement to the background of your own or friends to see a little exciting things.
5. Composite background
So what do you see? Does the color background work? Yes, if you practice the above picture background "accidentally" also set the color background of the label. You can see the pictures on top of the color background you set, which can be displayed normally at the same time. This is a combination of the charm of the background, more attractive when you set the picture background because of some unknown factor and can not be normal display, the browser can automatically use the color background you set up to replace. Design method, I do not have to say more!
6. Local background
Can you set your own background on the page for a local content? The answer is yes. The background I mentioned is the background of the whole page. You can set a table that is different from the background of the page, the most unusual form of the design. Even in different table cells, you can set your own background for each table cell.
That's what I wrote today. I think I wrote about it, and now the Web software is also constantly updated and upgraded, perhaps I understand these are too few, if there is any see Italy and want to give me a message, we communicate together, progress together.
Source of this article: http://www.yotocn.com
Please use the link form to indicate the source, otherwise please do not reprint.