CSS ul Li left aligned, newline

Source: Internet
Author: User

. Info-warp{Min-height:20rem;background:#ffffff;text-align:Center;padding:1.4rem;}. Jx_ul-info-list{margin:2rem Auto;text-align: Left;Display:Inline-block;List-style-type:None;}. Jx_ul-info-list Li label{width:50%;Display:Inline-block;text-align: Right;vertical-align:Top;}. jx_ul-info-list Li Span{width:50%;Display:Inline-block;}
 <Divclass= "Info-warp">        <Pclass= "Success-text">Congratulations to you! Registration successful</P>        <ulclass= "Jx_ul-info-list">            <Li>                <label for="">Event Name:</label><span>Crossfit</span>            </Li>            <Li>                <label for="">Project Name:</label><span>Crossfit May</span>            </Li>            <Li>                <label for="">Name:</label><span>Aa</span>            </Li>            <Li>                <label for="">Event Name:</label><span>0001</span>            </Li>            <Li>                <label for="">Venues:</label><span>Stadium venues venues venues venues venues venues</span>            </Li>        </ul>        <Divclass= "Weui_btn_area weui_btn_area_inline">            <ahref= "javascript:;"class= "Jx_btn bg-blue2-b">View my Schedule</a>            <ahref= "javascript:;"class= "Jx_btn weui_btn_blue">View Other Items</a>        </Div>    </Div>

achieve left and right symmetry, word wrapping

CSS ul Li left aligned, newline

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.