you could also try body { margin : 0px 0px 0px 0px; padding:0px; } or body { margin : 0px; padding:0px; } as a shorthand method. This will take care of the margins in IE4+ and NN6. To take care of NN4x, you will need to use MODIFY | Page Properties... and set the two right hand margin fields (marginwidth and marginheight) to 0. -- Murray --- ICQ 71997575 Team Macromedia Volunteer for Dreamweaver MX (If you *MUST* email me, don't LAUGH when you do so!) ================== [url]news://forums.macromedia.com/macromedia.dreamweaver[/url] - THE BEST WAY TO GET ANSWERS ================== [url]http://www.dreamweavermx-templates.com[/url] - Template Triage! [url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources [url]http://www.DreamweaverFAQ.com[/url] - DW FAQs, Tutorials & Resources [url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes ================== "buzz01" wrote in message news:bemig7$mq6$1@forums.macromedia.com...[quote] > When I import a large Flash movie (800x600) or even a plain image into[/quote] Dreamweaver, I get unwanted blank space on the top and left margin. Why does this occur? How can I get rid of it?[quote] > > XXXXXXXXXXXXXXXXX > X > X My Movie/Image > X > X > X > X > X > X > >[/quote] [allowsmilie] => 1 [showsignature] => 0 [ipaddress] => [iconid] => 0 [visible] => 1 [attach] => 0 [infraction] => 0 [reportthreadid] => 0 [isusenetpost] => 1 [msgid] => [ref] => [htmlstate] => on_nl2br [postusername] => Murray *TMM* [ip] => forums@HAHAgrea [isdeleted] => 0 [usergroupid] => [membergroupids] => [displaygroupid] => [password] => [passworddate] => [email] => [styleid] => [parentemail] => [homepage] => [icq] => [aim] => [yahoo] => [msn] => [skype] => [showvbcode] => [showbirthday] => [usertitle] => [customtitle] => [joindate] => [daysprune] => [lastvisit] => [lastactivity] => [lastpost] => [lastpostid] => [posts] => [reputation] => [reputationlevelid] => [timezoneoffset] => [pmpopup] => [avatarid] => [avatarrevision] => [profilepicrevision] => [sigpicrevision] => [options] => [akvbghsfs_optionsfield] => [birthday] => [birthday_search] => [maxposts] => [startofweek] => [referrerid] => [languageid] => [emailstamp] => [threadedmode] => [autosubscribe] => [pmtotal] => [pmunread] => [salt] => [ipoints] => [infractions] => [warnings] => [infractiongroupids] => [infractiongroupid] => [adminoptions] => [profilevisits] => [friendcount] => [friendreqcount] => [vmunreadcount] => [vmmoderatedcount] => [socgroupinvitecount] => [socgroupreqcount] => [pcunreadcount] => [pcmoderatedcount] => [gmmoderatedcount] => [assetposthash] => [fbuserid] => [fbjoindate] => [fbname] => [logintype] => [fbaccesstoken] => [newrepcount] => [vbseo_likes_in] => [vbseo_likes_out] => [vbseo_likes_unread] => [temp] => [field1] => [field2] => [field3] => [field4] => [field5] => [subfolders] => [pmfolders] => [buddylist] => [ignorelist] => [signature] => [searchprefs] => [rank] => [icontitle] => [iconpath] => [avatarpath] => [hascustomavatar] => 0 [avatardateline] => [avwidth] => [avheight] => [edit_userid] => [edit_username] => [edit_dateline] => [edit_reason] => [hashistory] => [pagetext_html] => [hasimages] => [signatureparsed] => [sighasimages] => [sigpic] => [sigpicdateline] => [sigpicwidth] => [sigpicheight] => [postcount] => 2 [islastshown] => [isfirstshown] => [attachments] => [allattachments] => ) --> problem with white space/border when importing image or movie - Macromedia Dreamweaver

problem with white space/border when importing image or movie - Macromedia Dreamweaver

When I import a large Flash movie (800x600) or even a plain image into Dreamweaver, I get unwanted blank space on the top and left margin. Why does this occur? How can I get rid of it? XX X X My Movie/Image X X X X X X...

  1. #1

    Default problem with white space/border when importing image or movie

    When I import a large Flash movie (800x600) or even a plain image into Dreamweaver, I get unwanted blank space on the top and left margin. Why does this occur? How can I get rid of it?

    XX
    X
    X My Movie/Image
    X
    X
    X
    X
    X
    X


    buzz01 webforumsuser@macromedia.com Guest

  2. #2

    Default Re: problem with white space/border when importing image or movie

    Link to an external stylesheet (using DW's CSS editor), or embed a
    stylesheet in your code (between <head> and </head>) with the following
    style in it (embedded shown for cut-n-paste convenience) (assuming you want
    zero margins) -

    <style type="text/css">
    <!--
    body { margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left:
    0px; padding:0px; }
    -->
    </style>

    you could also try

    body { margin : 0px 0px 0px 0px; padding:0px; }

    or

    body { margin : 0px; padding:0px; }

    as a shorthand method.

    This will take care of the margins in IE4+ and NN6. To take care of NN4x,
    you will need to use MODIFY | Page Properties... and set the two right hand
    margin fields (marginwidth and marginheight) to 0.

    --
    Murray --- ICQ 71997575
    Team Macromedia Volunteer for Dreamweaver MX
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    [url]news://forums.macromedia.com/macromedia.dreamweaver[/url] - THE BEST WAY TO GET
    ANSWERS
    ==================
    [url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
    [url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.DreamweaverFAQ.com[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
    ==================

    "buzz01" <webforumsusermacromedia.com> wrote in message
    news:bemig7$mq6$1forums.macromedia.com...
    > When I import a large Flash movie (800x600) or even a plain image into
    Dreamweaver, I get unwanted blank space on the top and left margin. Why
    does this occur? How can I get rid of it?
    >
    > XX
    > X
    > X My Movie/Image
    > X
    > X
    > X
    > X
    > X
    > X
    >
    >

    Murray *TMM* Guest

  3. #3

    Default Re: problem with white space/border when importing image or movie

    "buzz01" [email]webforumsusermacromedia.com[/email] wrote:
    > When I import a large Flash movie (800x600) or even a plain image
    into Dreamweaver, I get unwanted blank space on the top and left margin.
    Why does this occur? How can I get rid of it?

    Blank space on top and left OF WHAT?
    The page? The table you're putting the file in? A layer? Code? A URL?

    --
    Dan Vendel - *GOF*
    [url]http://www.vendel.info[/url]
    Contact me directly by clicking here:
    [url]http://contact.vendel.info[/url]
    Formmail tutorial:
    [url]http://www.vendel.info/tut/formmail.html[/url]
    Nested table demonstration:
    [url]http://www.vendel.info/tabletut/[/url]

    Dan Vendel *GOF* Guest

  4. #4

    Default Re: problem with white space/border when importing image or movie

    "buzz01" [email]webforumsusermacromedia.com[/email] wrote:
    > You asked ...
    >
    > "Blank space on top and left OF WHAT?
    > The page? The table you're putting the file in? A layer? Code? A URL?"
    >
    > I get that blank space on top and left of an image or Flash Movie.


    Sorry, I meant IN what?

    Do you put the file straight in the page or in a layer or in a table.
    Can you post a URL or code?
    If it's the page, look at Murray's reply. If not, give us more info,
    else it's just guesswork



    --
    Dan Vendel - *GOF*
    [url]http://www.vendel.info[/url]
    Contact me directly by clicking here:
    [url]http://contact.vendel.info[/url]
    Formmail tutorial:
    [url]http://www.vendel.info/tut/formmail.html[/url]
    Nested table demonstration:
    [url]http://www.vendel.info/tabletut/[/url]

    Dan Vendel *GOF* Guest

  5. #5

    Default Re: problem with white space/border when importing image or movie

    Here is someone else's page that seems to illustrate the problem. Note the (black space) at top and left of Flash movie. see [url]http://www.oetectrading.com.au/aboutus.htm[/url]


    X
    X
    X Flash Movie
    X
    X
    X
    X

    Help?



    buzz01 webforumsuser@macromedia.com Guest

  6. #6

    Default Re: problem with white space/border when importing image or movie

    "buzz01" [email]webforumsusermacromedia.com[/email] wrote:
    > You asked "in what?"
    >
    >
    > I put the image or Flash movie in a simple HTML page in DreamWeaver.
    I insert the image or movie in the body of the html doent.
    >
    > The result is as described.
    >
    > Also, see someone else's web site for view of the problem.
    >
    > See [url]http://www.oetectrading.com.au/aboutus.htm[/url]
    >
    > Do you see the black colored (white space) at the top of this image?
    It's PROBABLY the page margins, so do as suggested by Murray.
    And as Alan says: please don't refer to another site, because even if
    the problem LOOKS the same as yours, you don't have a clue what's
    causing theirs. You're just confusing everything.
    Instead, and if the issue remains after adding the margins a la Murray,
    post the code to the darned page or upload and give us a URL to it, not
    to someone else's.

    --
    Dan Vendel - *GOF*
    [url]http://www.vendel.info[/url]
    Contact me directly by clicking here:
    [url]http://contact.vendel.info[/url]
    Formmail tutorial:
    [url]http://www.vendel.info/tut/formmail.html[/url]
    Nested table demonstration:
    [url]http://www.vendel.info/tabletut/[/url]

    Dan Vendel *GOF* Guest

Similar Threads

  1. Getting rid of the white background of image file after importing into FH9
    By design in progress webforumsuser@macromedia.com in forum Macromedia Freehand
    Replies: 5
    Last Post: September 27th, 08:57 AM
  2. Importing PSD into FW MX creates a white border
    By anadownunder webforumsuser@macromedia.com in forum Macromedia Fireworks
    Replies: 2
    Last Post: September 2nd, 11:56 PM
  3. Printing White Space Problem
    By Aaron Mizell in forum Adobe Photoshop 7, CS, CS2 & CS3
    Replies: 2
    Last Post: August 27th, 01:25 PM
  4. problem importing image with transparent background...
    By N3uromancer webforumsuser@macromedia.com in forum Macromedia Freehand
    Replies: 3
    Last Post: August 19th, 02:00 AM
  5. White border on left of opening image
    By twobugs webforumsuser@macromedia.com in forum Macromedia Director Basics
    Replies: 0
    Last Post: June 28th, 03:15 PM

Bookmarks

Posting Permissions

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