Posted in CSS + XHTML on 06/08/2009 12:32:57 | reprinted Please note: from Cui Kai's blog
The Forum mentioned the following question: "What are the advantages of CSS technology that uses a background image as a page ?"
Briefly introduces the
In the eyes of a CSS attacker, I am afraid the IE series is compatible.The worst browser, especiallyIE6. However, I found that Google's Chrome browser is also difficult to solve, but it is a small detail. I don't know if you have ever encountered it.
. Tablel
{
Border-collapse: collapse;/* key attribute: Merge the outer and outer borders of the table (in fact, the outer border of the table has 2px and 1px, and the outer border has 1px )*/
Border: solid #999;/* set border attributes; style
View code
Html > Head > Title > Css1 Title > Style > H1 { Color : Red ; Font-size : 14px ; Font-family : "Sans serif" ; } P { Text-align : Center ; } Body { Color : Blue ;
1.>
In Div, if the height is set to be smaller than 20px and the content is blank, the height setting in IE6 does not work, and IE sets a default height of 20px, the solution is to set font-size: 1px, which is to set the default font size to the
Priority is actually a problem solved by a conflict. When the same element (or content) is selected by the CSS selector, different CSS rules should be selected based on priority, this involves a lot of problems.
The first is the specificity
ArticleDirectory
Modifier Selector
However
More efficient CSS selectors
Efficient CSS is no longer a new topic, nor a topic that I have to repeat, but it is a topic that I have always followed after working at Sky.
Many
In the webpage design, the height: 100% can be used for the whole screen, but the following must be added to the webpage header:Later, we found that the height: 100% attribute was added to both HTML and body, which is the key to the highly adaptive
One of them
/*---------------------------------------------*//* ----------- Gallery code start --------------*//*---------------------------------------------*/. Gallery {Margin: 0; padding: 0;Overflow: hidden;/* clears the floats */Width: 100%;/*
The navigation bar is a commonly used module in Web pages. There are many ways to implement it. The following is how to implement it using CSS:
homepage
blog
Design
album
Forum
about
The CSS code is as follows:
CSS background example:
Set background color
This example shows how to set the background color for the element.
Set text background color
In this example, how does one set the background color of some texts.
Set
1: HTML IntroductionHTML refers to Hyper Text Markup Language. It is not a programming Language, but
Markup Language-- Describe web pages by Tag. Here is a simple example:
1 2 3 webpage information 4 5 6 7 Heading 8 paragraph. 9 10
In
1. style profilingA style consists of two parts: the Selector and the Declaration Block declarative Block ). The selector may be a large title, text, or a photo. The Declaration block turns the text blue and adds borders to paragraphs. For
Ah !~ It is hard to find an electronic Chinese version on the Internet, but it has been shown in the image format.
The file is too big. It has not been sorted out for a whole day, and the control is not enough. Here I uploaded the content of the
1. Introduction:
In the previous article, we briefly introduced the request method in this mode, which gives us a general understanding. In the subsequent sections, we will talk about settings in webconfig today, the setting here is to make
1. Review
In the previous article, we introduced the settings in webconfig to lay a solid foundation for data processing. Now let's talk about the RemoteCallHandler class in detail.
2. Introduction
The RemoteCallHandler class is defined in webconfig
Now the layout of DIV + CSS is very popular, and its advantages are mythical by many people. Some time ago, when talking about website design, many people would open their mouths to me, and I felt very amazing. When talking with the customer, it is
CSS controls the background display of each element in html, including the background color, background image, repeated background, background positioning, and background Association. In CSS, you can use the background attribute to control these
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.