Quote:
Originally Posted by joshua.kendrick
I want to be able to make my text size larger or smaller when I need to without having to continually change the coding. Any help would be great.
|
Don't specify any hard-coded font-sizes in your CSS or html. Use relative units (em or %) if you need some text bigger or smaller than the regular body text.
Code:
p {
text-indent: 1.2em;
margin: 0;
}
p.bigger-text {
text-indent: 1.2em;
font-size: 1.125em;
margin: 0;
}
p.smaller-text {
text-indent: 1.2em;
font-size: 0.85em;
margin: 0;
}