When elements are floated, they hang out of their container unless you force the container to wrap around them. overflow: hidden is the easiest way.

jemz
—
2012-08-31T23:23:21Z —
#3

ralph_m said:

Add this to your CSS:

.panel, #content {overflow:hidden;}

When elements are floated, they hang out of their container unless you force the container to wrap around them. overflow: hidden is the easiest way.

Wow perfect! Thank you Ralph you are so good and thank you also for letting me know about this overflow.I thought that when we use the Overflow:hidden; it will hide the scroll bars...by the ways where should i read this overflow can you please give me some link.i want to read this.Thank you again.