Help - Search - Members - Calendar
Full Version: <small>
Invision Power Services > Community Forums > Community Web Design and Coding
däve
how do i make post text, and forum text small. I use <small> for somethings, but can i chage text size?
Chad
You'll want to use CSS.
Or just HTML for that matter, but many will hound you about it.

CODE
.class { font-size:9px; }

That would make text with the class set at the name class to 9 pixels.

CODE
<span class='class'>This is 9 pixel text</span>


You can also use 'pt', which most recommend.
.class can be whatever name you want, as long as it doesn't conflict with something else.

Chad
däve
I dunno how to do that.
cooldude7273
On a forum?

This is default small


This is default "large" but I call it medium

This is "largest"

But by changing the size number...
CODE
[size=x]TeXt[/size
(x is the size number, and can be negative and jumbo.
(editing for cool effect)

-5-4-3-2-1012481632
_
CODE
small {
       font-size: .8em;
}


Then you can just modify 8em to whatever you'd like.
Michael_C
CODE
small {
   font-size: small;
}
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.