Click here to Skip to main content
15,887,467 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello, I have some problem vs my HTML page, it's about div block position. In page I have free blocks:

HTML
<div id="page">
   <div id="menu">
      some content
   </div>
   
   <div id="content">
      some content from youtube
   </div>
</div>


Id's menu and content have CSS float:left.

Problem. Page look good, but if the youtube video have very large size, div content change position and replaced after menu, like add tag
after div menu.
Posted
Comments
R. Giskard Reventlov 27-Apr-12 17:41pm    
Do you have a question?
Lubomur 28-Apr-12 17:43pm    
yes how can I fix that?

1 solution

put <br clear="all" /> after the menu div.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900