Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Applying Styles to asp:button

Applying Styles to asp:button

Scheduled Pinned Locked Moved ASP.NET
htmlcsswpfhelpquestion
6 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    danasegaranea
    wrote on last edited by
    #1

    Hi all, I have style as

    <style type="text/css">
    BUTTON.btn
    {
    border:groove inset 1px #000000;
    background:#84B0DC;
    filter:progid:DXImageTransform.Microsoft.Gradient(startColorstr='#84B0DC',endColorstr='#ffffff', gradientType='0')
    progid:DXImageTransform.Microsoft.dropshadow(OffX=2, OffY=2, Color='#8b9b99', Positive='true');
    color:#00000;
    font-family: Verdana;
    font-size: 8pt;
    font-weight:bold;
    }

        </style>
    

    I tried apply this to asp:button. But it works well with the Html Button. What could be the issue ? Thanks in Advance Dana

    T 1 Reply Last reply
    0
    • D danasegaranea

      Hi all, I have style as

      <style type="text/css">
      BUTTON.btn
      {
      border:groove inset 1px #000000;
      background:#84B0DC;
      filter:progid:DXImageTransform.Microsoft.Gradient(startColorstr='#84B0DC',endColorstr='#ffffff', gradientType='0')
      progid:DXImageTransform.Microsoft.dropshadow(OffX=2, OffY=2, Color='#8b9b99', Positive='true');
      color:#00000;
      font-family: Verdana;
      font-size: 8pt;
      font-weight:bold;
      }

          </style>
      

      I tried apply this to asp:button. But it works well with the Html Button. What could be the issue ? Thanks in Advance Dana

      T Offline
      T Offline
      Trishul Tandel
      wrote on last edited by
      #2

      for asp button use the

      Best Regards, Trishul Tandel Software Developer

      D 1 Reply Last reply
      0
      • T Trishul Tandel

        for asp button use the

        Best Regards, Trishul Tandel Software Developer

        D Offline
        D Offline
        danasegaranea
        wrote on last edited by
        #3

        Hi Trishul , What I have to use ?

        T 1 Reply Last reply
        0
        • D danasegaranea

          Hi Trishul , What I have to use ?

          T Offline
          T Offline
          Trishul Tandel
          wrote on last edited by
          #4

          hi... i don't understand what u say

          Best Regards, Trishul Tandel Software Developer

          D 1 Reply Last reply
          0
          • T Trishul Tandel

            hi... i don't understand what u say

            Best Regards, Trishul Tandel Software Developer

            D Offline
            D Offline
            danasegaranea
            wrote on last edited by
            #5

            In your previous post you have said this only

            for asp button use the

            T 1 Reply Last reply
            0
            • D danasegaranea

              In your previous post you have said this only

              for asp button use the

              T Offline
              T Offline
              Trishul Tandel
              wrote on last edited by
              #6

              use cssclass="cssclassname" property of asp:button

              Best Regards, Trishul Tandel Software Developer

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups