开发者

i need help php css div and flash

hello i wanted to include this flash clock on my header but it overlaps causing the existing header not being displayed. please refer to the image link thanks.

<?php 
echo "
  <p align=\"center\">
  <embed 
    title=\"Clock\" 
    src=\"http://www.respectsoft.com/onlineclock/onlineclock.swf?ccolor=red\"quality=\"high\" 
    wmode=\"transparent\" bgcolor=\"#ffffff\" width=\"88\" 
    height=\"31\" align=\"middle\" allowScriptAccess=\"sameDomain\" 
    type=\"application/x-shockwave-flash\" 
    pluginspage=\"http://www.macromedia.com/go/getflashplayer\" 
  />
  <br>\n";
?>

this is almost working but still interferring...

<?php echo "<div style=\"position: relative; z-index: 1;\"> <embed title=\"Clock\" src=\"http://www.respectsoft.com/onlineclock/onlineclock.swf?ccolor=red\" quality=\"high\" wmode=\"transparent\"  width=\"88\" height=\"31开发者_如何学JAVA\" align=\"middle\" allowScriptAccess=\"sameDomain\" type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" /><br>\n </div>\n";?>


Hey I think you should use z-index in css style sheet (read css z-index if u dont know about it) by giving id's to both header and clock and then use z-index on these as suggested earlier by daniel.

Best of luck

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