Hi every one I'm really very new to Java and HTML and the whole web code thing so I'm really need some help with something what will seem laughable for some of the more advanced people I've seen posting on this forum. When I add my SWFObject to my HTML page in the slot where I want to place my flash movie a space is made bellow and somewhat above the SWFObject placement. This in turn destroys my table and makes the whole page look very armature.
I've included to resource files to assist any one that would be kind enough to lend a hand: The first one is the link to the site as is so you can look over what I'm dealing with
1. move the <script type="text/javascript" src="swfobject.js"></script> out of the talbe and into the <head> of the document
2. The div you are writing your flash file into: <div id="flashcontent"> </div> has no sizing definition, alignment etc. Even though you are specifying 533x541 as your flash size, it is the div which will ultimately control the sizing / layout.
3. you have some table header tags </th> hanging around which are never opened / shouldn't be there
1)I moved the "<script type/javascript" to the head of the code.
2) In regards to SWFObject div id="flashcontent"> </div> sizing I've never defined one of these do you have any examples for defing size of flashcontent so I could us some help with that
SWFObject code currnetly in the file:
<div id="flashcontent"> </div> <script type="text/javascript"> var so = new SWFObject("b_flash.swf", "mymovie", "533", "541", "8", "#FFFFFF"); so.write("flashcontent"); </script>
3)I removed the </th> tags
I've updated these resource files to assist you in looking over the changes I've made to the code. The first one is the link to the site as is so you can look over what I'm dealing with
In regards to positioning/sizing a <div> - This can either be done with CSS or inline like a table element etc. Sizing and positioning elements is basic CSS, and is not really in the scope of this forum.