This is the weirdest thing that ever happened to me. I've got a page, it has a stylesheet:
The problem is, when I hover over links that are in the #footerLinks div, the page jumps up to the top and I can't scroll down past a certain point... in IE5.5. I don't get the same problem in firebird.
I know it isn't the HTML since it doesn't do it when I apply another stylesheet.
And btw, if you see anything stupid in my css, even if it doesn't solve the problem, tell me
Very odd.
If this isn't making any sence, tell me too, lol
Code:
/*Basic elements*/ html { margin: 0px; padding: 0px; } body { margin: 0px; padding: 0px; font-family: cursive; background-color: #0099FF; } a:link, a:visited { text-decoration: none; color: #0000FF; border-bottom: 1px dashed #0000FF; } a:hover, a:active, a:focus { text-decoration: none; color: #FF0000; border-bottom: 1px solid #FF0000; } a.image:link, a.image:visited, a.image:hover, a.image:active, a.image:focus { border-width: 0px; } img { border-width: 0px; } acronym { border-bottom: 1px dashed; cursor: help; } li { list-style-type: none; } /*Specific objects*/ #Container { text-align: center; } #header { color: #990066; font-style: italic; margin-bottom: 100px; } #header h1 { margin-bottom: 0px; } #header h3 { margin-top: 0px; } #Main { width: 60%; float: right; border: 1px solid #000000; background-color: #99CCFF; margin-right: 5%; } #Main h3 { background-color: #000000; color: #FF0000; font-family: monospace; margin-top: 0px; } #Main h5 { background-color: #999999; margin-bottom: 0px; } #Main p { margin-top: 0px; } #NavigationLinks { text-align: right; font-family: sans-serif; } #NavigationLinks ul { border-width: 1px 5px 0px 0px; border-style: solid; border-color: #330000; width: 200px; background-color: #99CCFF; } #NavigationLinks li { line-height: 150%; background-color: #99CCFF; padding-right: 5px; } #NavigationLinks li a:hover, #NavigationLinks li a:active, #NavigationLinks li a:focus { background-color: #CCFFFF; } #NavigationLinks li ul { border-width: 0px; width: 100px; margin-left: -100; } #NavigationLinks li ul li { list-style-type: disc; } #footerLinks { margin-top: 20px; } #footerLinks li { float: left; font-size: 75%; } #footerLinks li a:link, #footerLinks li a:visited { background-color: #CCCCCC; border-width: 0px 1px; border-style: solid; border-color: #330000; } #footerLinks li a:hover, #footerLinks li a:active, #footerLinks li a:focus { border-bottom: 1px solid #FF0000; background-color: #000000; }
I know it isn't the HTML since it doesn't do it when I apply another stylesheet.
And btw, if you see anything stupid in my css, even if it doesn't solve the problem, tell me

Very odd.
If this isn't making any sence, tell me too, lol
Comment