Ask Experts Questions for FREE Help!
 

Free Answers in 3 Easy Steps

Register Now
3 Steps
 


Ask QuestionsprogressAnswer QuestionsprogressBuild ReputationprogressBecome an Expert
 
At Ask Me Help Desk you can ask questions in any topic and have them answered for free by our experts. To ask questions or participate in answering them you must register for a free account. By registering you will be able to:
  • Get free answers from experts in any of our 300+ topics.
  • Accept money for answers that you provide.
  • Communicate privately with other members (PM).
  • See fewer ads.
  View Answers    Answer this question    Ask a question  
 

eruckus
Mar 12, 2008, 11:48 PM
So I've this database driven site that displays its results in a table with a series of <div> tags for layering and positioning purposes. I wanted to create a link to more information about a specific result but I'm having trouble getting everything working the way I want.

To be more specific, imagine this...
Ive got a div tag that displays a border around all of the results content, as well as a background image. Then another div tag on top of that with all of the results content. Then a final div tag on top of that displaying a transparent gif image that is linked to more info about that specific result.

The problem is on the bottom div tag, where the border and background pic are displayed, I used css to define the height as 300px. Then on the top div tag, with the transparent image, I defined the height as 300px and used style="position:relative;top:-300;" to get the transparent image on top of the other div tag.

When this is displayed in firefox and other standards loving browsers the border is 300px tall, the transparent images is over all my content and everything is great. But when displayed in IE6 the border is 600px tall, but it still puts the transparent image over my content. Does anyone out there have any idea why this is happening and how it can be resolved?

Many thanks in advance!:D :D
-e.ruckus

Artem
Jan 12, 2009, 10:55 AM
Why would you want to make the div's overlap, if they should simply nest into the container around it.

It's still hard for me to imagine, but I think the problem is in the fact that you used the negative value for top. Not sure if you may do that.

Can you give some information, maybe some visual material?

crigby
Jan 20, 2009, 04:53 PM
Hi,
I have to agree. The negative value is allowed but has mixed results. Did you try it in Opera?
I just relearned something in the last week I had forgotten about it. Just nesting should do it.
Peace,
Clarke