• CSS Problem with keeping sidebar-content together
    2 replies, posted
Hello Facepunch, I am having a problem with keeping the sidebar of a page attached to the page-content next to it. Problem is, content has float:left and sidebar has float:right, so whenever the window is resized, the sidebar is free to move to the right. What I need is to make the sidebar stay right next to the content no matter how the window is resized. url I am working on is the following: [url]http://sharpmindprojects.com/Beta/wordpress/projects/resload[/url] Also, I pasted css code here: [url]http://pastebin.com/cCiYixCz[/url] PS: Sorry for it being kind of a mess, it's a WIP. Code might be fucked up at some points, I was searching this for quite some time... Thanks in advance for any kind of help.
Put the side bar in the content div.
[QUOTE=jaybuz;28499682]Put the side bar in the content div.[/QUOTE] God I feel so stupid now, I thought it was inside "content"... Thanks a lot jaybuz!
Sorry, you need to Log In to post a reply to this thread.