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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T10:57:54+00:00 2026-05-27T10:57:54+00:00

Today I tried to resize a <div> using CSS. It works in desktop browsers

  • 0

Today I tried to resize a <div> using CSS. It works in desktop browsers like Safari, Firefox & Chrome, but it’s not working on iPad.

I want to implement resizing of <div> without using JavaScript. With the resize CSS property, the user can simply drag <div>s to resize.

According to Apple’s own documentation, resize is supported on iOS since version 1, but I can’t see how to resize the <div> on iOS.

http://jsfiddle.net/dQuX7/

<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <title>Flexbox resize</title>
    <style>
    section {
        width: 800px;
        display: -webkit-box;
        display: -moz-box;
        display: box;
    }
    div.left, div.right {
        outline: solid 1px #ccc;
        overflow: auto;
    }
    div.left {
        width: 20%;
        resize: both;

    }
    div.right {
        -webkit-box-flex: 1;
        -moz-box-flex: 1;
        box-flex: 1;
    }
</style> 
<body>
    <section>
        <div class="left"> 
        Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
        </div> 
        <div class="right"> 
        Lorem ipsum dolor sit amet, consectetuer adipiscing elit. 
        </div>

    </section>
</body>
</html>   
  • 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-27T10:57:55+00:00Added an answer on May 27, 2026 at 10:57 am

    If the resize property isn‘t supported on the iPad, then I’m afraid you’re stuck — there isn’t any other non-JavaScript way to allow the user to resize an HTML element.

    (Note that resize doesn’t work on Internet Explorer or Opera either.)

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

Sidebar

Related Questions

I never tried regex before today, and I like it so far, but I'm
I tried backing up our site today using the Unix 'cp' command and ended
I tried using PHPDoc for the first time today and quickly ran into a
Today i tried do some optimization to foreach statement, that works on XDocument .
Today I tried using pyPdf 1.12 in a script I was writing that targets
Today I tried shortening an if statement like this: if (fruit == apple ||
Today I tried to use the publishing feature with visual studio, which creates an
Today I tried including the apache.commons.codec package in my Android application and couldn't get
Today at work someone tried to convince me that: {$obj->getTableInfo()} is fine for smarty/mvc/templating
Today I encountered something strange: I tried to put a utility method into an

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.