Search
Enter Keywords:
Wednesday, 20 August 2008
Hosted Forums
Templates
Your own

commuity forum

for your church

or non-profit

organization.

Home arrow Tutorials arrow Templates arrow Template Creation
ADVERTISEMENT
Template Creation Print
Written by Ben   
Wednesday, 13 October 2004
Article Index
Template Creation
Table 1 - Site Name
Table 2 - Pathway
Table 3 - Main Content
Table 4 - Footer
Advanced Templating
Credits

TABLE 1 - SITE NAME

We are about to create our first table which will hold the name of the website.  I always create my tags in pairs to cut down on errors.  So on line 23 type what you see in the image below then hit enter twice and enter the ending table tag on line 25 just as it is shown below.

Click to Enlarge
Click to Enlarge









Table 1 - Site Name Code

Collapse All Expand All

[+]

Table Row and Table Cell

Now that the table is created lets create the table row () and the table cell ().  Click on line 24 and hit tab once.  Then create the starting () tag.  Hit enter twice and create the ending () tag. Now click on line 25 and create the starting () tag as shown below then hit enter twice and create the ending () tag.  Once this is done it should look like the image below.

Click to Enlarge
Click to Enlarge












Table Row and Cell Code

[+]

Site Name

Now click on line 26 and hit tab once.  Then type the code you see in the image below on line 26.

Click to Enlarge
Click to Enlarge







Site Name Code

[+]

Table 1 CSS

Now the html part of this table is complete.  If you do not have the tutorial_css.css file open yet, do so now.  Once opened we are going to add the classes that define how the table is rendered in our layout.

Type the following css styling in the tutorial_css.css file so that it resembles the image below.

Click to Enlarge
Click to Enlarge












Table 1 CSS Code

[+]

Preview Table 1

Now the first table we created was aligned in the center of the page and had a style class called 'table_1' and the cell had a  style called table_1_cell_1.  In the css file we create the style class and tell it how we want it to look.  This defines exactly how the table will be layed out when you view it.  If you have opted to install the default template then you can copy and paste both the index and css file to see what it looks like so far.  If you choose to do so it should look like the following image:

Click to Enlarge
Click to Enlarge





The text may differ according to the name of your website.

Now that we have the first table in place with the styles assigned, lets move on to the next one.




Last Updated ( Thursday, 06 September 2007 )
 

© 2008 Church Ministries Online
Joomla! is Free Software released under the GNU/GPL License.