Solved

Relative positioning above another element

Posted on 2008-10-30
1
668 Views
Last Modified: 2011-10-19
Hello,

Attached is a screen shot, I am trying to position a star burst above a flash file positioned relative to the containing frame.  

I've tried adding a z-index to the table and to the flash containing div less than that of the star div, doesnt seem to work; any thoughts how I can position this star div relative to the white containing box and above the flash file?

Thanks
//CSS
#star {
position:relative;
left:1px;
z-index:100;
}
 
// HTML
<div id="jbcontent">
<div id="star">
<img src="templates/FW153/images/star_large.png" class="normal" />
</div>
<table border="0" cellspacing="0" cellpadding="0" width="720" style="margin:-.8em 0 0 0;">
 <tbody>
  <tr valign="top">
       <td valign="top" style="padding:0 0 10px 10px;">
         <span class="intro_text">FindWhere transforms advanced GPS technology into an easy-to-use tracking<br>
         and locating service  putting </span><span class="intro_teal">peace of mind</span><span class="intro_text"> into the palm of your hand. </span></td>
  </tr>
  <tr>
    <td><div align="center" style="margin:-.24em 0 -.5em 0;">
      <script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0','width','905','height','425','src','templates/FW153/flash/fw_intro','quality','high','pluginspage','http://www.macromedia.com/go/getflashplayer','movie','templates/FW153/flash/fw_intro' ); //end AC code
</script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="905" height="425">
        <param name="movie" value="templates/FW153/flash/fw_intro.swf" />
        <param name="quality" value="high" />
        <embed src="templates/FW153/flash/fw_intro.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="905" height="425"></embed>
      </object></noscript></div>
    </td></tr>
 
 </tbody>
</table>
</div>

Open in new window

ss.gif
0
Comment
Question by:vrmetro
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 30

Accepted Solution

by:
Steggs earned 500 total points
ID: 22846490
Hello,

Try adding

<param name="wmode" value="transparent" /> to the object parameters AND wmode="transparent" to the embed tag.

Next,

css:

#jbcontent {
position:relative
}
#star {
position:absolute;
left:200px;
top:200px;
z-index:100
}

Let me know how that goes

Steggs
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Are these icons a web font? 3 27
Text color in a select 11 31
CSS - how to make button/link change to black on hover? 2 34
Loading Self-Hosted Fonts 12 41
Introduction A frequently asked question goes something like this:  "I am running a long process in the background and I want to alert my client when the process finishes.  How can I send a message to the browser?"  Unfortunately, the short answer…
Why do we like using grid based layouts in website design? Let's look at the live examples of websites and compare them to grid based WordPress themes.
In this Micro Tutorial users will learn how to embed custom fonts into websites using @font-face in CSS Select a font: Ensure the EULA allows you to use @font-face: Download the font: Get the browser-compatible files you need: Edit your CSS       - Name …
In this tutorial viewers will learn how to position items using CSS's three positioning types Create a new HTML document with an internal stylesheet.: Create another div in CSS and name it Absolute : Type "position:absolute;" and "top:10px; left:50p…

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question