Select to view content in your preferred language

Edit text size

944
4
Jump to solution
05-29-2014 12:35 PM
MathewSuran
Regular Contributor
I have HTML code that I want to split up text sizes (Title is bigger than content underneath).  Can anyone lend a hand as to how to add it in to what I already have?  Here's what I have:

[HTML]description3: "<span style='line-height: 20px;'><b>Map Info:</b></p>
<a href='http://.....htm'><b>View Methodology</b></a><p>
<a href='http://.....htm'><b>View Metadata</b></a></span>",[/HTML]

In this example, the Title is "Map Info" and there are 2 URL links that are the content underneath.  Any help is much appreciated.
0 Kudos
1 Solution

Accepted Solutions
MathewSuran
Regular Contributor
Thanks!  Since no one responded right away, I actually figured it out on http://www.w3schools.com/html/default.asp.  I simply used <font size='3'></font>, ('3' being whatever size you want).  I was searching js, prior, at the end of the day (which is why I couldn't figure it out, haha).  It looks like this:

[HTML]description3: "<span style='line-height: 20px;'><b><font size='3'>Map Info:</font></b>
<p><a href='http://.....htm'><b>View Methodology</b></a></p>
<p><a href='http://.....htm'><b>View Metadata</b></a></p></span>",[/HTML]

Thanks though for taking time to respond!

View solution in original post

0 Kudos
4 Replies
MarlaKostuk
Deactivated User
Hi Mathew,

I have attached a link to that explains how CSS is used to style HTML elements. It describes how you can change the text, color, boxes and text size and much more!

For example,
<!DOCTYPE html>
<html>

<body>
<h1 style="font-family:verdana;">A heading</h1>
<p style="font-family:arial;color:red;font-size:20px;">A paragraph.</p>
</body>

</html>


Hope this helps!

-Marla
0 Kudos
MathewSuran
Regular Contributor
Thanks!  Since no one responded right away, I actually figured it out on http://www.w3schools.com/html/default.asp.  I simply used <font size='3'></font>, ('3' being whatever size you want).  I was searching js, prior, at the end of the day (which is why I couldn't figure it out, haha).  It looks like this:

[HTML]description3: "<span style='line-height: 20px;'><b><font size='3'>Map Info:</font></b>
<p><a href='http://.....htm'><b>View Methodology</b></a></p>
<p><a href='http://.....htm'><b>View Metadata</b></a></p></span>",[/HTML]

Thanks though for taking time to respond!
0 Kudos
MarlaKostuk
Deactivated User
Hi Matthew,

Looks great and glad to see that you were able to resolve the issue!

Happy coding!

-Marla
0 Kudos
MathewSuran
Regular Contributor
Thanks, would you be able to look at my other post regarding editing my LayerList?
0 Kudos