Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

205
Views
How to resize content inside div used jQuery

I work with resizable objects, and i have small issues, i want to resize div box, for this i use css:

 resize: both;
overflow: auto;

And this working good for me, but i want when i resize div, i want to resize text and image inside the box, for now i not found solution how to creating this in good direction.

.lpms3-box {
    position: fixed;
    cursor: pointer;
 
}

.box {
    background-color: #ccc;
    margin: 10px;
    border-radius: 10px;
    text-align: center;
    font-size: 10px;
    resize: both;
    overflow: auto;
}

.machine-icon {
    vertical-align: middle;
    float: left;
    width: 40px;
    height: 40px;
    background-color: #808080;
    border-radius: 20px;
    margin: 2px;
    z-index: 1111112;
}

    .machine-icon > img {
        margin-top: 25%;
        width: 20px;
        height: 20px;
    }
<div class="lpms3-box">
  <div class="box" id="box${i}">
    <div class="machine-icon" id="machine${i}">
      <img src="https://cdn-icons-png.flaticon.com/512/1814/1814403.png" onerror="hideEl('machine${i}')" />
    </div>
    <div class="title-box stantion-name">${data.stantionName}</div>
    <div class="desc-box">${data.status}</div>
  </div>
</div>

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!