davatron5000 / FitText.js

A jQuery plugin for inflating web type
http://fittextjs.com
6.75k stars 1.39k forks source link

Not Working With Fixed Container Width? #15

Closed hendrasan closed 12 years ago

hendrasan commented 12 years ago

If I set the container ( or wrapper) to a fixed width (for example 940px), the text refuses to resize when I resize the browser.

TrentWalton commented 12 years ago

For scaling, I believe you must set the width as a percentage. Maybe try max-width as a pixel value?

hendrasan commented 12 years ago

yeah, if I use width as a percentage it works, but that will kind of turn off grid / fixed 960px container users.

But I guess the best practice for FitTextJs is a front page with huge titles and no grid / container limitation.