Welcome to TalkGraphics.com
Results 1 to 10 of 10
  1. #1
    Join Date
    Jul 2009
    Posts
    6

    Info xara is changing my font/style, in replaced HTML

    786

    Hi everybody,

    We have page designed in XARA webdesigner 5.0.1.7886,
    part of the page, we are trying to paste with html code with container replacment method.

    The problem is:
    our html font and size attribtues are not taking effect (written in HTML code),
    is this normal / limit or can we do something about it......

    for example, the font size we want is 10, where as it is showing 12 or more..
    italic/bold attribute is working...

    Looking forward for any clue, thanks in advance.

    Regards

    Ali

  2. #2

    Default Re: xara is changing my font/style, in replaced HTML

    Welcome to TG Ali,

    If you are using HTML in a placeholder and using the <font tag with the face= and size= attributes, it should work fine.
    Can you please attach your *.web file?

  3. #3
    Join Date
    Jul 2009
    Posts
    6

    Default Re: xara is changing my font/style, in replaced HTML

    786

    Thanks alot,

    We were not using <font tag,
    this solves the issue......

    just for information....individual html tag's property...font does not apply....

    Wish you best of best

    Thanks again.

    Regards

    Ali

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

    Default Re: xara is changing my font/style, in replaced HTML

    Quote Originally Posted by aliintisar View Post
    just for information....individual html tag's property...font does not apply....
    I don't quite get it. Could you please illustrate this with an example?
    Thanks.
    John.

  5. #5

    Default Re: xara is changing my font/style, in replaced HTML

    Ali,

    What is 786 at the start of each post ?

  6. #6
    Join Date
    Nov 2000
    Location
    Red Boiling Springs TN USA
    Posts
    19,208

    Default Re: xara is changing my font/style, in replaced HTML

    Perhaps it may be related to http://maseeh1.tripod.com/advices7/id152.htm
    Soquili
    a.k.a. Bill Taylor
    Bill is no longer with us. He died on 10 Dec 2012. We remember him always.
    My TG Album
    Last XaReg update

  7. #7

    Default Re: xara is changing my font/style, in replaced HTML

    Thanks Bill - one question resolved.
    I'd like to see John's question answered too

  8. #8
    Join Date
    Jul 2009
    Posts
    6

    Default Re: xara is changing my font/style, in replaced HTML

    786

    Hi,

    Thanks again..

    1-
    Yes, it stands for starting with the Name of GOD,
    " In the Name of GOD, the Most Gracious, the Most Beneficial"

    Like on Dollar Bill we have "IN GOD WE TRUST"

    its for blessing...

    2-
    We have a container:
    Xara produced (replaced) HTML is below,

    <div class="xr_ap" style="left: 53px; top: 388px; width: 860px; height: 536px;"><!--#include file=InvoicePrintProcess.asp --> </div>

    .asp file has the further html...code...in which simple text tag font attribute
    was not taking in effect.

    So, in the same file we added <font tag, .....that solved the issue.

    Thanks and wishes

    Regards

    Ali

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

    Default Re: xara is changing my font/style, in replaced HTML

    Quote Originally Posted by aliintisar View Post
    .asp file has the further html...code...in which simple text tag font attribute
    was not taking in effect.
    What do you mean by: "simple text tag font attribute"?
    So, in the same file we added <font tag,
    Do you mean in the asp file?

    This is important because html generated by WD is not supposed to override any text attributes set in the placeholder code (the asp generated code in your case). So if it really does, I have to know why, to fix it.
    Also it is not recommended to use <font> element as it is deprecated in the html format prodused by WD.

    Thank you.
    John.

  10. #10
    Join Date
    Jul 2009
    Posts
    6

    Default Re: xara is changing my font/style, in replaced HTML

    786

    Its really nice to see a positive approach by a developer, wish you all the best.

    Let me try to explain:

    We are trying to add a new dimension in our development approach:

    For beautiful design like XARA can do at speed, we are trying to match up with exhustive vbscript code.

    Just to explain above more :

    We are producing live/dynamic invoice with :

    Template - (xara) - (for look)
    +
    Date / Calculation work - DB Processing (Vbscript+Javascript)

    Now as we need to achieve this:

    1-
    We need to plug live calculated figures in Template
    via <%Calculated variable %>, which needs the font attributes, size, bold etc

    2-
    We need to include .asp files, for
    - Processing
    - for producing variable rows of html, which in our case is
    the lines of information on invoice, which includes:

    Item details,
    Charges details,
    Amount,
    Comments

    These all items need font attribute for readibility, emphasis etc etc..
    3-
    Suggestion:

    As we mention under your Name option <head>, for any code to be placed in
    header, same like
    there should be other options,

    </html+>, which will tell XARA to put code, after HTML close tag
    </body+>, which will tell XARA to put code, after Body close tag

    </body->, which will tell XARA to put code, just before Body close tag

    The reason of this can be many many fold, we need to have difference piece of code to run at different stage of page formation etc etc.

    Well, hope for the very best, MASHALLAH, you guys have already put up
    excellent effort...by presenting such a beautiful and light at code product.

    MAY GOD BLESS YOU AND YOUR TEAM.

    Regards

    Ali

 

 

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
  •