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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T03:34:13+00:00 2026-06-07T03:34:13+00:00

I want to make floating link which will be displayed in webpage whether user

  • 0

I want to make floating link which will be displayed in webpage whether user scrolls up/down the page.

<div id="valids" style="position: fixed; bottom: 5px; left: 5px;">
<a href="http://validator.w3.org/check?uri=referer" class="valid">
<img alt="Valid XHTML 1.0" src="http://www.w3.org/Icons/valid-xhtml10-blue" style="border: 0pt none ; width: 88px; height: 31px;"/></a>
<a href="http://jigsaw.w3.org/css-validator/validator?uri=http://www.reapercharlie.com" class="valid">
<img alt="Valid CSS 2.1" src="http://jigsaw.w3.org/css-validator/images/vcss-blue" style="border: 0pt none ; width: 88px; height: 31px;"/></a>
</div>

This is perfectly displayed in Firefox, Chrome, IE 9 onwards.
But I need to make it work with IE 8 and IE 7 atleast.

In IE 8 and IE 7, the content goes up along with page content.

  • 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-07T03:34:15+00:00Added an answer on June 7, 2026 at 3:34 am

    This post How to get "position:fixed" css to work in IE 7+ with TRANSITIONAL doctype? suggests that you need to add a doctype to get IE7/8 to trigger standards mode, have you tried this?

    if you don’t want to mess around with doctypes, you could always try using jQuery instead http://jsfiddle.net/wRSZ2/.

    $(window).scroll(function() {
        var scrollTop = $(window).scrollTop();
        $("#mybox").css("top", scrollTop + "px");
    });​
    

    The the code above, you could simply hook up to the window scroll event and scroll the box manually along with the window. Looks pretty ok to me, but I haven’t tested it on IE 7/8!

    Hope it helps!

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

Sidebar

Related Questions

I have a div on my page, and I want to make it expand
I want make a bash script which returns the position of an element from
I want make interactive application where user launches it and can do various task
I have link for example domain.com/de/controler/action?param=value and I want make actionlink to keep same
I have pex_pkg.vhd and I want to use this library to make floating point
I have a floating menu(absolutely positioned) that stays in view as the user scrolls
I want to make a control that handles user input, so I want to
I am trying to make a div that contains other floating divs to adjust
Hi i'm trying to make a div within the front page of my site
Tried to make a floating div, with a -1 z-index to be in the

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.