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
>
Meta
HTTP-equiv
= "Content-Type"
Writing sequence of Hyperlink styles in CSS
There are four hyperlink styles:
A. Link {}/* normal style */
A. Visited {}/* style accessed */
A. Hover {}/* outdated style of mouse hyperlink movement */
A. Active {}/* specifies the style when you
. 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
Just encountered a strange problem, such a CSSCode:
Background: URL (images/BG/bg1.gif) No-Repeat;
This Code does not show any background image, but collapsed...The code is certainly okay. Even if I haven't located the background image, I will not
Position: absoulte jumps out of the Document Stream. This attribute can be activated only when any trbl attribute of an element is set.If this attribute is not set for the parent element, the offset of the element is relative to the entire screen.
CSS design: Chapter 2
XHTMLAnd HTMLImportant differences
1. Mark the name in XHTML in lower case
2. In XHTML, the attribute name must be in lowercase.
3. the tags in XHTML must be strictly nested.
4. Mark in XHTML as closed
5. In XHTML, even the
DEMO code
//////// The following is another example. You can use jquery. corner, but it is too complicated .. So you don't need that.
snail bait Borders Based on Nifty Corners By Alessandro Fulciniti
Document directory
Author: fmms 2011-11-01 10:32:45CSS allows you to do many things, but for developers, there is a lack of many features, such as variables, constants, and some programming syntax. This article introduces 8 CSS preprocessors
Rating: In the past, when we wanted to go back to the top, we had to scroll up the scroll wheel until it rolled to the top. Now we can see a button in the lower right corner to return to the top; today, I want to talk about the layout of this button.
The css between browsers is incompatible with each other. I believe that all web page makers will hate each other.
I have collected some common compatibility problem solutions and shared them with you.
1. The text size is incompatible.14 Px in
The so-called "omitted" means to display the extra words with "...", while the display means to display the omitted words again when you move the mouse over td. For a table, CSS is compatible with the omitted methods of IE, FF, and Chrome:
1 table{
There are four hyperlink styles:
A. link {}/* normal style */
A. visited {}/* style accessed */
A. hover {}/* outdated style of mouse hyperlink movement */
A. active {}/* The style when you right-click the mouse over the hyperlink */
The normal
Frame page file settings:
or
Method 1:
Disadvantage: the white ones in iFrame become transparent.
Method 2: (recommended for personal use)
There are several other methods to compare:
This article introduces the principle of margin parameter omitting in CSS. The margin attribute is used to set the margin of the four sides of the object. If all four parameters are provided, the top-right-bottom-left order is applied to the four
Many other attributes of CSS are easy to understand, such as fonts, texts, and backgrounds. Some CSS books will also introduce these simple attributes in a great way, but ignore the explanation of some difficult attributes, which may be avoided.
navigation menu finance and tax homepage government affairs disclosure online services announcement center regulatory center tax culture topic promotion welcome to source code lovers.
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
Method 1: directly add a style in
horizontal arrangement Adding's Blog
Method 2: implement it by defining CSS of li
homepage News Center product online feedback service contact
homepage News Center product online feedback service
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