Jump to content
Sign in to follow this  
jeremysmiley

margins all screwy

Recommended Posts

jeremysmiley

I did some css to the header area to get my logo and page borders to line up but now the slider has moved up to high. I'm a rookie when it comes to css, just mess around with firebug until it looks good. Can someone help me out? Here's the css I added to achieve the logo placement... #branding .mainlogo-link, #branding .mainlogo-img { display:block; margin-left:-18px; max-width:108%; } #branding .content-pad { padding-bottom:0px; padding-top:0; } .content-pad { padding-bottom:0; padding-left:15px; padding-right:15px; padding-top:0; } #dynamic-content { background-attachment:initial; background-clip:initial; background-color:initial; background-image:url(http://thefresnophotobooth.com/wp-content/uploads/2012/04/page_bg2.png); background-origin:initial; background-position:50% 0; background-repeat:no-repeat repeat; margin-top:-67px; } .fullwidth #column-main .mcolumn-pad { margin-top:67px; padding-left:15px; padding-right:15px; }

Share this post


Link to post
Share on other sites
Danny
Hi, The issue is you're using negative margins which should not be used to align your content. I recommend having a look at this website page and getting some tips from it on positioning content. http://www.barelyfitz.com/screencast/html-training/css/positioning/

Please search our forums, before posting!

Share this post


Link to post
Share on other sites
jeremysmiley
Okay, I'll check it out. Thanks!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×