Jump to content

How to use css to create different sized letters on the same line?


eBagGuy
 Share

Recommended Posts

How can one change font sizes one a single line using CSS? For example, a p definition is set like: p.big30 { font-size: 30px;font-family:"Comic Sans MS",Arial;font-weight:bold;line-height:85%;margin-top: 4px;margin-bottom: 8px;color: red;} and when I use it, like: <p class="big30">only $3.00 each</p> And the words 'only' and 'each' should be 1/2 half the size of '$3.00'. How can CSS do this? I can do it with the html font tag easily.

Edited by eBagGuy
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...