954,593 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

How to apply a bigger size to text than <h1>

Hi, I want to give a percentage for the font size. currently i'm using tag. But that text size is smaller than i need. How to make it bigger. and like i said i want to use a percentage as the size. so if i maximize my page or minimize, size should increase and decrease respectively.

Virangya
Junior Poster
122 posts since Apr 2010
Reputation Points: 10
Solved Threads: 0
 

simply state in the css the percentage of the size you want your h1 size. It gets the value of 100% from your body text. So, if you wanted the h1 tag to be twice the size of normal text, you'd put this in:

h1 {
font-size:200%;
}
fusedreality
Newbie Poster
16 posts since Sep 2010
Reputation Points: 26
Solved Threads: 5
 

Hey, thanxxx loads! :)

Virangya
Junior Poster
122 posts since Apr 2010
Reputation Points: 10
Solved Threads: 0
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: