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

127
Views
What is the purpose of 1px <img> tag?

Has anyone an idea what bright idea may lie behind placing 1px image inside different html blocks? They are used in Shoper webstore (SaaS) themes in many different places like those below. I need to reduce nodes count for SEO sake and I'm tempted to remove them (they are in hundreds or thousands on single page).

Default CSS is:

.px1 {
    display: none;
    width: 0;
    height: 0;
    display: inline-block;
    border-width: 0;
    vertical-align: middle;
}

and I haven't analyzed it against JS code modification, only with RWD (nothing is changing).

HTML examples:

<button class="addtobasket btn btn-red" type="submit">
    <img src="/libraries/images/1px.gif" alt="" class="px1">
    <span>Buy</span>
</button>
<div class="boxhead">
    <span>
        <img src="/libraries/images/1px.gif" alt="" class="px1">
        Sale
    </span>
</div>
<li class="parent" id="hcategory_126">
    <h3>
        <a href="/pl/c/bikes/126" title="Bikes" id="headercategory126" class="spanhover">
            <span>Bikes</span>
            <img src="/libraries/images/1px.gif" alt="" class="px1">
        </a>
    </h3>                                                                                                    
    <div class="submenu level2">...</div>
</li>
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!