Welcome to TalkGraphics.com
Results 1 to 5 of 5
  1. #1
    Join Date
    Jun 2009
    Location
    Reading. UK
    Posts
    6,997

    Default Gap at the top of the page

    Where can you set it, so that you have a gap at the top of your page?

    A gap of about 15pixels between the very top of the browser and the top of your page.

    Featured Artist on Xara Xone . May 2011
    . A Shield . My First Tutorial
    . Bottle Cap . My Second Tutorial on Xara Xone

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

    Default Re: Gap at the top of the page

    Hi Rik

    There are two ways of doing this. The first is to switch on the rulers and drag the origin to a point 15px above the top left corner of the page. (this will only work for new sites)

    The second is to add the code below to either the page or website head, depending on where it is to be applied.



    Code:
    <style type="text/css">
    #xr_xr {
    margin-top: 15px;
    }
    </style>
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	margin1.jpg 
Views:	94 
Size:	39.6 KB 
ID:	88896  

  3. #3
    Join Date
    Jun 2009
    Location
    Reading. UK
    Posts
    6,997

    Default Re: Gap at the top of the page

    Thank, Drwyd.

    You're a real star. And quick with it!

    Featured Artist on Xara Xone . May 2011
    . A Shield . My First Tutorial
    . Bottle Cap . My Second Tutorial on Xara Xone

  4. #4

    Default Re: Gap at the top of the page

    Note: The first method will only work provided you have first applied a pasteboard background colour or image.

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

    Default Re: Gap at the top of the page

    Cheers Steve ... forgot that bit

 

 

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
  •