3 Answers, 1 is accepted
0

Shinu
Top achievements
Rank 2
answered on 29 Aug 2013, 05:05 AM
Hi Swapnil,
Please try the following CSS class which works fine at my end.
ASPX:
CSS:
Thanks,
Shinu.
Please try the following CSS class which works fine at my end.
ASPX:
<
telerik:RadTextBox
ID
=
"RadTextBox1"
runat
=
"server"
>
</
telerik:RadTextBox
>
<
telerik:RadButton
ID
=
"RadButton"
runat
=
"server"
Text
=
"Click"
>
</
telerik:RadButton
>
<
fieldset
id
=
"fieldset1"
runat
=
"server"
>
</
fieldset
>
CSS:
<
style
type
=
"text/css"
>
.riTextBox:hover
{
border-color: #FF0000 !important;
border-radius: 5px 5px 5px 5px !important;
}
.rbSkinnedButton:hover .rbDecorated
{
border: 1px solid #178636 !important;
-webkit-border-top-left-radius: 15px !important;
-webkit-border-bottom-left-radius: 15px !important;
-webkit-border-bottom-right-radius: 15px !important;
border-radius: 15px 15px 15px 15px !important;
margin-left: -7px !important;
}
#fieldset1:hover
{
border-color: #FF0000 !important;
border-radius: 5px 5px 5px 5px !important;
}
</
style
>
Thanks,
Shinu.
0

Swapnil
Top achievements
Rank 1
answered on 29 Aug 2013, 06:39 AM
Thanks for the reply but
i want textbox rounded at page load and when mouse hover or focus on textbox the round colour must change to blue.
and all buttons are also rounded corner at page load.
Thanks
i want textbox rounded at page load and when mouse hover or focus on textbox the round colour must change to blue.
and all buttons are also rounded corner at page load.
Thanks
0

Shinu
Top achievements
Rank 2
answered on 30 Aug 2013, 02:51 AM
Hi Swapnil,
Please take a look into the following CSS to give rounded corner and change color on hover.
ASPX:
CSS:
Thanks,
Shinu.
Please take a look into the following CSS to give rounded corner and change color on hover.
ASPX:
<
telerik:RadTextBox
ID
=
"RadTextBox1"
runat
=
"server"
>
</
telerik:RadTextBox
>
<
telerik:RadButton
ID
=
"RadButton"
runat
=
"server"
Text
=
"Click"
>
</
telerik:RadButton
>
CSS:
<style type=
"text/css"
>
.riTextBox
{
border-radius:
5px
5px
5px
5px
!important
;
border-color
:
#FF0000
!important
;
}
.riTextBox:focus
{
border-color
: Blue
!important
;
border-radius:
5px
5px
5px
5px
!important
;
}
.riTextBox:hover
{
border-color
: Blue
!important
;
border-radius:
5px
5px
5px
5px
!important
;
}
.rbSkinnedButton .rbDecorated
{
border
:
1px
solid
#178636
!important
;
-webkit-border-top-left-radius:
15px
!important
;
-webkit-border-bottom-left-radius:
15px
!important
;
-webkit-border-bottom-right-radius:
15px
!important
;
border-radius:
15px
15px
15px
15px
!important
;
margin-left
:
-7px
!important
;
}
</style>
Thanks,
Shinu.