SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Evangelist
    Join Date
    Jul 2002
    Location
    Italy
    Posts
    429
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Strange font size on iPhone

    My website at http://www.irwinassociates.eu/yarwoo...on/convey1.php looks fine on a laptop but when I view it on an iPhone the text size of the two <legend>s is different. The text should all be one size but it is also different within the <fieldset>. I have been through and changed all sizes to px in case that was the problem. I have also noticed using Chrome's element inspector that for some reason the <legends> are wider than the <fieldset>. I've checked the page with the W3C validator but something is awry. Any thoughts please?
    blessed are the cracked for they let in the light

  2. #2
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,118
    Mentioned
    448 Post(s)
    Tagged
    8 Thread(s)
    See if adding this to your CSS fixes it:

    Code:
    @media only screen and (max-width : 560px) {
    	body {-webkit-text-size-adjust: none;}
    }
    Facebook | Google+ | Twitter | Web Design Tips | Free Contact Form

    Forum Usage: Tips on posting code samples, images and more

    Forrest Gump: "IE is like a box of chocolates: you never know what you're gonna get."

  3. #3
    SitePoint Evangelist
    Join Date
    Jul 2002
    Location
    Italy
    Posts
    429
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks Ralph. That does indeed fix my problem. Cheers G
    blessed are the cracked for they let in the light


Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •