PDA

View Full Version : Content background doesn't cover 100%



Ludatha
Jun 23rd, 2009, 03:14 AM
Hello, I've had this problem before and I can never sort it out.

Take a look at this (sorry for the long load, I need to combine and optimize the images)

http://ludatha.com/beta/

I cannot get the background to go all the way down to the bottom, if I took away the word "yo" then the background is not displayed at all.

Can anyone help me?

- Adam

Fisher
Jun 23rd, 2009, 06:06 AM
This should fix it. Add the part in red:

<div class="content_center_right_middle"><img src="http://ludatha.com/beta/images/advert2.png" alt="" /></div>

<div class="content_center_right_bottom"></div>
</div>
yo<div class="clear"></div>
</div>
<div class="clear"></div>
<div class="content_bottom"></div>

Doesn't have to be a div, you could also add <br class="clear" /> instead. Anything to clear the floats.

Ludatha
Jun 23rd, 2009, 10:29 AM
This should fix it. Add the part in red:

<div class="content_center_right_middle"><img src="http://ludatha.com/beta/images/advert2.png" alt="" /></div>

<div class="content_center_right_bottom"></div>
</div>
yo<div class="clear"></div>
</div>
<div class="clear"></div>
<div class="content_bottom"></div>

Doesn't have to be a div, you could also add <br class="clear" /> instead. Anything to clear the floats.

Ya know I cannot believe I didn't notice that :P

Thank you very much xD