Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Div tags problems (again)

Status
Not open for further replies.

Jimuniguy

Technical User
Mar 6, 2002
363
GB
Hi,

This is the following code:

Code:
<!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot;>
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=iso-8859-1&quot;>
</head>
<body>
<div align=&quot;center&quot; style=&quot;position:relative; left:0px; top:30%; width:100%; height:30%; z-index:1; background-color: #99CC66; layer-background-color: #99CC66; border: 1px none #000000;&quot;>
<object classid=&quot;clsid:D27CDB6E-AE6D-11cf-96B8-444553540000&quot; codebase=&quot;[URL unfurl="true"]http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0&quot;[/URL] width=&quot;400&quot; height=&quot;200&quot; title=&quot;Flash Movie&quot;>
<param name=&quot;movie&quot; value=&quot;Flash/Introflash.swf&quot;>
<param name=&quot;quality&quot; value=&quot;high&quot;>
<param name=&quot;LOOP&quot; value=&quot;false&quot;>
<embed src=&quot;Flash/Introflash.swf&quot; width=&quot;400&quot; height=&quot;200&quot; loop=&quot;false&quot; quality=&quot;high&quot; pluginspage=&quot;[URL unfurl="true"]http://www.macromedia.com/go/getflashplayer&quot;[/URL] type=&quot;application/x-shockwave-flash&quot;></embed></object>
</div>
<div id=&quot;Links&quot; style=&quot;position:relative; ; width:100%; z-index:1; top: 0px; background-color: #9900CC; layer-background-color: #9900CC; border: 1px none #000000; left: 0px;&quot;>Typing something. This is the lower div and should be undearneath the other</div>
</body>
</html>

I would like to put the second div tag directley under the flash movie, but it fails to work.

Why and how can i solve it?

Cheers

Jim
 
Don't know why, but here's how...

<!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot;>
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=iso-8859-1&quot;>
</head>
<body>
<div align=&quot;center&quot; style=&quot;position:relative; left:0px; top:30%; width:100%; height:30%; z-index:1; background-color: #99CC66; layer-background-color: #99CC66; border: 1px none #000000;&quot;>
<object classid=&quot;clsid:D27CDB6E-AE6D-11cf-96B8-444553540000&quot; codebase=&quot; width=&quot;400&quot; height=&quot;200&quot; title=&quot;Flash Movie&quot;>
<param name=&quot;movie&quot; value=&quot;Flash/Introflash.swf&quot;>
<param name=&quot;quality&quot; value=&quot;high&quot;>
<param name=&quot;LOOP&quot; value=&quot;false&quot;>
<embed src=&quot;Flash/Introflash.swf&quot; width=&quot;400&quot; height=&quot;200&quot; loop=&quot;false&quot; quality=&quot;high&quot; pluginspage=&quot; type=&quot;application/x-shockwave-flash&quot;></embed></object>
</div>
<div id=&quot;Links&quot; style=&quot;position:relative;top: 30%; width:100%; z-index:1; background-color: #9900CC; layer-background-color: #9900CC; border: 1px none #000000; left: 0px;&quot;>Typing something. This is the lower div and should be undearneath the other</div>
</body>
</html>

Rick if(($question==&quot;has been bugging me&quot;
AND $answer==&quot;fixed the problem&quot;) OR $answer==&quot;really good post&quot;){
print(&quot;Star&quot;);
}else{
print(&quot;Thanks.&quot;);
}
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top