Navigator 2.0, Internet Explorer 3.0
string.fontsize(size)
An integer between 1 and 7 or a string that starts with a + or - sign followed by a digit between 1 and 7. If an integer is specified, it is an absolute font size specification. If a string beginning with + or - is specified, it is a font size specification that is relative to the <BASEFONT> font size.
A copy of string, contained within <FONT SIZE="size"> and </FONT> HTML tags.
The first two lines of the following code fragment have the same effect as the second two:
s1 =index.html 'Chapter 1'.fontsize(6); s2 = 'SMALLCAPS'.fontsize('-1'); s1 = '<FONT SIZE="6">Chapter 1</FONT>' s2 = '<FONT SIZE="-1">SMALLCAPS</FONT>'
file: /Techref/language/java/script/definitive/refp_362.htm, 5KB, , updated: 2019/10/14 16:00, local time: 2025/4/30 16:49,
3.15.203.168:LOG IN
|
©2025 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://www.piclist.com/techref/language/java/script/definitive/refp_362.htm"> [Chapter 21] Reference: String.fontsize()</A> |
Did you find what you needed? |
![]() o List host: MIT, Site host massmind.org, Top posters @none found - Page Editors: James Newton, David Cary, and YOU! * Roman Black of Black Robotics donates from sales of Linistep stepper controller kits. * Ashley Roll of Digital Nemesis donates from sales of RCL-1 RS232 to TTL converters. * Monthly Subscribers: Gregg Rew. on-going support is MOST appreciated! * Contributors: Richard Seriani, Sr. |
The Backwoods Guide to Computer Lingo |
.