Welcome to TalkGraphics.com
Results 1 to 7 of 7
  1. #1
    Join Date
    Feb 2015
    Posts
    18

    Default Space before page

    Hi All,

    I'm a noob using Web Designer. I'm having trouble with how to cause pages to display a bit down from the top of the pasteboard (globally). Seems like a simple thing. I've reviewed the help pages extensively - no can find.

    Thanks,
    icue

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

    Default Re: Space before page

    In past versions of Xara we would have to use a tweak. I'm not sure if we still have to. here is one I made many months ago.

    Adjust "margin-top" to suit your needs.
    Attached Files Attached Files

  3. #3
    Join Date
    Aug 2000
    Location
    Placitas, New Mexico, USA
    Posts
    41,528

    Default Re: Space before page

    Welcome to TalkGraphics icue

  4. #4
    Join Date
    Feb 2015
    Posts
    18

    Default Re: Space before page

    Thank you Dyrwd for the help and gwpriester for the welcome. Wow this is an active forum. I'm astounded at the amount of posting going on.

    So, I've downloaded the Margin.web.xar file. It appears windows or my browser does an automatic uncompress to "attachment.php" (I just learned about "xar"). When I look at the file attachment.php with gvim, it doesn't appear to be PHP but has a bunch of hexadecimal chars in it. This probably means I'm doing something wrong! If I were to get it downloaded and decompressed correctly, how do I used it? I assume it will go in the header html for the site.

    I've poked around a bit on the forum and see this has been an "issue" for some time. Some solutions use a bit of CSS in the header. The other solution is to drag the ruler cross-hairs on the page. It appears both these only work well if done when the site is first created. In any case it seems this is a very common thing designers would be doing. Since Web Designer is supposed to be a intuitive WYSIWYG site builder, it seems Xara should create a much more elegant solution! In idea would be to use special markers on the ruler with options to propagate a given marker to all pages (or make it global).

    Thanks,
    icue

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

    Default Re: Space before page

    You should be able to open it with Xara. It adds the following code to the <head> section of the page it is used on.

    Code:
    <style type="text/css">
    #xr_xr {
    margin-top: 20px;
    }
    </style>
    The same code can be placed into website > html code (head) under website properties to set the code on every page.

  6. #6
    Join Date
    Nov 2013
    Location
    Hertfordshire, UK
    Posts
    1,488

    Default Re: Space before page


  7. #7
    Join Date
    Feb 2015
    Posts
    18

    Default Re: Space before page

    Thank you all for your help. I'm now able to get margin-top set as desired placing a little bit of CSS in the page head section. If anybody is reading this to learn for themselves, please note it is best to do this a the beginning of your project. Also, if you do this using the not-so-intuitive-way Xara indicates --using the ruler tool-- (per Rob-Xar's link) it does not play nicely with the CSS snipet. Again, thanks to all. I'm sure I'll be back with more questions and eventually provide some answers as well.

    Icue

 

 

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
  •