Web form font

Hello again,

I'm wondering if I am reading my information in the acorrect area. As I am not able to find out how to get the web form font to be that of default sans serif instead of default serif. I was able to get the action buttons and the views to show up with the correct font but not with the forms. I am R5.0.12. Thanks.

Regards - Notes Rookie
notesrookieAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

cezarFCommented:
some clarifications:
1 do you use default sans serif in designing the form?
2 do you use style sheets?
0
marilyngCommented:
Hi notesrookie,
I usually use a style sheet, but in a pinch you can paste form specific styles at the top of your form using pass-through HTML like the example below, the first BODY will tell your form to use the font-family,size and color for anything you haven't specified to those values.  The .textTitle is another font that you can specify, for instance  if I have a title, "Here is a Title"  then my form would have <div align="center" style="texttitle">Here is a Title</div>
with the <div> tags being passthrough html.  Alternatively, you can also type in texttitle in the STYLE tag in the element properties (like a table cell)

<style type="text/css">
<!--
Body {
    font-family: sans-serif;    
    font-size: 10pt;
    color:Navy;
}
.texttitle {
   font-family: sans-serif;    
    font-size: 12pt;
    font-style: normal;
    font-weight: bold;
    color:Navy;
}
-->
</style>

Regards!
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Sjef BosmanGroupware ConsultantCommented:
In the form, Ctrl-A, Text/Properties and select Default Sans Serif, and 10 points.
0
Cloud Class® Course: Microsoft Exchange Server

The MCTS: Microsoft Exchange Server 2010 certification validates your skills in supporting the maintenance and administration of the Exchange servers in an enterprise environment. Learn everything you need to know with this course.

CRAKCommented:
For web, I'd recommend the stylesheet.
In addition to Marilyn's example, I usually add a few more elements besided "Body":

Body,
Table,
Form,
Font {
...
}

Reason is that some browsers interprete a table or a form as different document, where the current body definition doesn't rule. Adding font will help you bypass all of notes' attempts to redefine the font on every change of color or point size.
Logically I only define the font-family there; not the size or color!
You could even add all tags for the different field types to make things really look good!
0
marilyngCommented:
Agreed, CRAK.  I've been known to bypass every default element to avoid the HEADING I surprise.   Heck, I even bypass a.hover.

However, now, I've found that when I'm doing this I have to do in the document because the Style sheet loads too slow, especially the a. tags.

There are some tags you have to load right at the top of the form, I think.
0
notesrookieAuthor Commented:
Thanks, amrilyng and CRAK. Those suggestions worked great!
0
CRAKCommented:
You're welcome!
What's the next question? ;-))
0
Sjef BosmanGroupware ConsultantCommented:
Getting greedy, CRAK? :-P
0
CRAKCommented:
Not greedy.... just trying to catch up with somebody. A guy in France nicked some of my points earlier on! ;-))
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Lotus IBM

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.