Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    Nov 2007
    Posts
    108
    Thanks
    14
    Thanked 0 Times in 0 Posts

    Styling issue with custom control button

    Hi, I inherited an ASP site (I'm a newb) and there is a custom control button which appears next to a standard ASP submit button.

    For some reason, the custom control button's corners are very pixelated. I'm trying to set up a CSS class to mimic the "standard" style for a submit button, but I'm not sure what the default attributes are.

    Here's the difference between the asp control (left) and custom control (right):


    Any idea what styles I can apply to the custom control so that it looks like the default submit button?

  • #2
    Regular Coder
    Join Date
    Nov 2007
    Posts
    108
    Thanks
    14
    Thanked 0 Times in 0 Posts
    Ok, I think I found the solution. I put a Width parameter on the custom control and the button now looks like the standard submit button without the pixely edges.

    The problem was that the edges were getting more blurry and pixely the wider the button was. It looks like if the width goes beyond about 190px then the borders have the pixel issue. Set the width to about 160px and it looks normal now.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •