Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8 />
<title>JS Bin</title>
</head>
<body>
  <div class="newsListItem">
    <img src="http://placehold.it/100x75" width="100" height="75">
    <h2> Lorem Ipsum is simply dummy text of the printing and typesetting industry. </h2>
    <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry.Lorem Ipsum is simply dummy text of the printing and typesetting industry.</p>
  </div>
  <div class="newsListItem">
      <img src="http://placehold.it/100x75" width="100" height="75">
      <h2> Lorem Ipsum is simply dummy text of the printing and typesetting industry. </h2>
      <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry.Lorem Ipsum is simply dummy text of the printing and typesetting industry.</p>
    </div>
</body>
</html>
 
.newsListItem {
  padding-left: 115px;
}
.newsListItem img{
  float:left;
  width: 100px; /* Added */
  margin-left: -115px; /* SAME AS PADDING ABOVE */
}
Output 300px

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

Dismiss x
public
Bin info
davidpauljuniorpro
0viewers