Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using textsize and css

Status
Not open for further replies.

RoKKos

Programmer
Feb 3, 2003
50
SE
Hi.

What should I use to define the font-size in a css without dissabling the fontsize function in the browser... have tried pt, px, ex, em in:
Code:
body {
  font-size: 12pt; <== This is then only fixed sice.. the rest is in %
}

h1 {
  font-size: 140%;
}
but the font stays the same when i use normal and lage in the browser :(
 
ops... RTFM on my self :)
em was the answer, I went to w3c.org agin :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top