CSS for sidebars

+1 Willie Jonez · October 31, 2015
Please, I am working on a dashboard that will have a 2 sidebars, left and right with the main content in the middle, and I don't know to go about it, can someone please push me through, I really need to learn how to write the css for it.


Post a Reply


Oldest  Newest  Rating
0 Marcus Drake · November 8, 2015
I'm not sure of the best way to do this, however, the way I would do it is:

Create three divs which has height 100%, make their positions fixed to the screen and inline with one another. Then, I would set the content div element to have overflow-y: scroll. Finally, styling the sidebars as I wish.

I hope this helped or gave you some idea.
  • 1

HTML / CSS / Web Design


Discuss, share, ask, learn and teach HTML5 and CSS3.