Css - Prevent Elements From Pushing
How can I prevent elements inside a div from pushing each other, I have my progress bar hidden until the event(drop) is called, and my img menu always visible example: as you can
Solution 1:
You can use absolutely positioned elements for this kind of requirements.
Just a few things to remember..
- For the
position:absoluteto work, thepositionfor the parent element should be set (anything other thanstatic(default)) or else it will take the position of the first ancestor that has the position set and if not then by default the position of thebodyis taken as an anchor. - To set the element into a specific location you can use the attributes
left,right,top,bottom.
Post a Comment for "Css - Prevent Elements From Pushing"