W
W
whiteleaf2017-10-25 23:29:35
css
whiteleaf, 2017-10-25 23:29:35

How to correctly lay out a wireframe with position: fixed?

Tell me, please, how can I make a frame for the Admin panel of the site if I need the panel on the left and the top menu to be fixed by pressing it with position: fixed?
When I use position: fixed, the content goes under the panel on the left. There is no more flow. And I would like to keep adaptability to different resolutions.
How to correctly specify the place for the content using css, and how is this solved in practice?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Z
zoozag, 2017-10-25
@zoozag

For the body, set padding-left to the width of the sidebar and padding-top to the height of the top

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question