Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 499
  • Last Modified:

wordpress css problem with div alignment

Please can someone help with an alignment issue i have on the wordpress twenty ten theme.

I have styles the twenty ten theme to a custom design, however i seem to have a white gap at the top on the "main" div and its not flush with the footer, i think it maybe a div issue as my css seems ok?

link to page is here:

http://www.bluebean.org.uk/current/community.html
0
Andy6350
Asked:
Andy6350
  • 5
  • 4
1 Solution
 
c_a_n_o_nCommented:
Add margin-bottom: 0; to the search

#search {
    float: right;
    margin-bottom: 0;
    margin-right: 20px;
    margin-top: 9px;
}
0
 
c_a_n_o_nCommented:
or replace with

 #search {
    float: right;
    margin: 9px 20px 0 0;
 }
0
 
Andy6350Author Commented:
Thank you very much, cant believe i didnt notice that div - thats working until 1am for you.

I will accept that as a great solution, but before i do can i ask another quick question you might know.

I have removed the space between the search and the container, however the container is still overlapping the footer and the image of eynesbury rovers is outside of the contents area in IE?

Any Ideas?

Thanks
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
c_a_n_o_nCommented:
How about a little more content or add two breaks.

<br />
<p>Kick Off 3:00pm<br>
Saturday 12th March<br>
UCL Div 1 (away)</p>
<br />
0
 
c_a_n_o_nCommented:
Did everything work out okay?
0
 
Andy6350Author Commented:
Sorry for the delay, i have been away.

It didn't solve the problem as i will only be covering the issue up, i need to make sure that its going to look right when the client adds or removes content.

It seems to be an issue with IE8.

The page below seems to have a similar issue where the sidebar is over-lapping the content area

http://www.bluebean.org.uk/current/category/126000-175000/

Also found an issue with the following page in IE8 where there is not space between each item as there is in chrome.

http://www.bluebean.org.uk/current/category/176000-250000/

All the little issues can be head scratching sometimes.

I appreciate your help and if you would like me to accept your original solution and resubmit a new question. Didn't want you thinking this is dragging on, but really do appreciate your help



0
 
c_a_n_o_nCommented:
Try this -- play around with the margin setting.  This worked for the first link.

#secondary {
    clear: right;
    margin: 0 20px 10px 0;
}

Your second link may be answered here ....  Something to do with a clear div and &nbsp;
http://stackoverflow.com/questions/1245914/ie8-container-with-margin-top-10px-has-no-margin

I hope that helps.
0
 
Andy6350Author Commented:
Thank you very much, all issues solved with the exception of the images within the content area, but these i think i can sort out. You have been a great help.

Cheers
0
 
Andy6350Author Commented:
Great help, thank you
0

Featured Post

[Webinar] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

  • 5
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now