Home > DeveloperSection > Forums > I want to make a line just like below that in html can its possible?
Jayden Bell
Jayden Bell

Total Post:105

Points:739
Posted on    December-31-2012 12:57 AM

 CSS-CSS3 CSS-CSS3 
Ratings:


 1 Reply(s)
 1110  View(s)
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




AVADHESH PATEL

Total Post:604

Points:4228
Posted on    December-31-2012 8:24 AM

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

 


Don't want to miss updates? Please click the below button!

Follow MindStick