Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 404235
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T17:17:23+00:00 2026-05-12T17:17:23+00:00

Whenever there is a SPAN element in HTML content, the mobile version of Safari

  • 0

Whenever there is a SPAN element in HTML content, the mobile version of Safari renders content differently- it seems that font size increases for the whole paragraph. Consider two examples.

<div style="border: 1px solid red; width:500px;">
<p>This is a paragraph. This is a paragraph. This is a paragraph.</p>
</div>

and

<div style="border: 1px solid red; width:500px;">
<p>This is a <span>paragraph</span>. This is a paragraph. This is a paragraph.</p>
</div>

Second example breaks page structure because font size increases, and thus the content exceeds div’s width. Is there any way around this (besides not using SPAN)?

iPhone OS 3.1.2

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T17:17:23+00:00Added an answer on May 12, 2026 at 5:17 pm

    The display of those two HTML fragments look identical to me on iPhone Safari (also iPhone OS 3.1.2).

    Is there any CSS being applied to SPAN tags?

    [Edit: I see the difference now; you won’t see any difference if both examples are on the same page.]

    [Added:]
    By explicitly setting the size, it appears you can get consistent text size between the two. For example:

    <style type="text/css">
      div, p, span {
        font-size: 24px;
      }
    </style>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there a way to have a file that is modified / touched whenever
I have the requirement that whenever there is a model get's added/changed/deleted, it should
I want to increase the version number on a model whenever there is a
Is there a way to run some custom Javascript whenever a client-side ASP.NET validator
Whenever I design a database, I always wonder if there is a best way
Is there a down side? I feel almost dependent on it now. Whenever a
Whenever I indent HTML in PHP mode, emacs (22.1.1, basic install on Redaht Linux
I'm a complete mySQL & PHP noob, and in my table, whenever there is
I am making tree with the help of jquery in the tree whenever there
I want to disable a button whenever there aren't any rows selected in a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.