2
これは私のページ(アラビア語のもの)のサンプルです。x軸がテキストの後ろにある理由を知りたいのですが、それはGoogle Chromeでdivに折り畳まれている理由
私はそれを解決する他のdiv float: right;
を与える場合、私は知っているが、私はそれはとのどちらも起こっては何の意味
html, body{
direction: rtl;
/*its a MUST because the site is arabic*/
}
#popup {
overflow-y: scroll;
/*the window may not be able to contain the text*/
background: gray;
}
#close {
color: red;
float: right;
}
<!DOCTYPE html>
<html>
<head>
<title>Home</title>
<meta charset="utf-8">
</head>
<body>
<div id="popup">
<div id="close">×</div>
<div>
some text goes here
</div>
</div>
</body>
</html>
を作るいないことが判明ので、私はそれが起こった理由の説明をしたいですltr direction
やgoogle chrome以外のブラウザ(Firefoxで試してもうまく動作します)
あなたは、全体を右に浮かべるよりも優れた解決策があると思いますか? – robert