<div id="anadiv" v="">
<div style="float:left">
<div style="text-align: right;margin:1px;"><a class="hvr-buzz-out" href="" style="display: block; vertical-align: middle; transform: translateZ(0px); box-shadow: rgba(0, 0, 0, 0) 0px 0px 1px; backface-visibility: hidden; line-height: 25px; margin-bottom: 2px; text-align: center; text-decoration: none; color: rgb(216, 225, 226); font-family: Verdana, Geneva, sans-serif; font-size: 14px; width: 100%; max-width:159px; background-color: rgb(216, 225, 226);"><span style="font-size: small;"><strong><span style="color: rgb(0, 0, 0);"> <br />
</span></strong></span><span style="font-size: medium;"><span style="color: rgb(0, 0, 0);"><br />
<br />
<br />
<br type="_moz" />
</span></span></a></div>
</div>
<div style="float:left">
<div style="text-align: right;margin:1px;"><a class="hvr-buzz-out" href="" style="display: block; vertical-align: middle; transform: translateZ(0px); box-shadow: rgba(0, 0, 0, 0) 0px 0px 1px; backface-visibility: hidden; line-height: 25px; margin-bottom: 2px; text-align: center; text-decoration: none; color: rgb(216, 225, 226); font-family: Verdana, Geneva, sans-serif; font-size: 14px; width: 100%; max-width:159px; background-color: rgb(216, 225, 226);"><span style="font-size: small;"><strong><span style="color: rgb(0, 0, 0);"> </span></strong><span style="color: rgb(0, 0, 0);"> </span></span><span style="font-size: medium;"><span style="color: rgb(0, 0, 0);"><br />
<br />
<br />
<br />
<br type="_moz" />
</span></span></a></div>
</div>
</div>
<table>
<tbody>
<tr>
<td>
<div style="width: 100%; max-width:320px; overflow: auto;"> <br />
<br />
<br />
<br />
<br />
<br />
</div>
</td>
<td>
<div style="width: 100%; max-width:320px; overflow: auto;"> <br />
<br />
<br />
<br />
</div>
</td>
</tr>
</tbody>
</table>
<br />
<div style="width: 100%; max-width:320px; overflow: auto;"> </div>
<table>
</table>
Lütfen yardım edin projem için önemli alt alra kaymasın :(
<br />
<div id="anadiv" v="">
<div style="float:left">
<div style="text-align: right;margin:1px;"><a class="hvr-buzz-out" href="" style="display: block; vertical-align: middle; transform: translateZ(0px); box-shadow: rgba(0, 0, 0, 0) 0px 0px 1px; backface-visibility: hidden; line-height: 25px; margin-bottom: 2px; text-align: center; text-decoration: none; color: rgb(216, 225, 226); font-family: Verdana, Geneva, sans-serif; font-size: 14px; width: 100%; max-width:159px; background-color: rgb(216, 225, 226);"><span style="font-size: small;"><strong><span style="color: rgb(0, 0, 0);"> <br />
</span></strong></span><span style="font-size: medium;"><span style="color: rgb(0, 0, 0);"><br />
<br />
<br />
<br type="_moz" />
</span></span></a></div>
</div>
<div style="float:left">
<div style="text-align: right;margin:1px;"><a class="hvr-buzz-out" href="" style="display: block; vertical-align: middle; transform: translateZ(0px); box-shadow: rgba(0, 0, 0, 0) 0px 0px 1px; backface-visibility: hidden; line-height: 25px; margin-bottom: 2px; text-align: center; text-decoration: none; color: rgb(216, 225, 226); font-family: Verdana, Geneva, sans-serif; font-size: 14px; width: 100%; max-width:159px; background-color: rgb(216, 225, 226);"><span style="font-size: small;"><strong><span style="color: rgb(0, 0, 0);"> </span></strong><span style="color: rgb(0, 0, 0);"> </span></span><span style="font-size: medium;"><span style="color: rgb(0, 0, 0);"><br />
<br />
<br />
<br />
<br type="_moz" />
</span></span></a></div>
</div>
</div>
<table>
<tbody>
<tr>
<td>
<div style="width: 100%; max-width:320px; overflow: auto;"> <br />
<br />
<br />
<br />
<br />
<br />
</div>
</td>
<td>
<div style="width: 100%; max-width:320px; overflow: auto;"> <br />
<br />
<br />
<br />
</div>
</td>
</tr>
</tbody>
</table>
<br />
<div style="width: 100%; max-width:320px; overflow: auto;"> </div>
<table>
</table>
İstediğini yanlış anlamadıysam şu şekilde yapabilirsin:
<!DOCTYPE html>\n<html lang=\"en\" xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta charset=\"utf-8\" />\n <title></title>\n</head>\n\n<body>\n <style>\n .kutu {\n height: 300px;\n width: 300px; \n background-color: #ff0000;\n display: inline-block; \n \n }\n </style>\n <div style=\"min-width:650px;display:block; background-color:#0094ff\">\n <div class=\"kutu\"></div>\n <div class=\"kutu\"></div>\n </div>\n</body>\n</html>
Bir taşıyıcı kutu içine diğer kutuları yerleştirip daha sınra taşıyıcı kutuya min-width yani minimum genişlik verirsen kutular tarayıcı penceresi daralsa da yan yana gelmez.
","url":"https://uzmanim.net/soru/alan-daralinca-alta-kayan-div-normalde-yanyana/73191#a73221","author":{"@type":"Person","name":"alattin"},"comment":[],"commentCount":0,"dateCreated":"2016-11-30T13:11:41.903+03:00","dateModified":"2016-11-30T13:11:41.903+03:00","text":"İstediğini yanlış anlamadıysam şu şekilde yapabilirsin:
<!DOCTYPE html>\n<html lang=\"en\" xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta charset=\"utf-8\" />\n <title></title>\n</head>\n\n<body>\n <style>\n .kutu {\n height: 300px;\n width: 300px; \n background-color: #ff0000;\n display: inline-block; \n \n }\n </style>\n <div style=\"min-width:650px;display:block; background-color:#0094ff\">\n <div class=\"kutu\"></div>\n <div class=\"kutu\"></div>\n </div>\n</body>\n</html>
Bir taşıyıcı kutu içine diğer kutuları yerleştirip daha sınra taşıyıcı kutuya min-width yani minimum genişlik verirsen kutular tarayıcı penceresi daralsa da yan yana gelmez.
","upvoteCount":0},{"@type":"Answer","name":"verdiğiniz kod üzerinde oynama yaptım diğer kodun içine koydum lakin sonuç aynı mobilde alt alta kayıyor :(
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-10" />
<title></title>
</head>
<body>
<style>
.kutu {
height: 158px;
width: 158px;
background-color: #D7E1E2;
display: inline-block;
}
</style>
<div class="kutu"></div>
<div class="kutu"></div>
</div>
</body>
</html>
verdiğiniz kod üzerinde oynama yaptım diğer kodun içine koydum lakin sonuç aynı mobilde alt alta kayıyor :(
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-10" />
<title></title>
</head>
<body>
<style>
.kutu {
height: 158px;
width: 158px;
background-color: #D7E1E2;
display: inline-block;
}
</style>
<div class="kutu"></div>
<div class="kutu"></div>
</div>
</body>
</html>
Lütfen yardım edin projem için önemli alt alra kaymasın :(
<br />
<div id="anadiv" v="">
<div style="float:left">
<div style="text-align: right;margin:1px;"><a class="hvr-buzz-out" href="" style="display: block; vertical-align: middle; transform: translateZ(0px); box-shadow: rgba(0, 0, 0, 0) 0px 0px 1px; backface-visibility: hidden; line-height: 25px; margin-bottom: 2px; text-align: center; text-decoration: none; color: rgb(216, 225, 226); font-family: Verdana, Geneva, sans-serif; font-size: 14px; width: 100%; max-width:159px; background-color: rgb(216, 225, 226);"><span style="font-size: small;"><strong><span style="color: rgb(0, 0, 0);"> <br />
</span></strong></span><span style="font-size: medium;"><span style="color: rgb(0, 0, 0);"><br />
<br />
<br />
<br type="_moz" />
</span></span></a></div>
</div>
<div style="float:left">
<div style="text-align: right;margin:1px;"><a class="hvr-buzz-out" href="" style="display: block; vertical-align: middle; transform: translateZ(0px); box-shadow: rgba(0, 0, 0, 0) 0px 0px 1px; backface-visibility: hidden; line-height: 25px; margin-bottom: 2px; text-align: center; text-decoration: none; color: rgb(216, 225, 226); font-family: Verdana, Geneva, sans-serif; font-size: 14px; width: 100%; max-width:159px; background-color: rgb(216, 225, 226);"><span style="font-size: small;"><strong><span style="color: rgb(0, 0, 0);"> </span></strong><span style="color: rgb(0, 0, 0);"> </span></span><span style="font-size: medium;"><span style="color: rgb(0, 0, 0);"><br />
<br />
<br />
<br />
<br type="_moz" />
</span></span></a></div>
</div>
</div>
<table>
<tbody>
<tr>
<td>
<div style="width: 100%; max-width:320px; overflow: auto;"> <br />
<br />
<br />
<br />
<br />
<br />
</div>
</td>
<td>
<div style="width: 100%; max-width:320px; overflow: auto;"> <br />
<br />
<br />
<br />
</div>
</td>
</tr>
</tbody>
</table>
<br />
<div style="width: 100%; max-width:320px; overflow: auto;"> </div>
<table>
</table>
Toplam 2 cevap
İstediğini yanlış anlamadıysam şu şekilde yapabilirsin:
<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8" />
<title></title>
</head>
<body>
<style>
.kutu {
height: 300px;
width: 300px;
background-color: #ff0000;
display: inline-block;
}
</style>
<div style="min-width:650px;display:block; background-color:#0094ff">
<div class="kutu"></div>
<div class="kutu"></div>
</div>
</body>
</html>
Bir taşıyıcı kutu içine diğer kutuları yerleştirip daha sınra taşıyıcı kutuya min-width yani minimum genişlik verirsen kutular tarayıcı penceresi daralsa da yan yana gelmez.
verdiğiniz kod üzerinde oynama yaptım diğer kodun içine koydum lakin sonuç aynı mobilde alt alta kayıyor :(
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-10" />
<title></title>
</head>
<body>
<style>
.kutu {
height: 158px;
width: 158px;
background-color: #D7E1E2;
display: inline-block;
}
</style>
<div class="kutu"></div>
<div class="kutu"></div>
</div>
</body>
</html>