I have a page which uses CSS to place images and objects within a page, one of which is a flash panel. Directly above the Flash panel, there is an image map with 3 drop down menus built within a DIV tag. I used relative positioning so that the drop down menus would stay where they are supposed to be with different window sizes, but that means that everything below those menus gets bumped down when they are made visible.
First, the page is at:
Next, the code is
and the css is
Any thoughts on how to accomplish this? If I use absolute positioning, then it only works with one screen resolution, right? And if I use relative positioning then it pushes down the div below it when they are displayed. So, basically, help!!
Please.
Willie
First, the page is at:
Next, the code is
Code:
<center><div id="container">
<div id="navheader"><img src="images/nav_header.jpg" alt="YCM Youth Conference Ministries Information" width="777" height="96" border="0" usemap="#Map">
<div id="sonservants" STYLE="DISPLAY:none; Z-INDEX:99; WIDTH:83px; BACKGROUND-COLOR:#e0d6ca">
<ul style="PADDING-LEFT:2px; PADDING-BOTTOM:4px; PADDING-TOP:4px; LIST-STYLE-TYPE:none; margin-left:0px; text-align:left; margin-top:0px; margin-bottom:0px;">
<li><a class="menu" href="">SS Schedule</a>
<li><a class="menu" href="">FAQs</a>
<li><a class="menu" href="">Downloads</a>
<li><a class="menu" href="">Photos</a>
<li><a class="menu" href="">Videos</a>
<li><a class="menu" href="">Speakers/<br>Musicians</a>
<li><a class="menu" href="">Register</a>
<li><a class="menu" href="">Evaluations</a></li>
</ul>
</div>
<div id="fits" STYLE="DISPLAY:none; Z-INDEX:99; WIDTH:94px; BACKGROUND-COLOR:#e0d6ca">
<ul style="PADDING-LEFT:2px; PADDING-BOTTOM:4px; PADDING-TOP:4px; LIST-STYLE-TYPE:none; margin-left:0px; text-align:left; margin-top:0px; margin-bottom:0px;">
<li><a class="menu" href="">FITS Schedule</a>
<li><a class="menu" href="">FAQs</a>
<li><a class="menu" href="">Downloads</a>
<li><a class="menu" href="">Photos</a>
<li><a class="menu" href="">Videos</a>
<li><a class="menu" href="">Speakers/<br>Musicians</a>
<li><a class="menu" href="">Register</a>
<li><a class="menu" href="">Evaluations</a></li>
</ul>
</div>
<div id="greatescape" STYLE="DISPLAY:none; Z-INDEX:99; WIDTH:109px; BACKGROUND-COLOR:#e0d6ca">
<ul style="PADDING-LEFT:2px; PADDING-BOTTOM:4px; PADDING-TOP:4px; LIST-STYLE-TYPE:none; margin-left:0px; text-align:left; margin-top:0px; margin-bottom:0px;">
<li><a class="menu" href="">GE Schedule</a>
<li><a class="menu" href="">FAQs</a>
<li><a class="menu" href="">Downloads</a>
<li><a class="menu" href="">Photos</a>
<li><a class="menu" href="">Videos</a>
<li><a class="menu" href="">Speakers/<br>Musicians</a>
<li><a class="menu" href="">Register</a>
<li><a class="menu" href="">Evaluations</a></li>
</ul>
</div>
</div>
</div></center>
<center><div id="container1">
<div id="flashpanel">
<OBJECT id="panel" codeBase="[URL unfurl="true"]http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0"[/URL] height="399" width="777" align="middle" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" VIEWASTEXT>
<PARAM NAME="_cx" VALUE="20558">
<PARAM NAME="_cy" VALUE="10557">
<PARAM NAME="FlashVars" VALUE="">
<PARAM NAME="Movie" VALUE="flash/panel.swf">
<PARAM NAME="Src" VALUE="flash/panel.swf">
<PARAM NAME="WMode" VALUE="Transparent">
<PARAM NAME="Play" VALUE="-1">
<PARAM NAME="Loop" VALUE="-1">
<PARAM NAME="Quality" VALUE="High">
<PARAM NAME="SAlign" VALUE="">
<PARAM NAME="Menu" VALUE="-1">
<PARAM NAME="Base" VALUE="">
<PARAM NAME="AllowScriptAccess" VALUE="sameDomain">
<PARAM NAME="Scale" VALUE="ShowAll">
<PARAM NAME="DeviceFont" VALUE="0">
<PARAM NAME="EmbedMovie" VALUE="0">
<PARAM NAME="BGColor" VALUE="593326">
<PARAM NAME="SWRemote" VALUE="">
<PARAM NAME="MovieData" VALUE="">
<PARAM NAME="SeamlessTabbing" VALUE="1">
<PARAM NAME="Profile" VALUE="0">
<PARAM NAME="ProfileAddress" VALUE="">
<PARAM NAME="ProfilePort" VALUE="0">
<PARAM NAME="AllowNetworking" VALUE="all">
<PARAM NAME="AllowFullScreen" VALUE="false">
<embed src="flash/panel.swf" quality="high" bgcolor="#593326" width="777" height="399" name="panel" wmode="transparent" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="[URL unfurl="true"]http://www.macromedia.com/go/getflashplayer"[/URL] />
</OBJECT>
<div id="iframeheader"><img src="images/iframes_pane.jpg" width="777" height="301" alt="">
<div id="iframe1"><iframe scrolling="auto" src="homepage_pane.html" width="100%" height="100%" frameborder="0" marginwidth="0" marginheight="0"></iframe></div>
<div id="iframe2"><iframe scrolling="auto" src="homepage_pane.html" width="100%" height="100%" frameborder="0" marginwidth="0" marginheight="0"></iframe></div>
<div id="iframe3"><iframe scrolling="auto" src="homepage_pane.html" width="100%" height="100%" frameborder="0" marginwidth="0" marginheight="0"></iframe></div>
<div id="emailinput"><form name="newsletter" method="post" action="newslettersignup.asp">
<input name="emailaddress" height="20" type="text" style="BORDER-RIGHT: #95a8a5 1px solid; PADDING-RIGHT: 4px; BORDER-TOP: #95a8a5 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 12px; PADDING-BOTTOM: 4px; BORDER-LEFT: #95a8a5 1px solid; COLOR: #000000; PADDING-TOP: 4px; BORDER-BOTTOM: #95a8a5 1px solid; FONT-FAMILY: georgia; BACKGROUND-COLOR: #6f8a86" value="E-mail Address" size="25" onFocus="javascript:document.newsletter.textfield.value='';">
<input type="submit" value="Submit" style="PADDING-RIGHT: 2px; PADDING-LEFT: 2px; FONT-SIZE: 12px; PADDING-BOTTOM: 2px; COLOR: #b3c1bf; BORDER-TOP-STYLE: none; PADDING-TOP: 2px; FONT-FAMILY: georgia; BORDER-RIGHT-STYLE: none; BORDER-LEFT-STYLE: none; BACKGROUND-COLOR: #586d6a; BORDER-BOTTOM-STYLE: none"></form></div>
</div>
<div id="footer"><img src="images/footer.jpg" width="777" height="47" alt="" usemap="#Map3" border="0" id="IMG1"><br>
<br><span class="style2"><nobr>site by <a href="[URL unfurl="true"]http://www.metaleapdesign.com"[/URL] target="_blank">Metaleap Design</a></nobr></span></div>
</div>
</div>
</center>
and the css is
Code:
#navheader
{
align:center;
z-index:0;
}
div#navheader #sonservants
{
position:relative;
float:left;
left:311px;
top:0px;
}
div#navheader #fits
{
position:relative;
float:left;
left:414px;
top:0px;
}
div#navheader #greatescape
{
position:relative;
float:left;
left:527px;
top:0px;
}
#flashpanel
{
left:124px;
top:96px;
background-color:#593326;
}
div#flashpanel #iframeheader
{
position:relative;
top:0px;
float:left;
z-index:0;
}
div#flashpanel #iframeheader #iframe1
{
position:relative;
top:-245px;
float:left;
left:37px;
width:220px;
height:190px;
z-index:1;
}
div#flashpanel #iframeheader #iframe2
{
position:relative;
top:-245px;
float:left;
left:65px;
width:210px;
height:190px;
z-index:1;
}
div#flashpanel #iframeheader #iframe3
{
position:relative;
top:-245px;
float:left;
left:100px;
width:205px;
height:190px;
z-index:1;
}
div#flashpanel #iframeheader #emailinput
{
position:relative;
top:-225px;
left:75px;
z-index:1;
}
div#flashpanel #footer
{
position:relative;
top:-231px;
float:left;
z-index:0;
}
Any thoughts on how to accomplish this? If I use absolute positioning, then it only works with one screen resolution, right? And if I use relative positioning then it pushes down the div below it when they are displayed. So, basically, help!!
Please.
Willie