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

  • SEARCH
  • Home
  • 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 ASP button that won't submit post form data. Whenever I click an
I need some kind of event from Windows whenever there is a monitor that's
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
This query gives an error whenever there are more than 1 record that exists
I am supporting an application that has some DWR components. Whenever there is a
I have configured a SMTP appender to send an email whenever there's an error.
I don't want to change the java code whenever there is addition of tag
Is it possible to make sure my thread reacts on whenever there is network
I have a gridivew with auto-generated fields, whenever there is a new set of

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.