Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Dec 2013
    Posts
    22
    Thanks
    22
    Thanked 0 Times in 0 Posts

    I want to create a simple table

    Hello,I tryed to create a table and I failed,maybe it's because i used a generator,anyway I'm still trying to create this table:



    The basic information for this table are:
    Exterior border:5px
    Interior border:1px
    Cell width:210px
    Cell height:50px
    Head cell width:210px
    Head cell height:85px
    Head cell font size:18px
    Body cell font size:14px
    Font color:#ebebeb
    Borders color:#ebebeb
    Background color:white

    When I tryed to create this table it was very big,it didnt repond to the height and width I gave to it,so please help me,I will be very grateful.

  • #2
    Senior Coder
    Join Date
    Jan 2011
    Location
    Missouri
    Posts
    3,762
    Thanks
    23
    Thanked 548 Times in 547 Posts
    You can not see the text if you use #ebebeb on a white background. I changed that to gray.
    table width = cell width plus border
    Code:
    <!DOCTYPE html>
    <html>
    <head>
    <title>Title of the document</title>
    <style type="text/css">
    table{
    	width: 220px;
    	border: 5px solid gray;
    	background-color: #ffffff;
    	color: gray;
    	font-size: 14px;
    	border-collapse: collapse;
    }
    th{
    	height: 85px;
    	font-size: 18px;
    }
    td{
    	height: 50px;
    	text-align:center;
    	border: 1px solid gray;
    }
    </style>
    </head>
    
    <body>
    
    <table>
    	<tr>
    		<th>TRIAL<br />
    		FREE FOR 30 DAYS<br />
    		Great for beginners</th>
    	</tr>
    	<tr>
    		<td>5 gb storage</td>
    	</tr>
    	<tr>
    		<td>256 mb ram</td>
    	</tr>
    	<tr>
    		<td>20 e-mails</td>
    	</tr>
    </table>
    </body>
    </html>
    Last edited by sunfighter; 12-24-2013 at 02:27 PM.
    Evolution - The non-random survival of random variants.

  • Users who have thanked sunfighter for this post:

    Bitzu (12-24-2013)

  • #3
    New Coder
    Join Date
    Dec 2013
    Posts
    22
    Thanks
    22
    Thanked 0 Times in 0 Posts
    I love you,but not in the gay way
    Thanks very much.


  •  

    Tags for this 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
    •