Click here to Skip to main content
15,891,936 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
HEllo friends,

i want border to circle in red color.is there any idea .please let me know.
i create css as follows
CSS
.circle {
      width: 22px;
    height: 22px;
    background: #FF8C00;
    -moz-border-radius: 14px;
    -webkit-border-radius: 14px;
    border-radius: 14px;
    -webkit-text-stroke-width: 2px;
   -webkit-text-stroke-color: #191970;
      -webkit-border-image:blue;
      font-size:0.95em;
}


and i have
<input class=" circle" type="text" value="&amp;" align="right" style="color:white" align="bottom"  />
Posted

Please add the css code
CSS
border: 1px solid red;
 
Share this answer
 
Comments
R Harshal 3-Nov-15 8:08am    
& should be in center. is there any way .Please let me know.
Debojyoti Saha 3-Nov-15 8:46am    
center in what?
text center or control center?
Use the border:
CSS
.circle {
      width: 22px;
    height: 22px;
    background: #FF8C00;
    -moz-border-radius: 14px;
    -webkit-border-radius: 14px;
    border-radius: 14px;
    -webkit-text-stroke-width: 2px;
   -webkit-text-stroke-color: #191970;
      -webkit-border-image:blue;
      font-size:0.95em;
    border:solid 1px red;
}


-KR
 
Share this answer
 
Comments
R Harshal 3-Nov-15 8:07am    
& should be in center. is there any way .Please let me know.
Krunal Rohit 3-Nov-15 8:09am    
text-align: center;

-KR
R Harshal 3-Nov-15 8:33am    
thanks buddy .its working
Add border-color property in CSS class. See below code:
CSS
.circle {
    width: 22px;
    height: 22px;
    background: #FF8C00;
    -moz-border-radius: 14px;
    -webkit-border-radius: 14px;
    border-radius: 14px;
    border-color: red;
    -webkit-text-stroke-width: 2px;
    -webkit-text-stroke-color: #191970;
    -webkit-border-image:blue;
    font-size:0.95em;
}
 
Share this answer
 
Comments
R Harshal 3-Nov-15 8:09am    
& should be in center. is there any way .Please let me know.i am confused

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900