Ehdoranil: div + table

Beitrag lesen

ist php + css:

php code:
file1.php:

echo "<div id="main">\n";

include "file2.php";

echo "</div>\n";

file2.php:

echo "  <table class="tab">\n";
  (...)
  echo "  </table>\n";

css dazu:

#main{
    top:15%;
    left:5px;
    height:75%;
    width:80%;
    overflow:auto;
  }

.tab{
    font-family:'Tahoma','Arial';
    margin:10px;
    position:relative;
    top:10%;
    bottom:10%;
    height:80%;
    left:15%;
    right:15%;
    width:70%;
  }

tja... das wars:|