Previous Message
Next Message

adding border on a:hover

Sent by Jorge Rumoroso on 1 March 2007 16:04


You can put the 3px border in your links in normal state. Then you can put
the color of that border similar to the background color...

On 3/1/07, jeffrey morin [EMAIL-REMOVED]> wrote:
>
> hi,
>
> i am having trouble adding a border to my links when i hover over them.
>
> i have the links set to display: block; and a:hover { border-left: 3px
> solid
> blue;}
>
> whenever it hovers over the link though it pushes the link 3 pixels to the
> right. i have tried adding text-indent as well as padding and it still
> pushes it over. how can i get the links to stop moving? thanks in advance
>
> Jeff
> ______________________________________________________________________
> css-discuss [EMAIL-REMOVED]]
> http://www.css-discuss.org/mailman/listinfo/css-d
> IE7 information -- http://css-discuss.incutio.com/?page=IE7
> List wiki/FAQ -- http://css-discuss.incutio.com/
> Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
>



-- 
www.niquelao.net - Niquelando la web
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread: