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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T22:39:30+00:00 2026-06-08T22:39:30+00:00

I want to make like facebook notification list (see image below) Or stackoverflow notification

  • 0

I want to make like facebook notification list (“see image below”)
Or stackoverflow notification

enter image description here“)

**But when i change the left values in css it change in different screens (wide or normal) **

What to do , please check the code below

the html code is

<div style="float:right;text-align:right;margin-right:10px;width: 113px;">
    <a  class ="notifications" >
        Press here
    </a>
</div>

<div id="notificationRegionWrapper" style="margin-left: 0px;  left: 0px;">
    <div id="notificationRegion" class=""><div id="notificationDropHeader">
            <div id="notificationDropHeaderText" style="padding-top: 6px;">
                Notification List 
            </div>
        </div>
        <div class="notification_item" style="opacity: 1;">
            <div class="notification_item_desc">
                <p class="notification_item_title">
                    Test One
                </p>
            </div>
        </div>
    </div>
 </div>

css is here

#notificationRegionWrapper{
    background: none repeat scroll 0 0 white;
    box-shadow: 0 0 12px #888888;
    display: none;
    margin-left: 223px;
    max-height: 70%;
    overflow-x: hidden;
    overflow-y: auto;
    position: absolute;
    top: 137px;
    width: 360px;
    z-index: 10;
     }

     #notificationRegion #notificationDropHeader {
    background-color: white;                    
    border-bottom: 1px solid #C5C5C5;
    height: 30px;
    width: 100%;
}
#notificationRegion .notification_item {
    background: -moz-linear-gradient(center top , #F9F9F9, #EBEDEE) repeat scroll 0 0 transparent;
    border-bottom: 1px solid #C5C5C5;
    border-top: 1px solid white;
    cursor: pointer;
    display: table;
    min-height: 70px;
    padding-bottom: 10px;
    width: 100%;
}
#notificationRegion .notification_item .notification_item_pic {

    float: right;
    height: 51px;
    margin: 12px;
    width: 51px;
}
#notificationRegion .notification_item .notification_item_desc {
    float: left;
    margin: 10px 0 0 1px;
    width: 77%;
}
#notificationRegion .notification_item .notification_photo {
    border-radius: 15px 15px 15px 15px;
    height: 51px;
    width: 51px;
}
#notificationRegion .notification_item .notification_item_desc .notification_item_time {
    color: #777777;
    font-size: 10px;
    float: right;
}

JQuery here :

$(document).on('click',".notifications",function(){
     $("#notificationRegionWrapper").show();
    });​
  • 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-08T22:39:32+00:00Added an answer on June 8, 2026 at 10:39 pm

    The easiest way to solve this would be to put <div id="notificationRegionWrapper">...</div> inside the div which contains the link to open the dropdown.

    Then instead of using absolute positioning on #notificationRegionWrapper use relative positioning. That way the dropdown will always be positioned relative to the link and will like the same on all screen sizes.

    For example: http://jsfiddle.net/Eeqrm/

    Notice you also need to give the parent div position:relative;.

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

Sidebar

Related Questions

I want to make a similar navigation menu like what m.facebook.com did. but this,
i want to make a text box like stackoverflow have for the tag at
I want to make a Facebook Like Button for Facebook's individual page. For example:
I want to create a facebook-like notification system (the one who appears on the
I want to make my home screen for my android application like Facebook for
I want to make a comment box like facebook. When I click on this
I want to make an image viewer (for my website) like the one in
I want to make a interactive uploading option like Facebook and gmail have where
I want to make a Facebook like SMS sending and receiving service. Are there
I want to make popup dialog like in facebook app with pointing marker to

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.