This is a migrated thread and some comments may be shown as answers.

Hover on Input

2 Answers 76 Views
Input
This is a migrated thread and some comments may be shown as answers.
RvdGrint
Top achievements
Rank 1
RvdGrint asked on 27 Mar 2012, 03:02 PM
Hello,

I've textboxes (Numeric, Masked and normal) with skin Windows7. padding-left and padding-right are both 0px before moving mouse-over. When move mouse over the textboxes the inline style of the riDisplay is changed to padding-left:5px and padding-right:5px. I do not want this behaviour. Can someone help me??

Regards, 
  Jos Meerkerk

2 Answers, 1 is accepted

Sort by
0
Accepted
Princy
Top achievements
Rank 2
answered on 28 Mar 2012, 05:30 AM
Hi Josm,

Try overriding the default css as follows to set padding during Hover.

CSS:
<style type="text/css">
    .riTextBox
    {
        padding-left:0px !important;
        padding-right:0px !important;
    }
    .riTextBox:Hover
    {
        padding-left:0px !important;
        padding-right:0px !important;
    }
</style>

Thanks,
Princy.
0
RvdGrint
Top achievements
Rank 1
answered on 28 Mar 2012, 06:29 AM
Thnx Princy,

thats what I was looking for.

Regards,
  JosM
Tags
Input
Asked by
RvdGrint
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
RvdGrint
Top achievements
Rank 1
Share this question
or