About the sliding door technology in CSS, webpart and membership in ASP. net2.0

Source: Internet
Author: User

it took a long time to learn about the sliding door technology in CSS the day before yesterday, because it is very common. key:
1. XHTML:


2. # nav {
Height: 100%;
margin: 0;
padding: 0;
Background: # ffffcc URL (.. /image/cssimg/nav_bg.gif) Repeat-x left bottom;
}< BR ># nav ul {
padding: 10px 10px 0px;
margin: 0;
list-style: none;
line-Height: normal;
}

# Nav Li {
Margin: 0;
Padding: 0px 0px 0px 14px;
Float: left;
Background: URL (../image/cssimg/a_left_non.gif) No-repeat left top;
 
}
# Nav {
Display: block;
Background-image: URL (../image/cssimg/a_right_non.gif) No-repeat right top;
Padding: 5px 18px 4px 4px;
Margin: 0px;
Font-weight: bold;
Color: # ffffff;
Font-size: 14px;
}
# Nav # current {
Background-image: URL (../image/cssimg/a_left_cur.gif) No-repeat left top;
}

# Current {
Background-image: URL (../image/cssimg/a_right_cur.gif) No-repeat right top;
Padding-bottom: 5px;
}

Web PartMedium:

CatalogzoneOnly: Declarativecatalogpart, pagecatalogpart, importcatalogpart;

Generally: DeclarativecatalogpartAndPagecatalogpartIt is not recommended to coexist in the sameCatalogzoneMedium,GenerallyWeb Part ZoneWhen all data can be loaded at the beginning. CatalogzoneIs usedPagecatalogpart;

IfWeb Part ZoneNot all pages can be loaded at the beginning.,Instead, you need to add the required modules by yourself.CatalogzoneIs usedDeclarativecatalogpart;
About membership:
To expand the user information in membership, Mr Su Peng introduced two types: profile and extended table.
Add the member role management in ASP. net2.0 to access: downloadSample access providers. Url:
Http://msdn2.microsoft.com/en-us/asp.net/aa336558.aspx

Related Article

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.