Main content and sidebar not lining up properly?
-
I’m not sure what I did to have this happen, but one day all of a sudden my content decided to show up below the bottom line of my side bar instead of right next to the side bar. I checked the margins and size of the sidebar and content…the width of everything total is 872 pixels and I have the primary/secondary sidebars set as 230px and the main content at less than 600px including margins, etc. SO it should all fit width-wise.
I checked out my html via the inspector.w3 website and there aren’t any open divs or tags open that would cause this.
I tried to make some changes via making a .containersidebar that had an absolute position, and a .containercontent that had a relative position that floated right. unfortunately now it’s acting all crazy, and my browser sometimes shows the content below and sometimes all the way out to the right-hand side in the background area (if you scroll right).
website link: https://www.paleoprovidence.com
parent css:
child css:
- The topic ‘Main content and sidebar not lining up properly?’ is closed to new replies.