Posts: 876
Name: Matt Pealing
Location: England, north west
|
I have a navigation list that needs to appear above a flash animation, but it doesnt seem to be working!
Here is the code I have for it,
Code:
<div id="headInner">
<div id="headFlash">
<object type="application/x-shockwave-flash"
data="flash/bgHeadInner.swf"
width="850" height="100">
<param name="movie"
value="flash/bgHeadInner.swf" />
</object>
</div>
<ul id="nav">
<li><a href="../contact.php">contact</a></li>
<li><a href="../portfolio.php">portfolio</a></li>
<li><a href="../service.htm">services</a></li>
<li><a href="../about.htm">about</a></li>
<li><a href="../index.php">home</a></li>
</ul>
<br class="clear" />
</div>
Code:
#nav {
width:420px;
position:absolute;
bottom:0;
right:5px;
z-index:2;}
#nav li {
display:inline;}
#nav a {
width:70px;
font-weight:bold;
float:right;
font-size:80%;
margin-left:2px;
padding:0 5px;
color:#2597EB;
text-decoration:none;
background:url(../image/bgNavLi.png) no-repeat 0 100%;}
#nav a:hover, #nav a:active {
background:url(../image/bgNavLiHover.png) no-repeat 0 100%;}
#headInner {
width:850px;
height:100px;
margin:0 auto;
text-align:left;
background:url(../image/bgHeadInner.jpg) no-repeat 100% 0;
position:relative;}
#headFlash {
width:100%;
height:100px;
position:absolute;
z-index:1;}
Does anyone know why the flash animation is still appearing above the navigation? In IE it seems to show the very bottom of the nav, but thats it!
I should also point out that the page looks right in Dreamweaver, but just not in any browsers!
Any help would be great! thanks.
Last edited by pealo86; 09-20-2008 at 02:56 PM..
|