Forum Moderators: not2easy
I have a block of text that I want to have be an H1 tag, but decrease the size of the font somewhat so it is not so big.
How would I set this up in the stylesheet?
What do I put in the html around the block of text so that it pulls the style from the stylesheet?
Please be patient, I am learning!
Burke
If you want to change every one then find the H1 selector in the current stylesheet and play with the font-size until you get what you want. Something like:
h1 {font-size: 80%;}
There may be other things specified within the braces {} too.
If you just want to change a few special ones you will likely have to create a new class. Thats simple, In your stylesheet you could do something like:
.specialclass {font-size: 80%;}
Then in your html:
<h1 class="specialclass">Your Text</h1>
Note: Some people prefer to use em's instead of % for sizing text. Using either will allow the text to re size if the viewer choses to change the text size from his/her browser.
This is a good read: [webmasterworld.com...]
Hope this makes sense - Its been a long day!
Good Luck