Wish to know how to change font size here

  • Thread starter Thread starter symbolipoint
  • Start date Start date
AI Thread Summary
To change font size in the forum, users can utilize BB code tags like [size=n] where 'n' represents the desired size. Testing revealed that sizes above 7 default to 26 pixels, making them visually indistinguishable. The default font size appears to be around 17px, which does not align with the BB code sizes. Users can inspect elements in browsers like Chrome or Edge to check font sizes directly. Experimentation with different sizes is encouraged, as results can vary based on browser behavior.
symbolipoint
Homework Helper
Education Advisor
Gold Member
Messages
7,544
Reaction score
1,993
not an important message itself; just trying to see if tagging for changing or controlling font size

Example, how to adjust size
given below, size 16, and then size 6, but must be careful; size continue onward and needs to be adjusted again after any tagging.
form used was: leftSqBrt size equals numberas digit rightsqBrt the text to say leftSqrBrt slash size rightSqrBrt
Example, how to adjust size ---
Example, how to adjust size
 
Last edited:
Physics news on Phys.org
It's an interesting feature of PF.

You can modify the size using the BB code tag [ size=99 ] around your text.

To learn more about other BB codes checkout the link in my signature.
 
I wonder what is the forum's default text size?
 
Looks like 7 is too big so I'm guessing its 5 but it looks like size=0 works too.

testing size=6 make this text a 6
testing size=5 make this text a 5
testing size=4 make this text a 4
testing size=3 make this text a 3
testing size=2 make this text a 2
testing size=1 make this text a 1
testing size=0 make this text a 0
 
  • Informative
Likes symbolipoint
jedishrfu said:
Looks like 7 is too big so I'm guessing its 5 but it looks like size=0 works too.
Maybe it's just my aging eyes, but to me default text looks to be size 0 (bigger than 4 and smaller than 5):
text default, text 4, text 0, text 5
 
  • Informative
Likes symbolipoint
Are you using Chrome? Right click on the text, select "Inspect", navigate to the exact piece of text you want to check, switch styles display to "computed" - it displays the default font-size as 17px (which is neither 4, 5 nor 6, which are 15px, 18px and 22px respectively).

Or at least SIMETIMES it displays the default font-size as 17px, as the result seems to depend on the order in which I am clicking on different text element, never seen that behavior before.

1742889961943.png
 
  • Informative
Likes BillTre and berkeman
It's not uncommon in programming to allow for several sizes over a range like 1 through 7 and use zero as the default value, whatever it may be.

In this case, size=0 removes the bb tag I used.
 
jedishrfu said:
To learn more about other BB codes checkout the link in my signature.
Or more simply, just follow the link that appears when you are entering a message. It's at the lower left corner next to the link to our LaTeX guide.
 
Mark44 said:
Or more simply, just follow the link that appears when you are entering a message. It's at the lower left corner next to the link to our LaTeX guide.
I should try that right now.

sample text A ------using 36
sample text B -------using 0
sample text C -------using 3

Therein the link you gave, shown some tags that can be applied. I play with some of that.
 
  • #10
I just need to try this, too. I wonder if a large size limitation for font.

sample size 14
sample size 40
sample size 58

but those ALL look the same size!
I just have to keep trying.
Just keep trying. Size 3
 
  • #11
symbolipoint said:
I just need to try this, too. I wonder if a large size limitation for font.

sample size 14
sample size 40
sample size 58

but those ALL look the same size!
I just have to keep trying.
Just keep trying. Size 3
They appear to all be 26 pixels, which may be the largest size, and possibly corresponds with size = 7.

Size 0
Size 2
Size 6
Size 7
Size 8

Edit: The largest size is indeed 7, which is 26 pixels. Larger size values all seem to default to the same size; namely 26 pixels..
 
Last edited:
  • Informative
  • Like
Likes symbolipoint, berkeman and jedishrfu
  • #12
Mark44 said:
Here's the raw (unprocessed by the browser) BBCode for my test:
Code:
[SIZE=2]Size 2[/SIZE]
[SIZE=6]Size 6[/SIZE]
[SIZE=7]Size 7
[SIZE=8]Size 8[/SIZE]
Here's the raw XML that is produced from the above:
XML:
<br>
<span style="font-size: 10px">Size 2</span
<br>
<br>
<span style="font-size: 22px">Size 6</span
<br>
<br>
<span style="font-size: 26px">Size 7</span
<br>
<br>
<span style="font-size: 26px">Size 8</span
<br>
As you can see, there's no difference between size=7 and size=8: both use pixel sizes of 26. In MSFT Edge, you can right-click on the page and click the Inspect menu item.
 

Similar threads

Replies
4
Views
2K
Replies
2
Views
2K
Replies
1
Views
2K
Replies
8
Views
2K
Replies
28
Views
4K
Replies
1
Views
26K
Replies
12
Views
2K
Back
Top