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 9202937
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T23:22:01+00:00 2026-06-17T23:22:01+00:00

I want to create some HTML pages which will be displayed on different mobile

  • 0

I want to create some HTML pages which will be displayed on different mobile devices. I want them to automatically adjust to different mobile screen sizes.

The HTML pages include text and images. The images may be bigger than 600×450, but if the mobile screen is (for example) 280×320 then the images should automatically adjust their size to fit.

How can I do this?

  • 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-06-17T23:22:03+00:00Added an answer on June 17, 2026 at 11:22 pm

    If the pages you’re talking about literally just contain text and images, then I think all you need to do in each HTML page is this:

    1. Add this viewport meta tag inside the <head> tag:

      <meta name="viewport" content="width=device-width">
      

      This should make the page render at a reasonable size.

    2. Add this <style> tag inside the <head> tag:

      <style>
      img {
          max-width: 100%;
      }
      </style>
      

      I think this will make sure all images don’t render any wider than the app’s webview’s viewport.

      (If that doesn’t work, try width: 100%; instead. That’ll definitely make all images be as wide as the viewport, and therefore no wider.)

    However, your question is a bit too general: we could end up writing a book covering all the possibilities. Could you make it more specific to the code you’re actually working on?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to create some DOM nodes with jQuery, append them to the html
In my application,I want to display some static files(.html,.htm,.txt) which will be uploaded by
So I have Html like this http://trac.edgewall.org/wiki/RecentChanges (I want to create some Flash Track
I want to create some diagrams for some papers. Diagrams will contain some text,
I want to create some kind of AJAX script or call that continuously will
I want to create some files at WEB-INF/upload and upload is a folder which
I want to create a wordpress plugin which will replace the specific line inside
I want a WYSIWYG html editor to create a static web page. After some
I have some javascript which will create some sort of widget on a page.
I want to create a page which has footer and some common parts. On

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.