You need to place both the content area and the sidebar inside a container
divwith a border, and then you can give either of the columns a side border, as well, to maintain your design.
I hope that helps.
you can throw this script in your header file.
give all your wrapper div the same class (use ID tag for css stuff, and the class tag for the script to use)
viabledesign, I understand your method, but am a little unsure of how to do it. Would I write a container div into the index.php or page.php and then add a border to it in my styles.css?
Thanks jerardneal. How do you give divs classes? Sorry, I’m that new to this…
Can anyone help to walk me through either of these approaches a little (or someone else suggested the height:100%; tag, but I haven’t gotten that to work)? I’ll provide my code… This site is almost finished except for this issue.
I don’t know how to make a container div or include other divs in a container, nor do I know how to assign classes to divs.
This is probably so simple, but I’m a little lost…
I replied to you in the wrong thread, I believe. Sorry. I’d like to help, though, and ran across another option, using borders: http://www.alistapart.com/articles/multicolumnlayouts
I think that would work well in this case. Contact me through my site (listed on my profile), and I’ll see what else I can do to help you get that beta working.
Position Is Everything has an article on how to do this with source-ordered containers. My blog works on this principle. You can find their article here:
- The topic ‘Sidebar and Content (Posts and Pages) Length’ is closed to new replies.