We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you a podcast all about Citrix Workspace, moving to the cloud, and analytics & intelligence. Episode 2 coming soon!Listen Now

x

Creating a Table with different columns and rows

Mighty_Ed
Mighty_Ed asked
on
Medium Priority
440 Views
Last Modified: 2008-02-01
Hello there !!

I need to create a table that looks exactly or almost the same as the one here:

www.aml.com.mx/staff.php

The thing is that I need to create this page but in text instead of using images. How can I create it?

Please is urgent.
If you give me the code and steps, I'll give you 500 points instead of 250
Comment
Watch Question

ThinkPaperIT Consultant

Commented:
Rather than giving you code straight out.. here's a relatively simple example of what you're looking for. It's basic HTML code.. you may want to look into it further.

<table border="0"  cellspacing="0" width="100%">
<tr>
  <td colspan="3" bgcolor="#EDE1E0">Title</td>
</tr>
<tr>
  <td>Name1<br>Name2</td>
  <td>Name3<br>Name4</td>
  <td>Name5</td>
</tr>
</table>
this is the best I could do, but the fonts they were using in those images
are not one of standard fonts (I've checked with the simple OCR utility
that has scanned all of my fonts for easier recognition, and none of the
fonts matched)

here is the code:



<HTML>

<HEAD>
      <STYLE>
            .table_caption {
                  color: #BAB0AA;
                  font-size: 28px;
                  font-weight:bold;
                  height: 50;
            }
            .cell_caption {
                  color: #FF7200;
                  font-family: Arial, Helvetica, sans-serif;
                  font-size: 14px;
                  font-weight: bold;
            }
            .cell_text {
                  color: #FF7200;
                  font-family: Arial, Helvetica, sans-serif;
                  font-size: 11px;
            }
            .cell_mark {
                  color: #BAB0AA;
                  font-size: 12px;
            }
      </STYLE>
</HEAD>

