I'm trying to make responsive design.
There are mainly 2 sections such as left and right section. left section always has to be 300px and right section will be flexible width.
But minimum width has to be 300px and it should be shown on the bottom when it's narrower than 300px(See image below)
Why this CSS won't be responsive design like this image?
This is demo http://jsfiddle.net/5Uy2Y/ In my demo, I didn't put the border for each cell. Please ignore that.
HTML Can I probably remove <div class="box">
?
<div class="Row">
<div class="box">
<div class="Left">
<div class="posted_at">July 22, 2013 04:34:14</div>
<div class="user">John Smith</div>
<div class="location">California</div>
</div>
</div>
<div class="box">
<div class="Right">
<div class="body">Hello, I'm John Smith Nice to know you</div>
</div>
</div>
</div>
CSS
div.Row{
border:2px solid rgb(0, 0, 0);
min-width: 300px;
margin-bottom: 20px;
margin-right: 20px;
float:left;
display:block;
}
div.Box{
padding:0px;
text-align:center;
float:left;
}
div.Left{
width:300px;
text-align:center;
padding:5px;
clear:both;
}
div.Right{
text-align:left;
clear:both;
min-width: 300px;
}
div.posted_at{
}
div.user{
}
div.location{
}
div.body{
}