A Flash Developer Resource Site

Results 1 to 10 of 10

Thread: Actice X White Space in webpage

Hybrid View

  1. #1
    Junior Member
    Join Date
    Oct 2006
    Posts
    21

    Actice X White Space in webpage

    Take a look at this site: www.tomorrowstaxservice.com

    Is there a way to eliminate the area of "whitespace" that is outlined in the Active X area. I want to place a background color for the page but I can not because of the large area of whitespace that surronds the swf file.

    I just want to be able insert just the swf file so it fits into a table without having the blank white area around the file.

    Thanks.

  2. #2
    KoolMoves Moderator blanius's Avatar
    Join Date
    Jul 2001
    Location
    Atlanta GA
    Posts
    5,244
    make a smaller table cell to hold the flash.....

  3. #3
    Junior Member
    Join Date
    Oct 2006
    Posts
    21
    I have tried that but the problem appears to be with the actual swf file. I have adjusted the size of the cell and the swf. file but the "white active x" area still surrounds the file. I am using Frontpage 2003 if that helps.

    Is there a way to edit this is koolmoves.

  4. #4
    Senior Member
    Join Date
    Jun 2000
    Posts
    3,512
    Add LEFTMARGIN="0" MARGINWIDTH="0" TOPMARGIN="0" MARGINHEIGHT="0" to the <Body tag

  5. #5
    Junior Member
    Join Date
    Oct 2006
    Posts
    21
    Where do I need to place this? I typed it beside the body tag and the text just appeared on the page.

    Here is the original code for the page:
    <html>

    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <title>Tomorrow's Tax Service</title>
    <bgsound src="typewriter.wav" loop="1">
    <meta name="keywords" content="Tax Preparation, Tampa, Saint Petersburg, Hampton Roads, Virginia, Florida">
    <meta name="description" content="Tax Preparation, Tampa, Saint Petersburg, Hampton Roads, Virginia, Florida">
    </head>

    <body>

    <table border="0" width="100%" id="table1" bgcolor="#FFFFFF">
    <tr>
    <td width="900%" height="600%">
    <p align="center">
    <embed width="900" height="600" src="tomorrows%20tax%20service.swf" align="middle"></td>
    </tr>
    <tr>
    <td>
    <p align="center">
    <font size="2">Website Created and Maintained by
    <a target="_blank" href="http://www.indigocg.com/">Indigo Consulting Group</a><br>
    Any questions and concerns should be directed to
    <a href="mailto:[email protected]">webmaster@ind igocg.com</a><br>
    <a target="_blank" href="http://www.indigocg.com">www.indigocg.com</a> for your web
    design needs</font></td>
    </tr>
    </table>

    </body>

    </html>

  6. #6
    Senior Member
    Join Date
    Jun 2000
    Posts
    3,512
    <body Leftmargin="0" Marginwidth="0" Topmargin="0" Marginheight="0">

  7. #7
    That web bloke Stoke Laurie's Avatar
    Join Date
    Jan 2006
    Location
    England
    Posts
    869
    Can I suggest that you use pre-loaders on this and all your example sites, as some take a while to load with no indication of what to expect.

  8. #8
    KoolMoves Moderator blanius's Avatar
    Join Date
    Jul 2001
    Location
    Atlanta GA
    Posts
    5,244
    I guess I'm not understanding this. You have a table with 100% cell and the flash is in that. So yeah there's whitespace. Set the size of the cell to the same as the flash. This is pretty basic layout stuff. If you want that INSIDE another table cell that's fine that one can be 100% to keep it centered like you have it now.

    And even if you can't do that set the background color of the page and then set the tables bg color the same, visibly it will be the same.

  9. #9
    That web bloke Stoke Laurie's Avatar
    Join Date
    Jan 2006
    Location
    England
    Posts
    869
    Open your page in your HTML editor - frontpage will do, and remove the cell padding and cell spacing.

  10. #10
    KoolMoves Moderator blanius's Avatar
    Join Date
    Jul 2001
    Location
    Atlanta GA
    Posts
    5,244
    OK here:Took 30 seconds in Dreamweaver.

    PHP Code:
    <html>

    <
    head>
    <
    meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <
    title>Tomorrow's Tax Service</title>
    <bgsound src="typewriter.wav" loop="1">
    <meta name="keywords" content="Tax Preparation, Tampa, Saint Petersburg, Hampton Roads, Virginia, Florida">
    <meta name="description" content="Tax Preparation, Tampa, Saint Petersburg, Hampton Roads, Virginia, Florida">
    </head>

    <body bgcolor="#00FF66">

    <table border="0" width="100%" id="table1" bgcolor="#00FF66">
      <!--DWLayoutTable-->
        <tr>
          <td width="174" height="602">&nbsp;</td>
          <td width="900" valign="top">
            <p align="center">
          <embed width="900" height="600" src="tomorrows%20tax%20service.swf" align="middle"></td>
        <td width="126">&nbsp;</td>
        </tr>
        <tr>
            <td height="47" colspan="3">
            <p align="center">
            <font size="2">Website Created and Maintained by
            <a target="_blank" href="http://www.indigocg.com/">Indigo Consulting Group</a><br>
            Any questions and concerns should be directed to
            <a href="mailto:[email protected]">[email protected]</a><br>
            <a target="_blank" href="http://www.indigocg.com">www.indigocg.com</a> for your web 
            design needs</font></td>
        </tr>
    </table>

    </body>

    </html> 
    This kind of question is probably best answered in the HTML/Javascript forum http://board.flashkit.com/board/forumdisplay.php?f=103 .

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center