<BODY>
<TABLE cellspacing=0 width=450>
      <TR>
            <TD colspan=6 class="table_caption"><b>Professional Staff</b></TD>
      </TR>

      <TR class="cell_caption">
            <TD colspan=6 bgcolor="#F3EFEE">Partners</TD>
      </TR>
      <TR bgcolor="#F3EFEE" class="cell_text">
            <TD class="cell_mark">&gt;&gt;</TD>
            <TD>Roberto Arochi</TD>
            <TD class="cell_mark">&gt;&gt;</TD>
            <TD>Maria Teresa Eljure</TD>
            <TD class="cell_mark">&gt;&gt;</TD>
            <TD>Mike Margain</TD>
      </TR>
      <TR bgcolor="#F3EFEE" class="cell_text">
            <TD class="cell_mark">&gt;&gt;</TD>
            <TD>Hedwig Lindner</TD>
            <TD class="cell_mark">&gt;&gt;</TD>
            <TD>Jorge Mier y Concha</TD>
            <TD></TD>
            <TD></TD>
      </TR>

      <TR class="cell_caption">
            <TD colspan=6 bgcolor=white>Associates</TD>
      </TR>
      <TR bgcolor=white class="cell_text">
            <TD class="cell_mark">&gt;&gt;</TD>
            <TD>Adriana Lastiri</TD>
            <TD class="cell_mark">&gt;&gt;</TD>
            <TD>Claudia Arrache</TD>
            <TD class="cell_mark">&gt;&gt;</TD>
            <TD>Karl Tessmann</TD>
      </TR>
      <TR bgcolor=white class="cell_text">
            <TD class="cell_mark">&gt;&gt;</TD>
            <TD>Aldo de Landa</TD>
            <TD class="cell_mark">&gt;&gt;</TD>
            <TD>Francisco Capetillo</TD>
            <TD class="cell_mark">&gt;&gt;</TD>
            <TD>Nahanny Canal</TD>
      </TR>
      <TR bgcolor=white class="cell_text">
            <TD class="cell_mark">&gt;&gt;</TD>
            <TD>Alfredo Medina</TD>
            <TD class="cell_mark">&gt;&gt;</TD>
            <TD>Francisco Garza</TD>
            <TD class="cell_mark">&gt;&gt;</TD>
            <TD>Ricardo Sanguino</TD>
      </TR>
      <TR bgcolor=white class="cell_text">
            <TD class="cell_mark">&gt;&gt;</TD>
            <TD>Beatriz Martinez</TD>
            <TD class="cell_mark">&gt;&gt;</TD>
            <TD>John Murphy</TD>
            <TD></TD>
            <TD></TD>
      </TR>

      <TR class="cell_caption">
            <TD colspan=6 bgcolor="#F3EFEE">Associates</TD>
      </TR>
      <TR bgcolor="#F3EFEE" class="cell_text">
            <TD class="cell_mark">&gt;&gt;</TD>
            <TD>Alejandro Mendiola</TD>
            <TD class="cell_mark">&gt;&gt;</TD>
            <TD>Inti Alva</TD>
            <TD class="cell_mark">&gt;&gt;</TD>
            <TD>Jorge Gomez</TD>
      </TR>
      <TR bgcolor="#F3EFEE" class="cell_text">
            <TD class="cell_mark">&gt;&gt;</TD>
            <TD>Andres Aguilar</TD>
            <TD class="cell_mark">&gt;&gt;</TD>
            <TD>Joel Gomez</TD>
            <TD class="cell_mark">&gt;&gt;</TD>
            <TD>Manuel Morante</TD>
      </TR>
      <TR bgcolor="#F3EFEE" class="cell_text">
            <TD class="cell_mark">&gt;&gt;</TD>
            <TD>Diana Martinez</TD>
            <TD class="cell_mark">&gt;&gt;</TD>
            <TD>Juan Carlos Reyes</TD>
            <TD></TD>
            <TD></TD>
      </TR>

      <TR class="cell_caption">
            <TD colspan=6 bgcolor=white>Technical Proffesionals</TD>
      </TR>
      <TR bgcolor=white class="cell_text">
            <TD class="cell_mark">&gt;&gt;</TD>
            <TD>Georgina Pimentel</TD>
            <TD class="cell_mark">&gt;&gt;</TD>
            <TD>Juan Rodrigo Pimentel</TD>
            <TD></TD>
            <TD></TD>
      </TR>

      <TR class="cell_caption">
            <TD colspan=6 bgcolor="#F3EFEE">Paraproffesionals</TD>
      </TR>
      <TR bgcolor="#F3EFEE" class="cell_text">
            <TD class="cell_mark">&gt;&gt;</TD>
            <TD>Paralegals</TD>
            <TD class="cell_mark">&gt;&gt;</TD>
            <TD>Law Clerks</TD>
            <TD></TD>
            <TD></TD>
      </TR>

      <TR class="cell_caption">
            <TD colspan=6 bgcolor=white>Support Personnel</TD>
      </TR>
      <TR bgcolor=white class="cell_text">
            <TD class="cell_mark">&gt;&gt;</TD>
            <TD>Office Administration</TD>
            <TD class="cell_mark">&gt;&gt;</TD>
            <TD>Administrative Assistants</TD>
            <TD></TD>
            <TD></TD>
      </TR>

</TABLE>
</BODY>

</HTML>

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts

Author

Commented:
How can I make the names to be a link to another page?
instead
<TD>Georgina Pimentel</TD>

write
<TD><A href="http://link_to_other_page/page.html">Georgina Pimentel</A></TD>

Author

Commented:
thanks for your help guys
This will make your links blue (underline). If you want to avoid it, change:

      .cell_text {
           color: #FF7200;
           font-family: Arial, Helvetica, sans-serif;
           font-size: 11px;
      }

into:

    .cell_text, .cell_text a, cell_text a:visited {
      color: #FF7200;
      font-family: Arial, Helvetica, sans-serif;
      font-size: 11px;
      text-decoration: none;
    }

Author

Commented:
Just one more question, The link is underlined and the color set to blue. How can I make the text to link exactly how it was before?
Thanks

Author

Commented:
thanks again !!!
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.