button with runat = server changes its border thickness

Discussion in 'ASP .Net' started by PJ6, Oct 10, 2005.

  1. PJ6

    PJ6 Guest

    The look of the site I'm designing at the moment has all buttons with a 1px
    solid border. They look good except if a button is runat = server... if a
    different control takes focus (from a user click) after the page loads, the
    button's border (only one if there is more than one) thickens to 3px. It's
    ugly. Is there a setting or style that can override this thickening?

    Paul
     
    PJ6, Oct 10, 2005
    #1
    1. Advertising

  2. Why don't you set CSS on it by using CSSClass property
    Patrick

    "PJ6" <> wrote in message
    news:...
    > The look of the site I'm designing at the moment has all buttons with a

    1px
    > solid border. They look good except if a button is runat = server... if a
    > different control takes focus (from a user click) after the page loads,

    the
    > button's border (only one if there is more than one) thickens to 3px. It's
    > ugly. Is there a setting or style that can override this thickening?
    >
    > Paul
    >
    >
     
    Patrick.O.Ige, Oct 11, 2005
    #2
    1. Advertising

  3. PJ6

    PJ6 Guest

    I am already using a CSS to set the border style. What does that have to do
    with my question?

    Paul

    "Patrick.O.Ige" <> wrote in message
    news:...
    > Why don't you set CSS on it by using CSSClass property
    > Patrick
    >
    > "PJ6" <> wrote in message
    > news:...
    >> The look of the site I'm designing at the moment has all buttons with a

    > 1px
    >> solid border. They look good except if a button is runat = server... if a
    >> different control takes focus (from a user click) after the page loads,

    > the
    >> button's border (only one if there is more than one) thickens to 3px.
    >> It's
    >> ugly. Is there a setting or style that can override this thickening?
    >>
    >> Paul
    >>
    >>

    >
    >
     
    PJ6, Oct 11, 2005
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. VB Programmer

    How set border thickness of table?

    VB Programmer, Dec 15, 2004, in forum: ASP .Net
    Replies:
    4
    Views:
    944
    bruce barker
    Dec 15, 2004
  2. Dag Sunde
    Replies:
    3
    Views:
    4,088
    Dag Sunde
    May 24, 2006
  3. Mark Rae
    Replies:
    1
    Views:
    394
    Mark Rae
    Jan 17, 2007
  4. thunk
    Replies:
    1
    Views:
    366
    thunk
    Mar 30, 2010
  5. thunk
    Replies:
    0
    Views:
    541
    thunk
    Apr 1, 2010
Loading...

Share This Page