anyway of formatting html code fragments

D

Donald C. McNeilly

Is there any possible way of formatting html code fragments inserted into
Pub03?

I have Paypal code for purchases but it is impossible to control what it
looks like. I publish and preview one time and it looks fine. Then I fix
some other errors, republish, review and the previously fine page looks like
crap, font is now twice the size so everything is overlapping.

Also how do I include font files in my upload? I have just been using
standard fonts but am sick to death of the look.

Thank you.

Donald
 
D

David Bartosik [MSFT MVP]

A code frag doesn't get formatted outside the frag object, if you try to you
should get unpredictable results. Formatting of the frag needs to be in the
frag itself. You need to code the html formatting you want on the html code
you are using. Anyone not happy to use a code snippet 'as is' should become
familiar with basic html before making modifications. I recommend
www.htmlgoodies.com as a resource. Getting into coding is OT for this forum.
As for making modifications to 3rd party providers such as PayPal, their
conditions of use should be reviewed before changing their code. I cover the
basics of using code fragments in the article -
http://www.publishermvps.com/Default.aspx?tabid=159 - should you care to
look that over in regards to fragment use. Any usage of a non web safe font
should be a graphic. You can use your favorite graphics program to create
the text and then save it a gif to place into the pub page.

David Bartosik - [MSFT MVP]
http://www.publishermvps.com
http://www.davidbartosik.com
 
D

DavidF

In addition to what David said, it might help if you delete the files on
your website before publishing the updated pages.

DavidF
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top