what is the default css style of asp button

Last post 07-09-2009 5:14 PM by prajeeshkkindia. 5 replies.

Sort Posts:

  • what is the default css style of asp button

    07-09-2009, 9:51 AM

    Hi! friends,

    Can anybody plese help me in finding out what is the default css style of an asp.net button, when im applying any css sytle the corner around the button are not looking exact same, it is looking more like a solid square box, where as the default buttons is having thin round corners around it.

    waiting for reply

  • Re: what is the default css style of asp button

    07-09-2009, 9:59 AM
    • Contributor
      6,762 point Contributor
    • alaa9jo
    • Member since 07-01-2009, 9:17 AM
    • Jordan
    • Posts 1,203

     may be you need to increase the width of the button (width of background image of the button is larger than the button width)

    Best Regards,
    Ala'a Alnajjar
    ----------------------------------------------------
    Please remember to click “Mark as Answer” on the post(s) of the member(s) that help(s) you even if they were for the same person.
    Also remember to close the thread by selecting “Resolved”,you will find it in your first post.

    Convert C# to VB.net and visa versus
    My Webblog
  • Re: what is the default css style of asp button

    07-09-2009, 12:08 PM

    im not using any background image 

  • Re: what is the default css style of asp button

    07-09-2009, 4:02 PM
    Answer
    • Participant
      1,393 point Participant
    • Bhavin Shah
    • Member since 07-02-2009, 8:34 PM
    • New York
    • Posts 242

     Hello,

    you can try with style border:solid 0px black; so it will remove border from the button.

    Hope this hellps....

    IF YOU FEEL MY POST WAS THE RIGHT ANSWER PLEASE MARK IT AS ANSWER.........

    http://www.linkedin.com/in/bhavinjshah
  • Re: what is the default css style of asp button

    07-09-2009, 4:56 PM
    Answer
    • Participant
      1,448 point Participant
    • prajeeshkkindia
    • Member since 12-15-2007, 1:58 AM
    • India
    • Posts 263

    try this

    button {
      color:#050;
      font: bold 84% 'trebuchet ms',helvetica,sans-serif;
      background-color:#fed;
      border:1px solid;
      border-color: #696 #363 #363 #696;
    }

    If this post is helpful, please mark as an answer.
    Visit My Blog : http://prajeeshkk.blogspot.com/
    Regards,
    Prajeesh.
    Software Engineer
    Speridian Technologies




  • Re: what is the default css style of asp button

    07-09-2009, 5:14 PM
    • Participant
      1,448 point Participant
    • prajeeshkkindia
    • Member since 12-15-2007, 1:58 AM
    • India
    • Posts 263
    If this post is helpful, please mark as an answer.
    Visit My Blog : http://prajeeshkk.blogspot.com/
    Regards,
    Prajeesh.
    Software Engineer
    Speridian Technologies




Page 1 of 1 (6 items)