StroiX Posted October 12, 2009 Share Posted October 12, 2009 I am having trouble bringing the sidebar next to the left div up, as you can see here; http://bit.ly/29xZIa I would like both columns to be next to each other have spent quite a bit time messing around... any help would be greatly appreciated! Regards, Dave Byers Link to comment https://forums.phpfreaks.com/topic/177410-solved-float-problem-please-look/ Share on other sites More sharing options...
saltedm8 Posted October 12, 2009 Share Posted October 12, 2009 I am having a little problem understanding bits of your code.. as in why you have done certain things, but I can say that your main area has a margin-right which stretches the full width of your container area.. so its pushing the sidebar down unfortunately I don't think its going to be a case of simply removing the margin right, as when I tried, it messed up even more.. as you coded it, you might know how to fix that problem allot faster than I can come across it.. Personally I would start the layout again, its just a bit of a mess as you have loads of html errors. Link to comment https://forums.phpfreaks.com/topic/177410-solved-float-problem-please-look/#findComment-935442 Share on other sites More sharing options...
haku Posted October 12, 2009 Share Posted October 12, 2009 Give the .main div a fixed width and float it left. Set the width narrow enough that the right sidebar can fit beside it. And remove clear:left from the right sidebar. Link to comment https://forums.phpfreaks.com/topic/177410-solved-float-problem-please-look/#findComment-935447 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.