Hover on Input

3 posts, 1 answers
  1. RvdGrint
    RvdGrint avatar
    112 posts
    Member since:
    May 2011

    Posted 27 Mar 2012 Link to this post

    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. Answer
    Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 28 Mar 2012 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. RvdGrint
    RvdGrint avatar
    112 posts
    Member since:
    May 2011

    Posted 28 Mar 2012 Link to this post

    Thnx Princy,

    thats what I was looking for.

    Regards,
      JosM
Back to Top