[Last Call] Learn how to a build a cloud-first strategyRegister Now


web app - image button - removing dotted outline when selected

Posted on 2004-11-10
Medium Priority
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

james-ct16 earned 2000 total points
ID: 12556353
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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 (http://msdn.microsoft.com/en-us/library/system.string.aspx) 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 …
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…
Suggested Courses

829 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