#1
  1. No Profile Picture
    Slacker
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2001
    Location
    Sweden
    Posts
    76
    Rep Power
    14

    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. #2
  3. No Profile Picture
    Contributing User
    Devshed Intermediate (1500 - 1999 posts)

    Join Date
    Nov 2001
    Posts
    1,882
    Rep Power
    20
    Try removing
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
    from your code.
  4. #3
  5. No Profile Picture
    Slacker
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2001
    Location
    Sweden
    Posts
    76
    Rep Power
    14
    Hey! That worked, thanks!

    But why?

    /Fjodor
  6. #4
  7. No Profile Picture
    Contributing User
    Devshed Intermediate (1500 - 1999 posts)

    Join Date
    Nov 2001
    Posts
    1,882
    Rep Power
    20
    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

IMN logo majestic logo threadwatch logo seochat tools logo