Preliminary knowledge of asp.net-Beef Brisket Press Release system

Source: Internet
Author: User

       in the beef Brisket news release of the system, there is always a feeling is: I am still knocking at the computer room charge system, the only difference is that when the computer room charges, the user interface is his hand animation interface, and, in the Beef Brisket press release system, user interface, but it is necessary to use their own code to write, Then control through styles and labelsWeb (Web page)The various layouts on text and controls,Webthe various controls on the form, again through the box model, appear methodically in theWebon the form

CSS style: Box model: For example, a box model, in which the outer margin, border , padding, content

  1. through Margin: Set 4 Outer margin of an outer box
  2. through padding: Set 4 Inner margin of internal border
  3. through Border-width: set the width of the border

the content on the Web page is identified by the selector, class styles change the layout of content on a Web page by defining a selector.

ID Selector and category selector ( Class )

So when do you use ID Selector, when do you use the category selector?

  1. IDas the name implies, can only occur once, only one object can be identified
      1. A website split (head) (body) (footer) Three parts unique, so use id identify
    1. class Gu Ming, Multiple objects form a class, class can identify multiple objects
      1. But when the three parts have a portion of text that you want to display in red, you can use class Span lang= "ZH-CN" style= "font-family: Young circles; Font-size:11pt "> identity

This blog post seems simple and basic point, but all the knowledge must start from the foundation!

Preliminary knowledge of asp.net-Beef Brisket Press Release system

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.