0
how can we fix a particular portion on the webpage so that if we scroll or something happens in webpage it remains as it is.
4 Answers
+ 3
If you mean the background, use CSS:
body {
background-position: fixed;
}
If you want an object not to follow the rest of the page, also use CSS :) fixed positioning:
div {
position: fixed;
top: 0;
right: 0;
}
0
please repeat your question in a specific way
0
we can use position :fixed in the css of the div we want to fix
- 1
use firebug to disect/examine your website