jquery - How do I dynamically adjust size to fit text? -


i using rails3 + jquery build app using facebox.

in facebox, title text big fit in single line, being spread 2 lines. looks ugly, wondering whether there way either:

  1. adjust size of title dynamically fit facebox width.
  2. dynamically adjust facebox width fit title text on single line.

i think answer fits needs: calculating text width


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -