Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

HTML font-size syntax

Posted on 2011-02-25
4
Medium Priority
?
354 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 101

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 101

Accepted Solution

by:
mlmcc earned 2000 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
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…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Suggested Courses

610 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