Solved

wordpress css problem with div alignment

Posted on 2011-03-10
9
488 Views
Last Modified: 2012-05-11
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
Comment
Question by:Andy6350
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 4
9 Comments
 
LVL 10

Expert Comment

by:c_a_n_o_n
ID: 35094272
Add margin-bottom: 0; to the search

#search {
    float: right;
    margin-bottom: 0;
    margin-right: 20px;
    margin-top: 9px;
}
0
 
LVL 10

Expert Comment

by:c_a_n_o_n
ID: 35094290
or replace with

 #search {
    float: right;
    margin: 9px 20px 0 0;
 }
0
 

Author Comment

by:Andy6350
ID: 35098852
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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 10

Expert Comment

by:c_a_n_o_n
ID: 35103146
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
 
LVL 10

Expert Comment

by:c_a_n_o_n
ID: 35131570
Did everything work out okay?
0
 

Author Comment

by:Andy6350
ID: 35133026
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
 
LVL 10

Accepted Solution

by:
c_a_n_o_n earned 500 total points
ID: 35142613
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
 

Author Comment

by:Andy6350
ID: 35143457
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
 

Author Closing Comment

by:Andy6350
ID: 35143459
Great help, thank you
0

Featured Post

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

CSS is a visual language used to classify objects and define rules about how they should be displayed. CSS skills aren’t restricted to developers anymore, there is a big benefit to having a basic understanding of the language, regardless of your occ…
Why do we like using grid based layouts in website design? Let's look at the live examples of websites and compare them to grid based WordPress themes.
The purpose of this video is to demonstrate how to Import and export files in WordPress. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Click on Too…
The purpose of this video is to demonstrate how to set up the permalinks on a WordPress Website. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Go t…
Suggested Courses

630 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question