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.

1st Jul 2016, 5:28 AM
Nitin Sharma
Nitin Sharma - avatar
4 Respostas
+ 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; }
1st Jul 2016, 2:18 PM
ZinC
ZinC - avatar
0
please repeat your question in a specific way
1st Jul 2016, 5:49 AM
Sinethemba Gomba
Sinethemba Gomba - avatar
0
we can use position :fixed in the css of the div we want to fix
2nd Jul 2016, 9:47 AM
Nitin Sharma
Nitin Sharma - avatar
- 1
use firebug to disect/examine your website
1st Jul 2016, 6:26 AM
Deraul M. Dimasuhid
Deraul M. Dimasuhid - avatar