Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>可能居中了 汗!</title>
</head>
<body>
<div class="out">
  <div class="in">
  多行文字垂直居中对齐的测试
    <strong>添加</strong>
    <br>多行文字垂直居中对齐的测试<br>xxXXXXXXxx<br>这里<br>这里
  </div>XXX    
  </div>
<script>
document.querySelector(".out").onclick=function()
{
  document.querySelector(".in").innerHTML=document.querySelector(".in").innerHTML+'添加内容!!'+'<br>'; 
}
</script>
  
</body>
</html>
Output 300px

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
anonymouspro
0viewers