You are here: Re: Maintaining aspect ratio of a table « HTML « IT news, forums, messages
Re: Maintaining aspect ratio of a table

Posted by Cogito on 03/28/07 09:09

On Wed, 28 Mar 2007 10:26:00 +0300, "Jukka K. Korpela"
<jkorpela@cs.tut.fi> wrote:

>Scripsit Cogito:
>
>> I've constructed a table to look like a chessboard.
>
>And what's the URL? The way in which you have written the table is more than
>all-important.

Here is the table:


<html>

<style>
..text {BACKGROUND-COLOR: #F5DEB3; text-align:center; FONT-FAMILY:
ariel; FONT-SIZE: 11pt; font-weight:bold; color: #000080;}
..dark {BACKGROUND-COLOR: #B0C4DE; text-align:center; FONT-FAMILY:
ariel; FONT-SIZE: 11pt; font-weight:bold;}
..light {BACKGROUND-COLOR: #eeeedd; text-align:center; FONT-FAMILY:
ariel; FONT-SIZE: 11px; font-weight:bold;}
</style>

<table border=0 cellspacing=1 cellpadding=1 width="15%">
<tr>
<td class='dark'>1</td><td class='light'>2</td>
<td class='dark'>3</td><td class='light'>4</td>
<td class='dark'>5</td><td class='light'>6</td>
<td class='dark'>7</td><td class='light'>8</td>
</tr>
<tr>
<td class='dark'>1</td><td class='light'>2</td>
<td class='dark'>3</td><td class='light'>4</td>
<td class='dark'>5</td><td class='light'>6</td>
<td class='dark'>7</td><td class='light'>8</td>
</tr>
<tr>
<td class='dark'>1</td><td class='light'>2</td>
<td class='dark'>3</td><td class='light'>4</td>
<td class='dark'>5</td><td class='light'>6</td>
<td class='dark'>7</td><td class='light'>8</td>
</tr>
<tr>
<td class='dark'>1</td><td class='light'>2</td>
<td class='dark'>3</td><td class='light'>4</td>
<td class='dark'>5</td><td class='light'>6</td>
<td class='dark'>7</td><td class='light'>8</td>
</tr>
<tr>
<td class='dark'>1</td><td class='light'>2</td>
<td class='dark'>3</td><td class='light'>4</td>
<td class='dark'>5</td><td class='light'>6</td>
<td class='dark'>7</td><td class='light'>8</td>
</tr>
<tr>
<td class='dark'>1</td><td class='light'>2</td>
<td class='dark'>3</td><td class='light'>4</td>
<td class='dark'>5</td><td class='light'>6</td>
<td class='dark'>7</td><td class='light'>8</td>
</tr>
<tr>
<td class='dark'>1</td><td class='light'>2</td>
<td class='dark'>3</td><td class='light'>4</td>
<td class='dark'>5</td><td class='light'>6</td>
<td class='dark'>7</td><td class='light'>8</td>
</tr>
<tr>
<td class='dark'>1</td><td class='light'>2</td>
<td class='dark'>3</td><td class='light'>4</td>
<td class='dark'>5</td><td class='light'>6</td>
<td class='dark'>7</td><td class='light'>8</td>
</tr>
</table>


</html>

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация