danhodge Posted March 25, 2011 Report Share Posted March 25, 2011 Hey again guys Okay, my problem is sidebars. I have a sidebar, which i can fit into my website nicely, along with the header and nav bar. My only issue now, is that i can't put any actual content into the website without it going in the wrong place. So, i wondered, can this be achieved by playing around with the floats in the layers? Thanks alot, Danny Quote Link to comment Share on other sites More sharing options...
falkencreative Posted March 25, 2011 Report Share Posted March 25, 2011 I think you'll have to post a link to the page for us to be able to help you with this. Personally, I'd really stay away from Dreamweaver's "Layers" if possible. They are just absolutely positioned divs, and I've found in the past that they tend to cause significant layout issues. Quote Link to comment Share on other sites More sharing options...
danhodge Posted March 25, 2011 Author Report Share Posted March 25, 2011 I don't use dreamweaver, i cant afford it :L And the link wont really help, all i really need to know is why float: left; for the sidebar and Float:left; for the content doesn't automatically align them Quote Link to comment Share on other sites More sharing options...
Andrea Posted March 25, 2011 Report Share Posted March 25, 2011 The link would totally help - without it, pretty much what we can say for certain is it's not working because something is not right. Does that help? Quote Link to comment Share on other sites More sharing options...
danhodge Posted March 25, 2011 Author Report Share Posted March 25, 2011 Sorry for the delay, but here: http://potatoes.netii.net/ I can get an image in the right place, but the only way i can move this into the right place is by setting a load of massive margins, but surely that will make it look messy? Quote Link to comment Share on other sites More sharing options...
falkencreative Posted March 25, 2011 Report Share Posted March 25, 2011 I think you are confusing two different methods for layout. You can layout columns using floats, or using floats/margins (where one column is placed within the left or right margin of another column) but you can't try to do both at the same time. To fix this, you need to remove the margin-left from #content, and the negative left margin on the h1, and then adjust as necessary. Quote Link to comment Share on other sites More sharing options...
danhodge Posted March 25, 2011 Author Report Share Posted March 25, 2011 Hmm, i didn't actually notice i had these margins still set... im terrible for trouble shooting, its definatly something i need to work on... But thanks again Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.