Welcome to TalkGraphics.com
Results 1 to 6 of 6
  1. #1
    Join Date
    Apr 2011
    Location
    Republic of Immigrants
    Posts
    53

    Default WD7 - Removing Top and Bottom Margin

    Hi,

    I was looking to remove the top and bottom margin on my web site. I saw a post for adding code in the header (testing it out) and it did not work for me. If someone could pass along the insight for WD7 Premium I would appreciate it.

    Thanks in advance.

    MD

  2. #2
    Join Date
    Mar 2009
    Location
    England
    Posts
    2,044

    Default Re: WD7 - Removing Top and Bottom Margin

    Hi MD

    Zero margins are the default in WD. have you added content above or below the page ?

  3. #3
    Join Date
    Apr 2011
    Location
    Republic of Immigrants
    Posts
    53

    Default Re: WD7 - Removing Top and Bottom Margin

    Nope. I used the "Infrastructure" template to create the site.

    www.tradevet.com

    As you can see, there is space above and below the page.

    Appreciate the reply.

  4. #4
    Join Date
    Mar 2009
    Location
    England
    Posts
    2,044

    Default Re: WD7 - Removing Top and Bottom Margin

    Hi MD

    Add this the the "head code" of every page (web properties >> website)

    Code:
    <style type="text/css">
    
    #xr_xr {
    margin-top: -15px;
    }
    
    </style>
    To get rid of the margin at the bottom remove or reposition the page drop shadow.

    Shout if any of that does not make sense

  5. #5
    Join Date
    Apr 2011
    Location
    Republic of Immigrants
    Posts
    53

    Default Re: WD7 - Removing Top and Bottom Margin

    Worked great on the top. I will mess around with the bottom. Appreciate your time and insight!!

  6. #6
    Join Date
    Aug 2007
    Location
    Maghull UK
    Posts
    6,202

    Default Re: WD7 - Removing Top and Bottom Margin

    You cannot remove the bottom margin if the browser window is taller than the length/height of the page... :-)
    JOHN -XaReg (FB) XaReg (DB - ignore prompt to register)
    Windows 10 [Anniversary] pro Intel Pentium CPU G630 @ 2.70Ghz RAM: 4 GB; 64-bit x64

 

 

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
  •