Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Automatic resizing fonts (phone/tablet)

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #38505
    kpiatak
    Member

    I am creating a mobile/tablet site and I was wondering what is the most efficient way to resize fonts from one device to another?

    #104367
    JohnMotylJr
    Participant

    Well, im not a subject matter expert here but i would suggest using media queries. You can use media queries for different sizes of the screen portrait and landscape.

    Here is a super quick example:
    http://jsfiddle.net/kp4dD/

    If this isnt what you are looking for than let me know.

    #104368
    TheDoc
    Member

    Other than that, you’ll want to look into using ems instead of px for your font-size declaration.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘CSS’ is closed to new topics and replies.