|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Wierd link behaviour (Either HTML or CSS problem)
Hiya.
When I move my mouse over the "a href" linked pictures at the bottom of this page http://www.folkan.com/bio.php (the ones that says Chaplin ang Garbo) for some reason the page reloads automaticly. I haven't set any reload features at all on this page, and the problem arise only on this page (so far). Any theories why this is so? It's a normal a href="...", and my CSS for a isn't strange, and it works on the other pages. The relevant CSS code: Code:
A{ color: #666666; text-decoration: none}A:hover{ color: #666666; text-decoration: none; font-weight: bold
Code:
A:visited{ color: #666666; text-decoration: none}
I use IE 6.0.2600 //Fjodor |
|
#2
|
|||
|
|||
|
Try removing
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"> from your code. |
|
#3
|
|||
|
|||
|
Hey! That worked, thanks!
But why? ![]() /Fjodor |
|
#4
|
|||
|
|||
|
I'm not too sure of the why's & how's, but first of all you didn't use a full DOCTYPE.
A full DOCTYPE would be: Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> or Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> http://www.htmlhelp.com/tools/validator/doctype.html |
![]() |
| Viewing: Dev Shed Forums > Web Design > CSS Help > Wierd link behaviour (Either HTML or CSS problem) |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|