bear
bear

Reputation: 11625

Div Content Overflowing

I'm having quite an issue here with a website.

The blue div container is having issues. Content from the next <li> is spilling into the current <li>.

How do I stop this?

CSS for area:

#strip {
    background:#039;
    border-bottom: 1px solid #ccc;
}

#strip ul {         
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

#strip li {
    list-style: none;
    margin-bottom: 0;
    height: 247px;
    overflow:hidden; 
}

Upvotes: 0

Views: 327

Answers (1)

user230451
user230451

Reputation: 76

go to #strip li then make the width the same as your div's(#strip) width.

Upvotes: 4

Related Questions