How to modify some style for drag section?

2 posts, 0 answers
  1. Jin
    Jin avatar
    80 posts
    Member since:
    Jun 2012

    Posted 21 Aug 2012 Link to this post

    When I drag a file over the upload text, it will show a section with text "Drop files here". Is there a way to customize the section style such as backgroud-color, padding-top, padding-left?
  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 22 Aug 2012 Link to this post

    Hi Jin,

    Try overriding the default css as follows.

    CSS:
    <style type="text/css">
      .ruDropZone
         {
           background-color: Red !important;
           padding-top: 100px !important;
           padding-left: 100px !important;
         }
    </style>

    Hope this helps.

    Regards,
    Princy.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top