4. Create Dreamweaver (style sheet CSS) and dreamweavercss

Source: Internet
Author: User
Tags custom name

4. Create Dreamweaver (style sheet CSS) and dreamweavercss
Style sheet style

It can be written in the body or in the head.

 

1, HeadEx.(Style sheet selector)

<Head>

<Style type = "text/css">

Body (Simple setting)

{

Background-color: # CC0;

Background-image: url (.../%E5%BE% AE %E4%BF%A1%E4%BA%8C%E7%BB%B4%E7%A0%81.jpg );

Background-repeat: no-repeat;

}

Table

{

Background-image: url (.../../360%E6%88%AA%E5%9B%BE20141116110142765.jpg );

Background-repeat: repeat;

}

.Custom name (used in other labels, for example, <body class ="Custom name ">)

{

Background-image: url (.../%E5%BE% AE %E4%BF%A1%E4%BA%8C%E7%BB%B4%E7%A0%81.jpg );

Background-repeat: no-repeat;

Background-size: contain

}

Table.Custom name (only in tableLabel, tableAnd ".There is a space between the custom names)

{

Color: #3F0;

}

.Custom name font(Automatically search forThe user-defined name "has a fontThe part of the tag and the style assigned to it)

{

Font: "文 ";

}

# Textfield(In #Add ID, You canStyleSet separately)

{

Border: dotted

}

</Style>

</Head>

 

 

2BodyStatement in:

<Body class ="Custom name ">

<Table class ="Custom name ">

<Tr class ="Custom name ">

<Td>

<Font>

<Input type = "text" name = "textfield" id = "textfield"/>

</Font>

</Td>

</Tr>

</Table>

</Body>

 

 

Import cssMethod:

 

1. In the html file: <link rel = "stylesheet" href1_xxx.css ">

2. then append other css: @ import url(“xxx.css "),

 

Selector priority:

ID> class> label

 

Link style:

A: The status before the link hyperlink is clicked

A: status after clicking the visited hyperlink

A: When hover is hovering over a hyperlink

A: When a hyperlink is clicked on the active node

When defining these States, there is an order of l v h

Css Filter

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.