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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T20:18:59+00:00 2026-06-01T20:18:59+00:00

.games_box { width:575px; margin:8px auto; background:#f8f7f7; padding:8px; border-bottom:#000000 1px dotted; } <div class=games_box> <a

  • 0
    .games_box
    {
    width:575px;
    margin:8px auto;
    background:#f8f7f7;
    padding:8px;
    border-bottom:#000000 1px dotted;
    }

 <div class="games_box">
<a href='#'>
<img src='$host_name/staff/game-$row[0].gif' width='78' height='75'  alt='games' />
    <div id='staff' style='position:relative; top:-50px;z-index:1; left:29px'>
<img src='images/staff_picks.png' alt='staffpick' width='50' height='51' /></div>
</a>
</div>

I put staff div.. the games-box div is large..
i use ‘clear:both’.. but no use..

1 st

enter image description here

2 nd

place staff pick image

place staff pick image

3 rd

finally, z-index used staffpick image, under image more space

enter image description here

  • 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-01T20:19:00+00:00Added an answer on June 1, 2026 at 8:19 pm

    Hi you can give parent position relative and child give absolute as like this

    Css

    .games_box
        {
        width:575px;
        margin:8px auto;
        background:#f8f7f7;
        padding:8px;
        border-bottom:#000000 1px dotted;
        position:relative;
        }
    

    HTML

    <div class="games_box">
    <a href='#'>
    <img src='$host_name/staff/game-$row[0].gif' width='78' height='75'  alt='games' />
        <div id='staff' style='position:absolute; top:-5px;z-index:1; left:29px'>
    <img src='images/staff_picks.png' alt='staffpick' width='50' height='51' /></div>
    </a>
    </div>
    

    Live Demo http://jsfiddle.net/rohitazad/grE5A/

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

Sidebar

Related Questions

I am new to web programming, coming from a video game development background (c++),
Some Background: I make Box2D games using WCK, which is an alchemy port of
I'm trying to create a chat box for my game. The user type's their
XNA games have an Unload() method, where content is supposed to be unloaded. But
Similar to the Simon games of old, I want to show the user a
Gaffer on Games has a great article about using RK4 integration for better game
I've a flash games site, and Im having a lot of difficulties to make
I'm working on games using javascript some html and css, and I was wondering
Particularly for 2d games, and particularly silverlight/wpf games. If you think about it, you
Many Windows applications (games, web browsers, some editors, etc.) support fullscreen mode, in which

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.