Wednesday, 28 February 2018

Form Designing with Div tag using inline CSS in HTML

DivCSS.html
<html>
    <body>
        <style type="text/css">
            .rightfloat
            {
                color: red;
                background-color: #BBBBBB;
                float: right;
                width: 200px;
            }
            .left {
                font-size: 20pt;
            }
            .separator {
                clear: both;
                width: 100%;
                border-top: 1px solid black;
            }
        </style>
        <div class="separator">
            <div class="rightfloat">
                Some really short content.
            </div>
            <div class="left"> 
                Some really really really really really really
                really really really really big content
            </div>
        </div>
        <div class="separator">
            <div class="rightfloat">
                Some more short content.
            </div>
            <div class="left"> 
                Some really really really really really really
                really really really really big content
            </div>
        </div>
    </body>
</html>
https://www.youtube.com/channel/UCKLRUr6U5OFeu7FLOpQ-FSw/videos

0 comments

Post a Comment