Need help...

Thewinator

New Member
Messages
256
Reaction score
0
Points
0
Alright this is all the code you need.
No div no pixels
HTML:
<body bgcolor="#006699" style="padding:0px; margin:0px;">
<embed src="http://sohailtech.com/index.swf" width="100%" height="100%" align="top" quality="high" bgcolor="#006699" name="index" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
 

Mooseman

New Member
Messages
89
Reaction score
0
Points
0
Yes, if you want the flash to cover the whole page, which wasnt the layout originally wanted before changes were done, but...

You are not supposed to style in HTML, and 0px is not considered valid, it should be just 0

So, you can have it like this :
CSS
body{background:#006699;padding:0;margin:0;}
embed{width:100%;height:100%;background:#006699;}

HTML
<body>
<embed src="http://sohailtech.com/index.swf" quality="high" name="index" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></body>

On the other hand, embed is no longer the tag to use either, object is ;)
 

Sohail

Active Member
Messages
3,055
Reaction score
0
Points
36
Thanks for the help everyone. None of those complicated codes actually worked... Iv'e managed to fix the problem now as you can see by going to sohailtech.com.

By the way Mooseman, i wasn't using CSS so that wouldn't have worked but thanks anyway.

All i had to do was to add <div align="center><flash code here...></div> and it worked like a charm.
 

charlies

New Member
Messages
39
Reaction score
0
Points
0
Yes, if you want the flash to cover the whole page, which wasnt the layout originally wanted before changes were done, but...

You are not supposed to style in HTML, and 0px is not considered valid, it should be just 0

So, you can have it like this :
CSS
body{background:#006699;padding:0;margin:0;}
embed{width:100%;height:100%;background:#006699;}

HTML
<body>
<embed src="http://sohailtech.com/index.swf" quality="high" name="index" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></body>

On the other hand, embed is no longer the tag to use either, object is ;)
Hey Mooseman... In CSS 0 isn't considered valid but 0px is!
Lol... next time you start lecturing people on proper use of CSS, go learn the language first
 
Top