Jere
Jere

Reputation: 1266

display a block element below a floating element

I have a menu with float:right which should be displayed above the content of my site. At the moment the content is displayed behind the menu because of the floating property. Can you solve that?

The code: http://jsbin.com/tomaj/2/edit

the actual situation: enter image description here

how it should look like: enter image description here

Upvotes: 3

Views: 171

Answers (1)

Ruan Mendes
Ruan Mendes

Reputation: 92274

Give your block div the following CSS

clear: both;

Upvotes: 6

Related Questions