locked
How to make a css let make a container with max height RRS feed

  • Question

  • User1741069310 posted

    <style>

    mstph-Grid-Container{max-width:1070px}

    </style>

    <div class="mstph-Grid-Container owl-carousel owl-theme" style="opacity: 1; display: block;">

    <br/><br/><br/><br/><br/>

    </div>

    Thursday, June 14, 2018 9:47 AM

All replies

  • User36583972 posted


    Hi fsze88,

    fsze88

    How to make a css let make a container with max height

    17 hours, 13 minutes ago

    <div id="reference-post-content" class="reply-comment">

    <style>

    mstph-Grid-Container{max-width:1070px}

    </style>

    <div class="mstph-Grid-Container owl-carousel owl-theme" style="opacity: 1; display: block;">

    <br/><br/><br/><br/><br/>

    </div>

    </div>

    You can try the following code.

    <html xmlns="http://www.w3.org/1999/xhtml">
    <head runat="server">
        <title></title>
        <style>
           .mstph-Grid-Container {
    background: blue;
    max-height: 160px;
    max-width: 160px;
    overflow: hidden;
    } </style> </head> <body> <form id="form1" runat="server"> <div class="mstph-Grid-Container owl-carousel owl-theme" style="opacity: 1; display: block;"> <br /> <br /> <br /> <br /> <br /> </div> </form> </body> </html>

    Best Regards,

    Yong Lu

    Friday, June 15, 2018 3:01 AM