Note that there are some explanatory texts on larger screens.

plurals
  1. POAbsolute positioned slideshow problems
    primarykey
    data
    text
    <p>so I'm trying to create a slideshow, by using absolute positioning to stack the pictures on top of each other, but the problem I'm having is the text from below the slideshow is also getting stacked on top of the pictures. I tried putting the pictures inside a wrapper div, whose position was relative, but that didn't do anything. If anyone see's the problem, I'd really appreciate some help. </p> <p><strong>HTML CODE</strong></p> <pre><code>&lt;div id="imageDiv"&gt; &lt;div id="mainImage"&gt; &lt;img class="imagePositioning" id="slideshowImg1" src="images/tbrownMain.jpg" alt="Image of Terrell Brown" &gt;&lt;/img&gt; &lt;img class="imagePositioning" id="slideshowImg2" src="images/giantsMain.jpg" alt="Image of Giants" &gt;&lt;/img&gt; &lt;img class="imagePositioning" id="slideshowImg3" src="images/kobeMain.jpg" alt="Image of Kobe" &gt;&lt;/img&gt; &lt;img class="imagePositioning" id="slideshowImg4" src="images/nashMain.jpg" alt="Image of Nash" &gt;&lt;/img&gt; &lt;img class="imagePositioning" id="slideshowImg5" src="images/tebowMain.jpg" alt="Image of Tim Tebow" &gt;&lt;/img&gt; &lt;/div&gt; &lt;div id="contentText"&gt; &lt;a id="introText"&gt;Tim Tebow talks about Aaron Hernandez&lt;/a&gt; &lt;p id="detailsPar"&gt;Tim Tebow...&lt;/p&gt; &lt;/div&gt; &lt;table id="mediaMenu"&gt; &lt;tr&gt; &lt;td class="subMenu"&gt; &lt;a href="#" onclick="doEverything(0)"&gt; &lt;table&gt; &lt;tr&gt; &lt;td class="subTitle"&gt; Tebow Talks &lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;&lt;img style="opacity:1.0" id="sub0" src="images/tebow.jpg" alt="Tim Tebow"&gt;&lt;/img&gt;&lt;/td&gt;&lt;/tr&gt; &lt;/table&gt; &lt;/a&gt;&lt;/td&gt; //...4 more nested tables in same way &lt;/tr&gt; &lt;/table&gt; &lt;/div&gt; </code></pre> <p><strong>CSS CODE</strong></p> <pre><code>#mainImage { position:relative; } #imageDiv { border: 5px solid black; width:70%; position:relative; } .imagePositioning { position:absolute; } #contentText { color:orange; float:right; position:absolute; left:43%; width:26%; top:2%; } #mediaMenu td { margin:3px; padding:0px; width:20%; color:blue; font-family: Chalkduster, Verdana, Sans-serif; text-transform:uppercase; font-size:12px; } </code></pre> <p><img src="https://i.stack.imgur.com/NazyL.png" alt="enter image description here"></p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload