Jump to content


CSS pseudo class problem in IE


4 replies to this topic

#1 randallj2877

    Young Padawan

  • Members
  • Pip
  • 13 posts

Posted 14 August 2005 - 10:28 AM

On the following page, http://www.mediamogu...t/index5675.php, I'm having a hard time getting the background color of the hover class for the bottom links on the page (#links a:hover), to extend below the name of the link in IE...it works right in Firefox...

Probably an easy question for the right person, but I'm stumped...

Let me know if I didn;t explain the problem well enough...

Thanks for your help. ;)

#2 rc69

    PHP Master PD

  • P2L Staff
  • PipPipPipPip
  • 3,827 posts
  • Gender:Male
  • Location:Here
  • Interests:Web Development

Posted 14 August 2005 - 10:41 AM

Could you post the CSS you used for #links a:hover?

#3 randallj2877

    Young Padawan

  • Members
  • Pip
  • 13 posts

Posted 14 August 2005 - 10:46 AM

http://www.mediamogu...lesheet5676.css

you can find that in your source code, and then view the URL thru the browser ;)

Thanks for looking.

#4 rc69

    PHP Master PD

  • P2L Staff
  • PipPipPipPip
  • 3,827 posts
  • Gender:Male
  • Location:Here
  • Interests:Web Development

Posted 14 August 2005 - 09:32 PM

i know how to get the link to the css through the source, the point is, i don't like having to download it and open it up in dreamweaver (which i have to do, i can't just view it in the browser... next time, just copy/paste the code please).

Till then, just try this for fun
#links
{
	text-align:center;
	width:706px;
	margin: 0 auto 18px;
	padding: 5px 0;
}

#links a
{
     font: bold 9px Verdana, Helvetica, Sans Serif;
     letter-spacing:.5px;
     color:#A7B3BF;
     width:100%;
     height:100%;
     text-decoration:none;
     padding: 3px 3px 5px;
}

html>body #links a
{
     font-size:8.5px;
     padding-bottom:3px;
}

#links a:hover
{
	background-color:#A7B3BF;
	color:#fff;
}
And what version of IE do you have? Because the bg-color does extend below the link for me.

#5 randallj2877

    Young Padawan

  • Members
  • Pip
  • 13 posts

Posted 14 August 2005 - 09:47 PM

I'm sorry for you to spend time on this....I already fixed this... :o ...

I should have posted something, my bad....

Anyway, I appreciate you helping out.... :)

R.J.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users