| | |
remove dashed border when u press/select a linkd image (pic included)
Please support our HTML and CSS advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Dec 2007
Posts: 23
Reputation:
Solved Threads: 0
http://www.fredmyerscough.co.uk/myfiles/showborder.jpg
im using some jquery stuff to make myself a new website, but when you press the image (used for the menu) a dashed border apears around it. im not sure what element this is called, since its not affected by border: none; in css.
any help or advice on removing it? =)
thanks
im using some jquery stuff to make myself a new website, but when you press the image (used for the menu) a dashed border apears around it. im not sure what element this is called, since its not affected by border: none; in css.
any help or advice on removing it? =)
thanks
Last edited by OnIIcE; Aug 15th, 2009 at 12:03 pm.
he is talking about focus (element selected) outline; otherwise 'a tiny dotted border around the element that recieved focus'. But, css declaration "
IE offers
On the other side Opera doesn't offer any kind of means to do that, allthough it doesn't affect the document, and normally would not be a requirement, it does affect your design and your menu links may get ugly on keyboard navigation because on top of a fancy border around the elment, it also selects its content forcing the text content to have a navy background color.
- If anybody found a 'cure' for this in Opera, ..would be much appreciated.
outline: none; " will work only in mozillas.IE offers
outline:expression(hideFocus='true') or an inline statement hideFocus='true' although not a requirement because in IE this outline doesn't affect the page layout, while in mozilla it does.On the other side Opera doesn't offer any kind of means to do that, allthough it doesn't affect the document, and normally would not be a requirement, it does affect your design and your menu links may get ugly on keyboard navigation because on top of a fancy border around the elment, it also selects its content forcing the text content to have a navy background color.
- If anybody found a 'cure' for this in Opera, ..would be much appreciated.
•
•
Join Date: Dec 2007
Posts: 23
Reputation:
Solved Threads: 0
it works in IE8 (what i work in) and jus tried in FireFox and Chrome and it works. ive just got the line i said in my link css like:
borders just the online isnt it? i got rid of that, its how Troy said - its when the object is focusd on.
on the other hand - from just quickly testing - turns out that FF and Chrome have a bit of a problem with jQuery!
•
•
•
•
a {
display: block;
}
on the other hand - from just quickly testing - turns out that FF and Chrome have a bit of a problem with jQuery!
•
•
•
•
That dotted line indicates that the picture has the focus. That is a windows function. It is supposed to be there.
http://i25.tinypic.com/21bjf3k.png
Here you have 3-state buttons or should I say "5".
1Normal 2Hovered 3Focused 4Visited 5Active
although 2 of them are intermediary and will only change font color intensity.
Currently Hovered button is "home" sorry you cant see the mosue from the printScreen command. The focused button is "projects" and the current page not indicated by the button state is "contact".
But then Opera does this:
http://i30.tinypic.com/33z9uu9.png
without giving any means to controll it.
At the end everybody will keep his own opinion allthough the situation is clear to see.
Regards.
Use
.
That probably should fix it.
css Syntax (Toggle Plain Text)
a:active img, a:hover img, a img, img { border:0 none;}
That probably should fix it.
CodeJoust! Design + Development - Proud User of Ubuntu
![]() |
Similar Threads
- displaying multiple images from DB (MySQL)
- HELP.. It Is Possible to copy a form,image or pic box to be paste in Ms word (Visual Basic 4 / 5 / 6)
- Firefox Compatibility help with script (JavaScript / DHTML / AJAX)
- How to select morethan one image object inside the richtextbox control ? (VB.NET)
- Dashed Border around social network (DaniWeb Community Feedback)
- Another HijackThis Log for hacktool.rootkit virus (Viruses, Spyware and other Nasties)
- Border-top-image no worky (HTML and CSS)
- error signature (Viruses, Spyware and other Nasties)
- Having Difficulties:Logfile of Hijack included. (Viruses, Spyware and other Nasties)
Other Threads in the HTML and CSS Forum
- Previous Thread: Use of properties inside <tr> tags
- Next Thread: IE / Firefox Discrepencies
| Thread Tools | Search this Thread |
appointments asp background backgroundcolor beta browser bug calendar cart cgi code codeinjection corporateidentity css design development displayimageinsteadofflash dreamweaver emailmarketing epilepsy explorer firefox flash form format google griefers hackers hitcounter hover html ide ie7 ie8 iframe image images internet internetexplorer intranet iphone javascript jpeg layout macbook maps marketshare microsoft mozilla multimedia navigationbars news offshoreoutsourcingcompany opacity opera optimization pnginie6 positioning problem scroll seo shopping studio swf swf. textcolor timecolor titletags url urlseparatedwords visual visualization web webdevelopment webform website windows7






