+ Reply to Thread
Results 1 to 2 of 2

Thread: Creating a table that sizes 50% of the page

  1. #1
    Junior Member
    Join Date
    Jan 2012

    Creating a table that sizes 50% of the page

    I`d like to make a table that has border and it`s size must be 50% of the page , i could just do the
    table but there werent any borders.

    Any Help ?

  2. #2
    Here is the perfect example for what you need :
    <table border="1" width="50%" cellpadding="10"> <!--width can be like 150-->
    		<th>Header 1</th>
    		<th>Header 2</th>
    		<th>Header 3</th>
    		<td align="center">What</td>
    		<td align="center">is</td>
    		<td align="center">on</td>
    		<td align="center">my</td>
    		<td align="center">mind</td>
    		<td align="center">now</td>
    Where width=50% which means half size of the page and cellpadding is set to 10 and that means
    the amount of empty space outside the table elemnt boundry , you can change that.

+ Reply to Thread


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts