Solved

HTML font-size syntax

Posted on 2011-02-25
4
340 Views
Last Modified: 2012-05-11
Whats the correct syntax to change the font size of a concatenated field ? here is an ex of my formula bellow.


if not isnull ({somefield}) and
    {SomeField.Number} <> {SomeFieldAltNumber} then
    "<b>"&{SomeField}&"</b>" &
    " ("&{SomeField.Number} & 
   "<font-size: 9pt>" & ", was " & {SomeField} & ")" & "</font>"
else "<b>"&{SomeField}&"</b>" & 
    " ("&{SomeField.Number}& ")"


0
Comment
Question by:mowit
  • 2
  • 2
4 Comments
 
LVL 100

Expert Comment

by:mlmcc
ID: 34980300
Try

 '<font size="9">'

mlmcc
0
 

Author Comment

by:mowit
ID: 34980599
nah, that didn't work.
0
 
LVL 100

Accepted Solution

by:
mlmcc earned 500 total points
ID: 34981059
SIZE is a value of 1-7 not the size of the font
try

if not isnull ({somefield}) and
    {SomeField.Number} <> {SomeFieldAltNumber} then
    "<b>"&{SomeField}&"</b>" &
    " ("&{SomeField.Number} & 
   "<font size='+1'>" & ", was " & {SomeField} & ")" & "</font>"
else "<b>"&{SomeField}&"</b>" & 
    " ("&{SomeField.Number}& ")"

mlmcc
0
 

Author Comment

by:mowit
ID: 34981115
mlmcc,

you never disappoint. Thanks that worked. Consider me your # 1 fan.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.
Concerto provides fully managed cloud services and the expertise to provide an easy and reliable route to the cloud. Our best-in-class solutions help you address the toughest IT challenges, find new efficiencies and deliver the best application expe…

930 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now