I WANT TO MAKE A LINE JUST LIKE BELOW THAT IN HTML CAN ITS POSSIBLE?

Jayden Bell

Total Post:110

Points:774
Posted by  Jayden Bell
 1494  View(s)
Ratings:
Rate this:

Hi every one

I want to make a line just like below that in html using css, can its possible?

Thanks in advance


  1. AVADHESH PATEL

    Post:604

    Points:4228
    Re: I want to make a line just like below that in html can its possible?

    Hi Jayden Bell

    Yes it is possible. You can try this way.

    <html>
    <body>
    <div style="width:200px; background-color:#E5E5E5; height:15px"></div>
    <div style="display:inline; float:left; margin-top:-15px; width:20px; height:15px;background-color:Green">  </div>
    </body>
    </html>

    I hope it resolve your problem

     

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!