473,396 Members | 1,997 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

IE/Firefox hover problem

So I have a page with several images on it and would like to place a description next to a thumbnail and have both description and thumbnail in a link and <div> that changes background color on hover. Currently I have the following html for each image:

<a class="thumb"; href=N8444L/P1010001.JPG>
<div class="thumb">
<img src=thumbnails/N8444L/P1010001.JPG>
<div class="phototitle">Engine View</div>
</div>
</a>

and the following CSS:

div.thumb {
position: relative;
margin: 3px;
height: 120px;
float: left;
background: black;
}
.thumb img {
position: relative;
float: left;
margin: 5px;
border: 1px solid #A0ACC0;
}
a:hover div {
background: rgb(192,192,192);
}
div.phototitle {
position: relative;
float: left;
font-weight: normal;
font-family: "Comic Sans MS","Arial";
width: 120px;
margin: 0 3px 3px 3px;
}

Now, all is well in firefox, the div that contains the picture and description turns grey on hover and the pointer turns to a hand and all. However, in IE it appears like there is no link. On hover nothing happens and the cursor remains a pointer. But, when you click, the link functions. I am a programmer who is way behind when it comes to CSS.

Any help would be greatly appreciated!

Dave
Aug 25 '05 #1
1 8565
Hey, sorry I didn't post this before. Here is a link to a sample of the problem. The picture I am working with is the first one. All the others do not have the background change.

http://flying.biocompute.net/new/n8444l2.htm

Also, is there any way to have the text that is next to the picture centered vertically with the picture?

Thanks!

Dave
Aug 25 '05 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

19
by: gallery | last post by:
I read somewhere that you can get Tim Murtaugh's Mo' Betta Rollovers to work in Firefox using just CSS (no javascript) . Can someone tell me how to do it? ...
1
by: books1999 | last post by:
Hi there, I have a problem with this css/div and i cannot work it out. I would like either container to be able to push the background box to grow but in Firefox it overflows. Can someone find a...
4
by: TheCeej | last post by:
I'm sorry to post what is ultimately a myspace problem, but I'm sure I'd still be having this problem with any html/css document, so the answer would more than likely be able to help anyone out. I'm...
5
by: givitumee | last post by:
I have a problem with my website: http://www.eecs.tufts.edu/~pgoran01/abet/ I'm using tabbed menus, all of them pop up when you login. However, the interface looks good in firefox but when I...
3
by: autospanker | last post by:
Ladies and Gentleman, I have been having this problem that has been driving me insane. I have a website that when viewed in Firefox first, the content in the body area is pushed down. Then when...
4
by: sbettadpur | last post by:
hello, i have created one website using div i.e total layout is designed using div only. if i saw that pages in Internet Explorer vesion 6, its showing very fine, but if i open same pages in...
11
victorduwon
by: victorduwon | last post by:
Hey guys, I have built a suckerfish navigation menu using CSS and HTML with unordered lists. I was testing this menu in Safari, and it came out good. When I finished I tested it in firefox and...
16
by: jerry101 | last post by:
Hi, I've got the usual problem that people seem to have with HTML/CSS nav bar's where it's displaying and working fine in IE but not in Firefox. The website address is ...
3
by: Steve | last post by:
Hi All I have an asp.net 2.0 website with the following css file It uses Master pages and in Firefox 3.04 for windows only, 3 of the web pages don't display the Master page properly The...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.