>news   |   tools       Advanced
Welcome to Trillium University's online course on basic website construction.
Presented by fjd1.com

    Steps
  1. Preliminary
  2. Design your site
  3. Uploading files.
  4. Testing your site.
  5. More...

Multi Level Mailing List Builder

FreeMailer2000 When you sign-up for Free, you will get your very own personalized FreeMailer2000 website along with your Unique URL. When someone signs-up from your FreeMailer2000 website, they become your First Level Downline. Similarly, when someone else signs-up from their Unique URL, they become your Second Level Downline and so on till 15 Levels. The trade off here is very light, only 14 people are able to send email to you in return.


Webrings

Click here for information about webrings mastered by fjd1.com

Webings are a great way to surf the web by topic, and a good method of getting your pages noticed for webmasters.



Software

Trillium University maintains an archive at Ware.netfirms.com for software (and links to downloads) which you might find benificial.




Join the BusinessForYou.Com
affiliate program!

The Internet Society
We are a member of ISOC, the Internet SOCiety.

GC Computers - Computer Trade-Show Prices Everyday

Photos To Go
Type words describing
the photo you want




If you need professional help, send me an e-mail describing your needs and how to best contact you.

Sincerely,
F. Davies
fjdavies@yahoo.com
(360) 352-0242
ICQ 43536012


advertisements

Step by step instruction for creating a website.

2. Designing your site continued. Click here for the previous lesson.

Tables have rows. Rows have data. Three tags will be needed, (each a pair of tags actually,) and each nested within the other. Like all content, this should be in the body of your page, not the head. There is quite a bit we can do with tables but let us start with the simplest table of all, a table with only one item of data and then we will expand to more advanced stuff.

<table>
<tr>
<td>
This text is in the data element within a row element of the table.
</td>
</tr>
</table>

This parsed output is very simple:
This text is in the data element within a row element of the table.
Let's make sure the border isvisible by adding the attribute for it in the opening table tag, so our code becomes:

<table border="1">
<tr>
<td>
This text is in the data element within a row element of the table.
</td>
</tr>
</table>

Now we can see the border:
This text is in the data element within a row element of the table.
Now we add second and third data elements to our row:

<table border="1">
<tr>
<td>
This text is in the data element within a row element of the table.
</td>
<td>
This text is in the next data element within a row element of the table.
</td>
<td>
This text is in the third data element within a row element of the table.
</td>
</tr>
</table>

The table features begin to become clear now:
This text is in the data element within a row element of the table. This text is in the next data element within a row element of the table. This text is in the third data element within a row element of the table.
We can add another row, but must watch to be sure we have the same number of data elements in each row. Here we add only two of the three data elements needed so that you will recognize the look of a row, short of the number of data elements needed.

<table border="1">
<tr>
<td>
This text is in the data element within a row element of the table.
</td>
<td>
This text is in the next data element within a row element of the table.
</td>
<td>
This text is in the third data element within a row element of the table.
</td>
</tr>
<tr>
<td>
This text is in the data element within a row element of the table.
</td>
<td>
This text is in the third data element within a row element of the table.
</td>
</tr>
</table>


You can see how the last part of the table is set off visually, and this should tell you that a data element is missing. Note the last cell as it parses below:
This text is in the data element within a row element of the table. This text is in the next data element within a row element of the table. This text is in the third data element within a row element of the table.
This text is in the data element within a row element of the table. This text is in the third data element within a row element of the table.
We can address this problem several ways. First, let us add an empty (actually it has a non-breaking space in it) data element as a means of fixing this.

<table border="1">
<tr>
<td>
This text is in the data element within a row element of the table.
</td>
<td>
This text is in the next data element within a row element of the table.
</td>
<td>
This text is in the third data element within a row element of the table.
</td>
</tr>
<tr>
<td>
This text is in the data element within a row element of the table.
</td>
<td>
This text is in the next data element within a row element of the table.
</td>
<td>&nbsp;</td>
</tr>
</table>

Now this is better:
This text is in the data element within a row element of the table. This text is in the next data element within a row element of the table. This text is in the third data element within a row element of the table.
This text is in the data element within a row element of the table. This text is in the next data element within a row element of the table.  
Sometimes you want a data element to span across two columns as the attribute to do so is the span attribute which needs to be inside the data element's tag. Here we will remove the last data element (the one we just added) and instead add the new attribute to the data element before it:

<table border="1">
<tr>
<td>
This text is in the data element within a row element of the table.
</td>
<td>
This text is in the next data element within a row element of the table.
</td>
<td>
This text is in the third data element within a row element of the table.
</td>
</tr>
<tr>
<td>
This text is in the data element within a row element of the table.
</td>
<td colspan="2">
This text is in the last data element within a row element of the table.
</td>
</tr>
</table>

Now this is better:
This text is in the data element within a row element of the table. This text is in the next data element within a row element of the table. This text is in the third data element within a row element of the table.
This text is in the data element within a row element of the table. This text is in the last data element within a row element of the table.

Well, that is tricky and for the record (try it yourself) there is also an attribute for rowspan which works the same way except it will span rows instead of columns. This can quickly get confusing, sot try to keep you table simple. Remember that your content will be enclosed within the data elements and that rows and columns will line up to make a rectangular grid. Now let us add some color and images to our table. Let us make the table yellow and add an image (same image as before will work fine, or use a new one in your images folder). We will put the image in the first data element of the second row:

<table bgcolor="yellow" border="1">
<tr>
<td>
This text is in the data element within a row element of the table.
</td>
<td>
This text is in the next data element within a row element of the table.
</td>
<td>
This text is in the third data element within a row element of the table.
</td>
</tr>
<tr>
<td background="images/myphoto.jpg">
This text is in the data element within a row element of the table.
</td>
<td colspan="2">
This text is in the last data element within a row element of the table.
</td>
</tr>
</table>

Now, this is parsing with a bit of pizzaz:
This text is in the data element within a row element of the table. This text is in the next data element within a row element of the table. This text is in the third data element within a row element of the table.
This text is in the data element within a row element of the table. This text is in the last data element within a row element of the table.
Our attributes should also include a summary attribute in the table element tag. So our first tag should really look like this:

<table bgcolor="yellow" border="1"  summary="our example table">

Our background color attribute and our background image attribute can be in a data element or the table element itself. You can include most any content in the table's data elements including more tables and images. As the language is so forgiving, you can try something to see if it works and it most likely will have no negative effect if it does not.

Now let us return to our main body tag. As you are getting used to the idea of attributes being able to modify our elements (such as the body tag) it is time to add in the ones controling the look of our links in the next lesson.

  1. Preliminary
  2. Design your site
  3. Uploading files.
  4. Testing your site.
  5. More...

Click to visit our Neoworx products page
Click here for Neoworx products include route tracing (to see the internet route used to another online computer.)


Fantastic Tools for Webmasters!

Boost your Internet speed - Download Now

CLICK HERE to find over 2000 computer items!

Click here to download freeware

GoClick - web pages with one mouse click


Impulse Software - Easy, Effective, E-commerce

ecBuilder Pro - software that sells!





Hosting services include free tools and website hosting. Click on the banners above and make a website within the hour. Premium services are exceptional and they have all the goodies and services you expect from a host.

peopleprofit.com

ebusiness made easy

Download free software and computer tools.
AutoSurf

For further information, contact: fjdavies@yahoo.com