Increase any positon fixed

h4xgrrl

New Member
How can I use javascript to increase every single position:fixed in a page by a number of pixels? For example: I have a webpage with several fixed position elements and I insert a toolbar at the top using javascript. Now that the toolbar takes up 40px of space, all the fixed elements are positioned 40px off.I need some javascript that I can fire at the same time as introducing the toolbar that will increase all the position fixed by 40px.
 
Back
Top