PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Graphisme & Infographie > macromedia.dreamweaver > Text moves when I use border
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
Text moves when I use border

Réponse
 
LinkBack Outils de la discussion
Vieux 16/06/2008, 00h12   #1
topheman
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Text moves when I use border

I have menu on my site, it's made up with CSS'ed links.

When you hover over a link a dotted border (2px thick) is drawn above it.
This works fine and looks great in Firefox.

But in IE it causes the text to fall down 2 pixels. How can I make IE behave
as Firefox?
I only want a border drawn above and the text to remain fixed!

Thank you for the .
All the best
// Chris

  Réponse avec citation
Vieux 16/06/2008, 01h19   #2
TC2112
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Text moves when I use border

Hello,

Without seeing any code, I'd suggest making a 2px thick border over the link
that is the same color as the background color.
The border changes color on hover so it "appears" to appear, and the text
doesn't move down to accommodate it (because it's already there in the
link).

Take care,
Tim


"topheman" <webforumsuser@macromedia.com> wrote in message
news:g347ld$4qj$1@forums.macromedia.com...
>I have menu on my site, it's made up with CSS'ed links.
>
> When you hover over a link a dotted border (2px thick) is drawn above it.
> This works fine and looks great in Firefox.
>
> But in IE it causes the text to fall down 2 pixels. How can I make IE
> behave
> as Firefox?
> I only want a border drawn above and the text to remain fixed!
>
> Thank you for the .
> All the best
> // Chris
>



  Réponse avec citation
Vieux 16/06/2008, 18h03   #3
topheman
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Text moves when I use border

Thank you.
That was a good ide< that worked out just fine!

Now to the extremely tedious task of getting the site to look the same in IE
as in Firefox.
It's so frustrating! The fonts, alignment, style and everything looks a bit
different in IE.

Crappy browser!

  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 23h09.


Édité par : vBulletin® version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,09400 seconds with 11 queries