Typically what I've done in the past is put the main content and sidebar in a container div, which is restricted to some value like 800 pixels, then float the sidebar to one side and the content to the other.
I did that. I think what is happening is that the "content" is too small (height), so the sidebar part that is bigger than the content is arriving underneath the "content". I wish tables were still in vogue. But I need to learn. Any other ideas? Thank you for your time.
10 comments so far
Still need some help with that CSS?
2 years, 5 months ago by dharmapunk
Yes. I do!
2 years, 5 months ago by taylorishere
Anything in particular got you stumped?
2 years, 5 months ago by dharmapunk
Using wordpress, when I try to make a sidebar happen, it wraps around my "content", while using a float, instead of being one sidebar down the side.
2 years, 5 months ago by taylorishere
Typically what I've done in the past is put the main content and sidebar in a container div, which is restricted to some value like 800 pixels, then float the sidebar to one side and the content to the other.
2 years, 5 months ago by dharmapunk
I did that. I think what is happening is that the "content" is too small (height), so the sidebar part that is bigger than the content is arriving underneath the "content". I wish tables were still in vogue. But I need to learn. Any other ideas? Thank you for your time.
2 years, 5 months ago by taylorishere
Hmmm...the only think I can think of is to play with the margin-left value of the sidebar to push it more to the right.
2 years, 5 months ago by dharmapunk
Well, so it goes, I ultra simplified the code, and gave a wrapper to the sidebar, and it worked out. Thanks for your followups!
2 years, 5 months ago by taylorishere
No problem.
2 years, 5 months ago by dharmapunk
for a while there was a vogue for mind-boggling css, but i find personally that the simpler the code the better nowadays.
2 years, 5 months ago by frelkins