Welcome to TalkGraphics.com
Results 1 to 8 of 8
  1. #1
    Join Date
    Oct 2005
    Posts
    17

    Default Html export problem

    When you export to html the program tries to center the graphics on the page. This causes a problem when you iframe to drop the page onto another page. The output html is not aligned properly.

    I recently had to integrated and xara generated page into another page and it did not align properly. I had to play with the left: style to get the page to display right.

    It would make it a lot easier to have full control of alignment and page width in the html export filter. Or just change the filter to export every thing aligned to the left....

  2. #2
    Join Date
    Aug 2004
    Location
    Ukraine
    Posts
    3,904

    Default Re: Html export problem

    Good point Janet.
    We'll consider to introduce a user setting for the page centering.
    Thank you.
    John.

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

    Default Re: Html export problem

    Janet

    Can you edit the HTML script in Wordpad and do a search and replace for <center> with <left> and </center> with </left> (I think those are the correct tags).

    Gary

  4. #4
    Join Date
    Aug 2000
    Location
    Harwich, Essex, England
    Posts
    21,942

    Default Re: Html export problem

    Or a search and replace for center> with left> even ;-)
    Egg

    Minis Forum UM780XTX AMD Ryzen7 7840HS with AMD Radeon 780M Graphics + 32 GB Ram + MSI Optix Mag321 Curv monitor
    + 1Tb SSD + 232 GB SSD + 250 GB SSD portable drive + ISP = BT + Web Hosting = TSO Host

  5. #5
    Join Date
    Aug 2000
    Location
    Ingolstadt, Germany
    Posts
    358

    Default Re: Html export problem

    No: Xtreme's centering is done with a combination of CSS and JavaScript. You can remove the centring by deleting the <script> containing the rx() function near the top, and removing the styles 'left:50%; margin-left: -(number)px;' from the outermost div.

    <center> is deprecated and affects both block and inline centering, but not absolute positioning; there has never been such a tag as <left>.

  6. #6
    Join Date
    Aug 2000
    Location
    Placitas, New Mexico, USA
    Posts
    41,525

    Default Re: Html export problem

    Good points Bob.

    It was probably something like align=left?

    I have not coded in HTML in at least 10 years. Use it or loose it.

  7. #7
    Join Date
    Aug 2004
    Location
    Ukraine
    Posts
    3,904

    Default Re: Html export problem

    You can remove the centring by deleting the <script> containing the rx() function near the top, and removing the styles 'left:50%; margin-left: -(number)px;' from the outermost div.
    Or you can simply remove this <div> element (id="xr") and the latest "</div>" at the end of the document (not necessaty, all browsers will feel good with a spare </div> at the end anyway ).
    John.

  8. #8
    Join Date
    Aug 2000
    Location
    Ingolstadt, Germany
    Posts
    358

    Default Re: Html export problem

    Quote Originally Posted by covoxer View Post
    Or you can simply remove this <div> element (id="xr") and the latest "</div>" at the end of the document
    Yep, you could do that, though you'd lose the clipping-to-page, if you were relying on that (probably not). Also the <script> should really go as well or you'll get a JavaScript error about the missing div.

 

 

Tags for this Thread

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
  •