Create Joomla table with 100% width

244 views
asked Mar 28, 2013 in Website Builder by Donald (2,780 points)
Hi,

How can I create a table  that is 100% width of my module containing 3 cells? I also want to have a  black border around all cells but not around  each individual cell. Can anyone please help me out?

Thanks,

3 Answers

0 like 0 dislike
answered Mar 28, 2013 by FixHost (12,380 points)
Use 32%. The border and padding is not included, so you have some left width for those.
Check this tutorial
http://www.w3schools.com/html/html_tables.asp
0 like 0 dislike
answered Mar 28, 2013 by JoomAp (5,660 points)
use the following code
<table style="border-width: 1px; font-family: Times,helvetica,Arial;" width="100%" cellspacing="0" cellpadding="2" align="center" bgcolor="#f2f2f2">
<tbody>
<tr>
<td width="25%"><a href="Cell1" title="Name">Contact</a></td>
<td width="25%"><a href="text" title="text">Text</a></td>
<td width="25%"><a href="text" title="text">text</a></td>
<td width="25%"><a href="text" title="text">text</a></td>
</tr>
<tr>
<td><a href=" text " title=" text "> text </a></td>
<td><a href=" text " title=" text "> text </a></td>
<td><a href=" text " title=" text "> text </a></td>
<td><a href=" text " title=" text "> text </a></td>
</tr>
0 like 0 dislike
answered Mar 28, 2013 by dona (4,540 points)
Try using the extension FlexiContent. It is a contact form allowing the addition  of 5 new fields .
...