Heiko Hebig lives and works in Hamburg, Germany.
While I have been affiliated with various Internet consultancies and software companies, opinion expressed here is strictly private.
Questions? Comments? Send me an .
» more about me
» Technorati Profile
Current location
You are here: Home > Weblog Archive > Stupid dotted lines in Firefox 1.5
Wah, right. The damn onFocus code back from the IE5 days. Thanks. I had hoped this could be overcome using CSS now... but I guess that's not possible then.
Ich beschreibs mal in Deutsch. So gut ist mein Englisch nun doch weider nicht.
Grade eben beim Rumprobieren doch noch eine CSS-Lösung gefunden. Wenn man anstatt eines img-Tags ein div-Tag verwendet, wird im FF1.5 auch kein Focusrahmen angezeigt.
Der HTML-Code wäre dann in etwa:
[a href="#"][div style="background:url('bild.gif') no-repeat top left; width:200px; height:200px"] [/div][/a]
Zumindest die Höhe muss man angeben, ansonsten macht der FF1.5 das Bild nur eine Textzeile hoch.
TrackBack URL for this entry:
http://www.hebig.com/mt/mt-tb.cgi/2752
Post a new comment
If you want to leave a comment, I would like to know who you are. Your email address will not appear on the site as plain text - so spam bots can't harvest your address.
Your IP will be logged. If you think this imposes an invasion of your privacy, do not leave a comment.
LinkSpam and/or commercial messages will be deleted.
Maybe you are using a user style sheet or something? I'm asking since I have the 1.5 and can't see any dotted lines what so ever...
No user style sheet. The dotted line appears when you mouseDown and click on a link.
Als Einstellung im FireFox? Ich glaube nicht.
Im eigenen HTML-Code mit JavaScript: onFocus="this.blur();return true;" lässt bei Links den Focusrahmen verschwinden.
Wah, right. The damn onFocus code back from the IE5 days. Thanks. I had hoped this could be overcome using CSS now... but I guess that's not possible then.
Ich beschreibs mal in Deutsch. So gut ist mein Englisch nun doch weider nicht.
Grade eben beim Rumprobieren doch noch eine CSS-Lösung gefunden. Wenn man anstatt eines img-Tags ein div-Tag verwendet, wird im FF1.5 auch kein Focusrahmen angezeigt.
Der HTML-Code wäre dann in etwa:
[a href="#"][div style="background:url('bild.gif') no-repeat top left; width:200px; height:200px"] [/div][/a]
Zumindest die Höhe muss man angeben, ansonsten macht der FF1.5 das Bild nur eine Textzeile hoch.
try this
http://www.cssplay.co.uk/menu/nodots.html
TrackBack URL for this entry:
http://www.hebig.com/mt/mt-tb.cgi/2752
Post a new comment
If you want to leave a comment, I would like to know who you are. Your email address will not appear on the site as plain text - so spam bots can't harvest your address.
Your IP will be logged. If you think this imposes an invasion of your privacy, do not leave a comment.
LinkSpam and/or commercial messages will be deleted.