Topic: Cell Backgrounds (Page 1 of 1) |
|
---|---|
Bipolar (III) Inmate From: Aiur, in the Tarsonian Galaxy |
posted 04-17-2004 07:38
Does anyone know of a good tutorial to change cell backgrounds on hover. Everytime I try to do it all that changes is the background of the text?? |
Maniac (V) Mad Scientist From: :morF |
posted 04-17-2004 08:26
td a:hover {background-color: #FFFFFF; display: block;} |
Paranoid (IV) Inmate From: France |
posted 04-17-2004 08:56 |
Bipolar (III) Inmate From: Aiur, in the Tarsonian Galaxy |
posted 04-17-2004 21:22
Ok I got the cell background right but another problem came up. Now when I hover over the cell the text inside shifts upwards, WHAT DO I DO WHAT DO I DO!!!! |
Maniac (V) Inmate From: under the bed |
posted 04-18-2004 02:25
check that all your padding, margins, and borders are identical (or equivalent in total) in both the normal and hover states. |
Maniac (V) Mad Scientist From: :morF |
posted 04-18-2004 12:08
What do you do? Don't YELL. It's not going ot make it any easier or any more usrgent for us to look at the problem. |
Bipolar (III) Inmate From: Aiur, the Tarsonian Galaxy |
posted 04-19-2004 08:07
hee hee sorry about that but ummm it still don't work just check my css is it ok? |
Paranoid (IV) Inmate From: France |
posted 04-19-2004 14:07
You know, it would help if we also had the HTML blurb that is f***ed up, and if you mentionned in which browsers you've tested your code and where it works or not. Anyhow you should check the specifications of CSS. |
Bipolar (III) Inmate From: Aiur, the Tarsonian Galaxy |
posted 04-19-2004 18:21
Never mind fixed it. But I have a nother question. I don't know whether this comes as CSS or JavaScript but how do you get custom tool tips you know like you hover over a link and you get a small description or something like that something like the ones you see on the Windows|Mac Interfaces?? |
Paranoid (IV) Inmate From: France |
posted 04-19-2004 18:43
See the title attribute in the definition of the A tag in HTML3.2 |
Maniac (V) Inmate From: California |
posted 04-19-2004 21:31
Yep. Basically: code: <a href="blah.html" title="This text will appear in a tooltip."> |
Bipolar (III) Inmate From: Aiur, the Tarsonian Galaxy |
posted 04-20-2004 08:50
No no I know how to do that but how do you get custom tooltips? I'm beginning to think this is more javascript than css. |
Maniac (V) Mad Scientist From: :morF |
posted 04-20-2004 10:50
Explain further or show examples of what you mean by a 'custom tooltip' and we may be able to help you |
Bipolar (III) Inmate From: Aiur, the Tarsonian Galaxy |
posted 04-20-2004 12:52
custom in the sense that I may be able to put stuff like images or tables in the tooltips. If you've been to Infinite-Fire's website(previous version) you must have seen it, it's was on almost every page. |
Maniac (V) Inmate From: Cell 666 |
posted 04-20-2004 17:36
*yeech* It may also be beneficial for you to learn short-hand CSS. For instance, your code above can be compressed into the following: code: .box a:link, .box a:hover { |
Maniac (V) Inmate From: Seoul, Korea |
posted 04-21-2004 05:06
It also might help if you actually said thank you once in a while... I've seen a number of your threads where people have helped you with your problems, and not once have you said "Thanks." Call me old fashioned, but I think it's nice to express gratitude. |
Maniac (V) Mad Scientist From: :morF |
posted 04-21-2004 16:42
That, and don't assume that everyone knows the sites that you know. I personally have never heard of this 'Infinite-Fire' in my life, so maybe if you could hunt up an example or two? |
Maniac (V) Inmate From: California |
posted 04-22-2004 07:25
I assume this is what he means by custom tooltips: Pure CSS tooltips. |
Bipolar (III) Inmate From: Aiur, the Tarsonian Galaxy |
posted 04-23-2004 08:31
No never mind, made it thanx anyway. I found that page too ozphactor |