+ 1

how can i make diameters in circles and also write text in everyparts of circle?

13th Jun 2016, 3:40 AM
saurabh patel
saurabh patel - avatar
5 Antworten
+ 1
you can use these lines : css : .circle { width:100px; height:100px; border-radius:50%; background-color:#450034; } .half-box{ width:100px; height:50px; } #top { border-bottom:1px solid #780068; } #bottom{ border-top:1px solid #780068; } .half-box>p{ font:normal 12px tahoma; color:#fff; margin-top:15px; margin-left:35px; } /*html : */ <!DOCTYPE html> <html> <head> <title>Page Title</title> </head> <body> <div class="circle"> <div class="half-box" id="top"> <p>text1</p> </div> <div class="half-box" id="bottom"> <p>text2</p> </div> </div> </body> </html>
13th Jun 2016, 7:58 AM
Norman Spencer
Norman Spencer - avatar
+ 1
you're welcome saurav , I just saw your another Q about circle and rotation
13th Jun 2016, 6:22 PM
Norman Spencer
Norman Spencer - avatar
0
thx nima..
13th Jun 2016, 4:11 PM
saurabh patel
saurabh patel - avatar
0
yes, can u help me with that ?
13th Jun 2016, 6:40 PM
saurabh patel
saurabh patel - avatar
0
Thanks a lot been finding it hard to create circle
1st Jul 2016, 10:06 AM
Cele Prince
Cele Prince - avatar