Forums

Get help. Give help. A Web Design and Development Community.

Is it possible to adapt font size to div width?

  • # October 17, 2012 at 11:40 am

    Anyone? I created a fiddle (had problems on codepen)

    http://jsfiddle.net/UwarH/

    # February 15, 2013 at 3:50 pm

    [http://jsfiddle.net/UwarH/115/](http://jsfiddle.net/UwarH/115/ “jsfiddle”)

    # May 1, 2013 at 10:03 am

    Here’s the best code i’ve come across up to date while working on sportkin
    I found the following to be very useful as it works well in Ie too

    http://www.dhtmlgoodies.com/?whichScript=text_fit_in_box

    # May 22, 2013 at 3:38 pm

    Awesome topic and thank you for the great tips.

    # September 2, 2015 at 12:17 am

    Give this a try if you already use jQuery:

    http://thdoan.github.io/scalem/

    # September 3, 2015 at 6:09 am

    This reply has been reported for inappropriate content.

    What a silly ‘contribution’ to this random JavaScript thread.

    # September 3, 2015 at 6:42 am

    What a silly ‘contribution’ to this random JavaScript thread.

    In case anyone wonders….this was in response to a troll post that’s no longer there.

    # September 3, 2015 at 7:26 am

    This reply has been reported for inappropriate content.

    I wouldn’t have minded my post being removed along with the trolling (just so you know for any such hopefully not further occurring occasions).

    Anyway, now I felt compelled to have a minor go at this as well :

    codepen.io/anon/pen/wKBzEO?editors=001

    Especially since some earlier working code seems to be AWOL.

Viewing 8 posts - 16 through 23 (of 23 total)

You must be logged in to reply to this topic.

We have a pretty good* newsletter.