Separator of the Repeater control

Source: Internet
Author: User

In the Repeater control, it is easy to use separators between rows. Because this control has built-inSeparatorTemplateTemplate. For example:

 

When running, you can see the effect:


To be honest, Insus. NET makes a horizontal line, and does not like to use hr, because it starts from the line at runtime, as if there is a small dot. Therefore, we prefer to use div labels.



Run it again to see:




The following Insus. NET puts the horizontal line effects produced by hr and div together, and you can see the difference:




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.