html help? simple question:)?

  • Thread starter Thread starter Are You Ready??™
  • Start date Start date
A

Are You Ready??™

Guest
im currently working on a website, and i have inserted html onto it. whenever the page is maximized, the html is in the right spot. but when it is restored down, it moves.
why is it doing this & how can i fix it? thanks:)
the code is:

<div id="div574807534" class="comp" style="overflow: visible; top: 240px; left: 292.5px; width: 589px; height: 546px; z-index: 1001;">
<embed bgcolor="#000000" quality="high" wmode="transparent" base="http://www.wwe.com/swf/ep/" flashvars="userAgent=Mozilla%2F5.0%20(Windows%3B%20U%3B%20Windows%20NT%205.1%3B%20en-US%3B%20rv%3A1.8.1.14)%20Gecko%2F20080404%20Firefox%2F2.0.0.14%20ImageShackToolbar%2F4.4.3&contentXml=/touts/ep/%3Fview=xml&playerURL=player.swf&playerTitle=The Latest" type="application/x-shockwave-flash" src="http://www.wwe.com/swf/ep/player.swf" name="ep" id="ep" width="680" height="410"><!-- ParagraphBodyEnd --></div>
 
You may need to add a "position: relative;" in the style.
Of course, if you want it to appear in the same place all the time, use "position: absolute;".

There is still some code that may be missing in your CSS. Look for the section that has this text (without the quotes): ".comp" <-- don't forget the period
 
Back
Top