title: Arrange images list using css
body: <p>I have fetched the <code>div</code> element from another website, thanks to this group.</p>
  
  <pre><code>require_once('E:\wamp\www\in.com\components\simple_html_dom.php');
  
  
  $html=file_get_html('http://www.behance.net/samerh/frame');
  $ret=$html-&gt;find("div[id=frame-gallery]");
  $ret=array_shift($ret);
  echo($ret);
  </code></pre>
  
  <p>And the content in that div is all images and it is displaying in a single list, instead I want to arrange it into 3 columns and 10 rows by writing the css and js file for it.</p>
  
  <p>It should be dynamic, like if any new image of a project is added or any changes made in that site it should be displayed in my current website.</p>
  
  <p>Please help show me how do that arrangement in css,</p>
  
  <p>Thanks in advance.</p>