Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / July 2004

Tip: Looking for answers? Try searching our database.

Font Size

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
IkarusSoft - 29 Jun 2004 08:28 GMT
Hello,

I need a font size of 11 points in my form. But I cannot enter it, in the dropdown list are 10 points and 12 points and so on.
How can I enter 11 points?
Greg Collins [MVP] - 29 Jun 2004 14:56 GMT
InfoPath uses the basic HTML font sizes, i.e. <FONT SIZE="2" />, etc.

You can hand-edit the XSL and add your font size as part of a STYLE attribute on the parent tag to your text. The STYLE attribute should be preserved through round-tripping provided you shouldn't need to use a verbatim ("xd:preserve") block.

Signature

Greg Collins [InfoPath MVP]

Hello,

I need a font size of 11 points in my form. But I cannot enter it, in the dropdown list are 10 points and 12 points and so on.
How can I enter 11 points?
IkarusSoft - 30 Jun 2004 06:07 GMT
Can you give an example please?

> InfoPath uses the basic HTML font sizes, i.e. <FONT SIZE="2" />, etc.
>
[quoted text clipped - 4 lines]
> I need a font size of 11 points in my form. But I cannot enter it, in the dropdown list are 10 points and 12 points and so on.
> How can I enter 11 points?
Greg Collins [MVP] - 05 Jul 2004 23:06 GMT
You should use Extract Form Files from the File menu. Choose a folder and press OK.
Close InfoPath or you won't be able to do the next steps.
Edit the XSL file in a text editor of your choice.
Locate the HTML tag for which you wish to have a non-standard font size.
In the STYLE attribute for that HTML tag (add one if there isn't one), add the font size of your choice.
Save and exit the editor.
Right-click the manifest.xsf file and choose Design.

The style attribute you add should look something like this:

   <HTMLTAG STYLE="FONT-SIZE: 120pt">Some contents</HTMLTAG>

Signature

Greg Collins [InfoPath MVP]
Please visit: http://www.InfoPathDev.com

Can you give an example please?

"Greg Collins [MVP]" wrote:

> InfoPath uses the basic HTML font sizes, i.e. <FONT SIZE="2" />, etc.
>
> You can hand-edit the XSL and add your font size as part of a STYLE attribute on the parent tag to your text. The STYLE attribute should be preserved through round-tripping provided you shouldn't need to use a verbatim ("xd:preserve") block.
IkarusSoft - 30 Jun 2004 06:07 GMT
Can you give an example please?

> InfoPath uses the basic HTML font sizes, i.e. <FONT SIZE="2" />, etc.
>
[quoted text clipped - 4 lines]
> I need a font size of 11 points in my form. But I cannot enter it, in the dropdown list are 10 points and 12 points and so on.
> How can I enter 11 points?
Mike Surface - 06 Jul 2004 18:43 GMT
If you are using SP1, you can also type any font size you want in the dropdown.

7, 11, 11.5, etc...

> InfoPath uses the basic HTML font sizes, i.e. <FONT SIZE="2" />, etc.
>
[quoted text clipped - 8 lines]
> the dropdown list are 10 points and 12 points and so on.
> How can I enter 11 points?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.