web app - image button - removing dotted outline when selected

Posted on 2004-11-10
Last Modified: 2012-06-21

     I have a menu that's created with a combination of image buttons and image controls - the buttons have a vertical line on the left and the item on the right (Form1, Form2, whathaveyou) that redirects to other pages.  Then between the buttons are image controls with the vertical line, to create the illusion that everything is one graphic.  When people with different privileges log in, different menu items are displayed, and sometimes in different places.  My problem is that this has caused me to overlap some of the controls slightly that are visible simultaneously.  When you click some of the buttons, as you click, a dotted outline appears around them, and sometimes the dotted outline obviously disappears behind another control.  This is purely an asthetic issue, but I really want for those dotted lines not to appear at all.  How do I make that happen?  I don't see any properties on the controls that seem to dictate this.


Question by:gleznov
    1 Comment
    LVL 10

    Accepted Solution

    firstly a simple one that you may not have seen there is a property of an image button that is called borderstyle if you set that to none it should stop it occuring unless you set it in css else where.
    Another solution is to set the css (using the cssClass property) and overwrite the settings using that, im afraid i dont know all the css tags you will need to change of the top of my head but you should be able to find them out from w3c in their css section.

    Hope that is of some help


    Featured Post

    Enabling OSINT in Activity Based Intelligence

    Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

    Join & Write a Comment

    Article by: jpaulino
    XML Literals are a great way to handle XML files and the community doesn’t use it as much as it should.  An XML Literal is like a String ( Literal, only instead of starting and ending with w…
    Well, all of us have seen the multiple EXCEL.EXE's in task manager that won't die even if you call the .close, .dispose methods. Try this method to kill any excels in memory. You can copy the kill function to create a check function and replace the …
    Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
    how to add IIS SMTP to handle application/Scanner relays into office 365.

    733 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now