Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <style>
- table{
- display: block;
- width:900px;
- min-height: 100px;
- position: relative;
- overflow: hidden;
- margin: auto;
- margin-top: 50px;
- }
- .nome{
- display: inline-block;
- width:300px;
- border: 2px solid black;
- }.numero{
- display: inline-block;
- width:80px;
- margin-left: 5px;
- border: 2px solid black;
- text-align: right;
- }
- </style>
- <table>
- <?php
- $i = 0;
- for ($i = 0; $i < 10; $i++){
- echo "<tr>";
- echo "<td class='nome'>Nome de teste ".rand(1,9) * rand(1, 999999999)."</td>";
- echo "<td class='numero'>".rand(10,9999)."</td>";
- echo "<td class='numero'>".rand(10,9999)."RS</td>";
- echo "<td class='numero'>".rand(100,9999)."RS</td>";
- echo "<td class='numero'>".rand(100,9999)."RS</td>";
- echo "</tr>";
- }
- ?>
- </table>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement