This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes float property is not working properly Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "float property is not working properly" Watch "float property is not working properly" New topic
Author

float property is not working properly

Jagdeep Sharma
Ranch Hand

Joined: May 24, 2010
Posts: 121

Hi Guys,

I am using code below for layouting. But when view this in browser black bordered div appears small in height. And also when i am making center outer div. It doesnt work well.


Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6

Jagdeep Sharma
Ranch Hand

Joined: May 24, 2010
Posts: 121

Eric Pascarello wrote:





Great Eric. Your solution works. But can you explain why that was happening in my code. It will be great help.
 
Consider Paul's rocket mass heater.
 
subject: float property is not working properly
 
Similar Threads
How to hide a cell w/ background image until a function call
How To Write Some Text in a Horizontal Rule?
jquery click doesnt work
Float problem
HTML/CSS: Div doesn't expand to hold floated elements