Solved

How to keep a DIV static on a web page

Posted on 2013-05-26
1
372 Views
Last Modified: 2013-05-26
How to keep a DIV or an element on a webpage static or still no matter how much you scroll through your web page?
0
Comment
Question by:VBBRett
1 Comment
 
LVL 9

Accepted Solution

by:
Ishaan Rawat earned 500 total points
Comment Utility
By adding...
the following to the CSS of that div or element..

position: fixed;

Open in new window

0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Help in CSS 5 35
Ajax control editor 4 30
Hovering effect 9 28
Bootstrap input box width 2 11
Browsers only know CSS so your awesome SASS code needs to be translated into normal CSS. Here I'll try to explain what you should aim for in order to take full advantage of SASS.
This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
In this Micro Tutorial viewers will learn how to create a CSS image sprite (In a later tutorial, viewers will learn how to use CSS and HTML to create a navigation menu using this sprite) Open a new Photoshop document with a width of (Icon width)x(N…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now