Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > overflow of divs/images

Thread Tools

overflow of divs/images

Martin Plotz
Posts: n/a
Hi everybody,
I have run into a problem which I hope somebody of you can solve:
My page contains 2 "div"s which are located next to each other (css
position "absolute"). Both contain an image.
I would now like to add another div within the left div. This new div
should be visible even if it is bigger than its parent div.
I have created the page like shown at the end of this post (using CSS
overflow:visible). It works on Firefox but not IE6. Do you have any
suggestions what could be done to make it work with IE?
(I know that it would help if the div on top of the others would not be
a child of the left div, but that would cause some other problems,
because there is much JScript in my page).

Thanks for any help,

Here is the validated markup:

<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
<html xmlns="" xml:lang="en" lang="en">
<title>IE Overflow</title>
style="position:absolute;left:0px;top:0px;overflow :visible;width:64px;height:64px;">
<img alt="img1" style="z-index:0;" src="img1.jpg" />
<div style="position:absolute;left:12px;top:0px;z-index:2;">
<img src="inner.jpg" alt="img_inner" />
<div style="position:absolute;left:64px;top:0px;z-index:0;">
<img src="img2.jpg" alt="img2" style="z-index:0;" />
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Signed Adder without overflow Nemesis VHDL 4 05-25-2005 07:31 PM
how do you extract carry, borrow and overflow from an adder in vhdl? Rune Christensen VHDL 4 01-22-2005 11:17 PM
overflow with signed and unsigned values Zaki VHDL 2 06-30-2004 02:35 PM
CSS overflow: auto bug? Quivis Firefox 0 02-29-2004 08:10 PM
Delta Count Overflow in Simulation Isaac VHDL 2 08-18-2003 09:57 AM