View Full Version : CSS makes link jump?

01-03-2003, 11:14 PM
Somehow my css is making links move when they are clicked on - at least in IE5. Doesn't happen on newer versions of IE.

Example: A line of text 3 inches long is a link. When it is clicked on it pulls to the right and stacks into three one-inch lines of text.

I am new to CSS and can't see any reason for this - any ideas?

I enclosed the css file I am using - most of the categories haven't even been filled out yet.

Thanks in advance,

01-04-2003, 04:35 AM
you said you enclosed the css file you are using but where is it? Perhaps if you had a link to where the problem was happening it would be easier to diagnose.

01-04-2003, 09:32 PM
hmm. I thought I attached the css file, but I guess it didn't have a valid extension.

Anyway I figured it out -

I changed these lines:
a:visited {text-decoration: none}
a:active {text-decoration: none

to this:
a:visited {text-decoration: none;}
a:active {text-decoration: none;}

(The semicolon and closing brackets)

Thanks though.