2 replies [Last post]
csbenjamin.math
csbenjamin.math's picture
Offline
newbie
Last seen: 8 years 26 weeks ago
Timezone: GMT-2
Joined: 2012-11-10
Posts: 2
Points: 5

Hi everyone!

I have a website and it contains a div with id="container". This div contains a background but since its the height is zero, the background isn't shown. Help me.
The page is http://www.vcmat.com/

gary.turner
gary.turner's picture
Offline
Moderator
Dallas
Last seen: 10 weeks 2 days ago
Dallas
Timezone: GMT-6
Joined: 2004-06-25
Posts: 9776
Points: 3858

#container has float children

#container has float children that you've made no effort to enclose. See Enclosing float elements.

To the #container, add {overflow: hidden;}, and delete {height: 100%;}.

cheers,

gary

If your web page is as clever as you can make it, it's probably too clever for you to debug or maintain.

csbenjamin.math
csbenjamin.math's picture
Offline
newbie
Last seen: 8 years 26 weeks ago
Timezone: GMT-2
Joined: 2012-11-10
Posts: 2
Points: 5

Thanks man! All right now.

Thanks man! Big smile

All right now.