Offistart - Virtual Offices, Office Space, Business Support Services
*Home>>>Business Centers

HTML Tables?


I contructed a table in HTML. I am having a problem understanding colspan and rowspan. The following is my code. Why is there a space in the first column? Why is there that huge gap? Thanks for all responses.



<table width="80%" cellpadding="0" cellspacing="0" border="5" bordercolor="blue"><caption align="top"><h1><font face="impact" color="red">COURSE TECHNOLOGY</font></h1></caption>

<tr align="center" bgcolor="#6699CC">
<td></td>
<td>About Us</td>
<td>Contact Us</td>
<td>Find Your Representative</td>
<td>Book Store</td>
<td>Support</td>
</tr>
<tr>
<td>Our Catalog</td>
<td colspan="5" rowspan="8"><img src="image.gif"></td>
</tr>
<tr>
<td>Business and Professional Development</td>
</tr>
<tr>
<td>Computer Concepts</td>
</tr>
<tr>
<td>Databases</td>
</tr>
<tr>
<td>E-Commerce</td>
</tr>
<tr>
<td>Graphic Design and Desktop Publishing</td>
</tr>
<tr>
<td>Help Desk</td>
</tr>
</table>

1. That space in the 1st column (of the 1st row) is caused by your <td></td> you entered just before "About Us"...do you see it? If you want it to have the"ingraved look then add " " inside the tags.

2. I am not sure about which "huge gap" you are referring to..If you are still referring to the 1st column/1st row then see #1...If you are referring to the gap seen at the bottom-right it is because of your "colspan/rowspan" you gave...It makes total sense that it would do that...If you dont want that then remove it and replace the missing portion wiht "<td></td>" for each col (should be 6 per row) with 8 rows

Not an answer, but, if you don't need to represent tabular data, then just use CSS.

The example you provided is a perfect case for CSS.

First of all, why are you using a table? A table should be used for displaying tabular data only, not for menus or anything else. You don't use Excel to write your simple text documents, right?

Tags
  Meeting Room   Meeting Space   Conference Room   Offices to Lease   Rent Offices   Business Centers   Service Offices   Branch Offices   Temporary Offices   Shared Offices   Commercial Space   Office Space
Related information
  • Where can I get a job that I can bring my baby with me?

    I don't know of any office jobs. Companies usually don't want the liability. Self employment is the only way to go if you don't want to go the day care route. I'm a graphic desi...

  • If sHrillery wins, will Bill Clinton's new affairs since he left the WH, be newsworthy?

    If Hillary wins, expect all the same dirty tricks the Clintons use against people who out their crimes, scandals, self-serving politics and of course, Bill's girl friends. Bill's pers...

  • I want to start a day care center but I have bad credit. How can I get a loan?

    The first step is to prepare a business plan. Even if you will not be applying for a bank loan, a business plan helps you to think through your business - what it needs, who it will benefit, how mu...

  • I am in the process of starting a small childcare center for my chuch?

    I highly doubt it. I have worked at several day care centers & I have no degree. Most of the people I worked with didn't either. A preschool may be different. In my state (NC) a part time ...

  • Has anyone opened a Day Care Center?

    1. You don't need to have a Bachelors degree nor any degrees. 2. You need to get a certificate. To get a certificate, you need to do some basic learning about day care and test a simple ex...

  • Paintball, Arcade, Concessions, Card Shop, Play Center, Rollerskating???

    try businessplans.com when u write ur plan be sure to include the sec. about insurance

    ...
  • I just started a Daycare Center in South Fl, I need children to come to my school, what can I do? I am new .?

    First, where in S. Fla are you? I live in Ft Lauderdale and from my experience, the daycare centers that really last and do well are the ones with the following: Transportation for elementary ...

  • What do i need if i want to open a bus repair center?

    ...

  •  

    Categories--Copyright/IP Policy--Contact Webmaster