- #1
- 7,404
- 1,875
How can text size be controlled during composing of a post? Not found in any tools above the composition field.
As with any coding, the easiest thing to do is plagiarise. What I meant you to do (although I did not say - apologies) was quote my post and click the gear icon to drop out of WYSIWYG and see the tags I used.symbolipoint said:The gear icon only turns on or turns off the tools in the toolbar menu.
Ibix said:You can use SIZE tags like this.
Edit: Click the gearwheel icon to toggle between WYSIWYG and visible markup mode.
Yes, I just did that a few seconds ago upon seeing your last message. I did not know I would see that code. This is new to me even if not new to many other members. (I should make more use of it to see how some things are produced, when they look interesting.)Ibix said:As with any coding, the easiest thing to do is plagiarise. What I meant you to do (although I did not say - apologies) was quote my post and click the gear icon to drop out of WYSIWYG and see the tags I used.
Generally, BBCODE seems to require an equals before arguments - so it's [SIZE=2] to get size 2 text
To change the text size of your document, you can use the CSS property "font-size". This can be applied to specific elements or to the entire document using a CSS selector. For example, to change the font size of all paragraphs, you can use the selector "p { font-size: 16px; }".
The most commonly used units of measurement for text size are pixels (px), em, and rem. Pixels are a fixed unit of measurement, while em and rem are relative units that are based on the font size of the parent element. Em is relative to the font size of the current element, while rem is relative to the root element (usually the <html>
tag).
Yes, you can use a percentage for text size. This is also a relative unit of measurement, where the font size is based on a percentage of the parent element's font size. For example, if the parent element has a font size of 16px and you set the child element's font size to 50%, it will be 8px.
To make your text responsive, you can use media queries in your CSS code. This allows you to set different font sizes for different screen sizes. For example, you can set a larger font size for desktop screens and a smaller font size for mobile screens.
Yes, it is possible to change the text size for specific elements only. This can be done by using CSS selectors to target specific elements and applying the "font-size" property. You can also use inline CSS to directly style a specific element's font size using the "style" attribute.