Need a little help with CSS

The link is collegefootballrankings.us.

For some reason the background for “USA Today Coaches’ Poll” is stretching all the way to the top. Any idea why the background works fine for the “AP Top 25” poll but not the other?

Any help is appreciated.

Rayzur,

Thank you so much. I really appreciate your help.

Andy

Hi,
You have a float (#others) above that .poll div.

Add clear:both to .poll so the background does not slide up under the float.

If you need space between them then put a bottom margin on the float (#others)

Shouldn’t this

background:none repeat scroll 0 0 #FFCD7F;

need to be

background:none no-repeat scroll 0 0 #FFCD7F;

Hello,

If take a look at collegefootballrankings.us and scroll down you will see the background behind the text “USA Today Coaches’ Poll” is stretched to the top. It looks fine for the “AP Top 25” background.

Here is the CSS:

.poll {
width: 300px;
background: #ffcd7f;
padding: 5px 10px 5px 10px;
-moz-border-radius: 5px 5px 5px 5px;
border-radius: 5px 5px 5px 5px;
font-weight: bold;
font-size: 18pt;
text-align: center;
margin: 15px 0 15px 93px;
}

It’s not really clear what you are referring to. Could you be a bit more specific, and maybe show the code that you think is relevant? What is the “background for USA Today Coaches’ Poll”?