www.webdeveloper.com
Results 1 to 8 of 8

Thread: can I span the highlight using a container?

  1. #1
    Join Date
    Jun 2005
    Location
    NB, TX
    Posts
    162

    can I span the highlight using a container?

    Here is the link I am referring to: http://www.richmediaproductions.com/list.php

    The code is pulled from my database, then I have it spitting out the tr's, td's and such... My question is... Is there a way for me to extend the yellow highlight to span both the company name and person's name using a container or some other work around? I know I have seen it done, but I can't remember where I saw it....

    Thanks for ANY direction...

  2. #2
    Join Date
    Nov 2003
    Location
    Jerryville, Tejas
    Posts
    11,715
    Do it at the row level rather than the cell.

  3. #3
    Join Date
    Jun 2005
    Location
    NB, TX
    Posts
    162
    Just tried that, it doesn't change anything at all...

  4. #4
    Join Date
    Nov 2003
    Location
    Jerryville, Tejas
    Posts
    11,715
    That's because you're selecting an anchor. You have to do a tr:hover but that only works on real browsers. Vladdy here has some behavior files that can make IE walk the walk if needed. Otherwise you have to use Javascript.

    You need to set your page background color. I couldn't see the effect at all without loading my whiteback style sheet.

  5. #5
    Join Date
    Jun 2005
    Location
    NB, TX
    Posts
    162
    I'm not following you.. Did you look at the css I have? It's on the page, it's not a linked site. I have it as:

    tr a:hover

    isn't that what you meant? And I am testing in Firefox, I always code for firefox first, then worry about IE. Not a miscrosoft fan myself...

    oh, and I added the background color...thanks

  6. #6
    Join Date
    Jun 2005
    Location
    NB, TX
    Posts
    162
    OK, I just got it, but you are right that Microsuck doesn't show it right... where can I find a fix for that or should I find a different solution altogther?

  7. #7
    Join Date
    Nov 2003
    Location
    Jerryville, Tejas
    Posts
    11,715
    Ah, here it is.

    http://www.vladdy.net/demos/iepseudoclassesfix.html

    Thank you, Vladdy.

  8. #8
    Join Date
    Jun 2005
    Location
    NB, TX
    Posts
    162
    Thanks, you the man...

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles