Jump to content

Welcome to Geeks to Go - Register now for FREE

Geeks To Go is a helpful hub, where thousands of volunteer geeks quickly serve friendly answers and support. Check out the forums and get free advice from the experts. Register now to gain access to all of our features, it's FREE and only takes one minute. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more.

Create Account How it Works
Photo

Changing Link Hover Properties with Javascript


  • Please log in to reply

#1
Joeturf

Joeturf

    Member

  • Member
  • PipPipPip
  • 158 posts
Hi again,

What I'm aiming for is the table in this page to Change Font Colors and it's Table Cell Background when the mouse is over it, instead of just the Font Background Color.

Thanks!

Edited by Joeturf, 26 December 2006 - 04:25 AM.

  • 0

Advertisements


#2
Michael

Michael

    Retired Staff

  • Retired Staff
  • 1,869 posts
See hows this goes, it is not what you wanted but it does the same thing.

table.menu {
border-collapse: collapse;
}

.menu a {
width: 100%;
display: block;
height:16px;
padding:9px 0 9px 0
}

I like the changes, looks much better.

Edited by Michael, 26 December 2006 - 08:08 PM.

  • 0

#3
Joeturf

Joeturf

    Member

  • Topic Starter
  • Member
  • PipPipPip
  • 158 posts
Haha, thanks ! Yeah I thought about the layout for a while and tried some different colors and it sort of randomly popped out!

Thanks for the code, again =D
  • 0

#4
Michael

Michael

    Retired Staff

  • Retired Staff
  • 1,869 posts
I did not recognize it a first, I got a bit of a surprise when I realized it was yours.

Oh, and since your not using frames, you don't need the doctype for frames anymore. Use this instead
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">

Edited by Michael, 26 December 2006 - 11:58 PM.

  • 0

#5
Joeturf

Joeturf

    Member

  • Topic Starter
  • Member
  • PipPipPip
  • 158 posts
Oh! Slipped my mind haha thanks.

Thanks again =)

Edited by Joeturf, 27 December 2006 - 10:07 PM.

  • 0






Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP