Page is a not externally linkable
- Code, Content, and Presentation
-- CSS
---- floating divs not flowing on Android zoom


george93510 - 7:29 pm on Sep 12, 2011 (gmt 0)


I have a page with 3 floated columns. If I resize the window or zoom in, I want the floats to flow one underneath the other when the window isn't wide enough. This works in PC-type browsers, but on the Android text re-flows, but floated columns don't. So when I zoom in the right column(s) get cut off as if they were columns in a table.

How do I get this layout to flow on the Android? Will I have the same problem on iPhones?

My HTML:

<!DOCTYPE html>
.
.
.
<div class="col">
column 1 content
</div>

<div class="col">
column 2 content
</div>

<div class="col">
column 3 content
</div>


My CSS:

.col {
float: left;
margin-right: 25px;
}


Thread source:: http://www.webmasterworld.com/css/4361541.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com