You are here: Re: tables in firefox!! « HTML « IT news, forums, messages
Re: tables in firefox!!

Posted by dorayme on 11/07/05 00:50

> From: "Jonathan N. Little" <lws4art@centralva.net>
>
> miguelco01blue@gmail.com wrote:
>> here is the code:
>>
>> <table width="266" height="263" border="1" cellpadding="1"
>> cellspacing="0" bordercolor="#FF0066">
>> <tr>
>> <th colspan="8" scope="col">&nbsp;</th>
>> </tr>
>> <tr>
>> <th colspan="4" scope="row">&nbsp;</th>
>> <td colspan="4">&nbsp;</td>
>> </tr>
>> <tr>
>> <th colspan="8" scope="row">&nbsp;</th>
>> </tr>
>> </table>
>>
> That's because there really isn't an attribute 'bordercolor' for the
> table element:
>
> Tables in HTML documents
> http://www.w3.org/TR/html4/struct/tables.html#edef-TABLE
>
> Try styling it with CSS, For just the TABLE element
>
> TABLE { border: 1px solid #FF0066 }
>
> If you want the cell borders the same then:
>
> TABLE, TH, TD { border: 1px solid #FF0066 }
>
> Yes, you can have a different border surrounding the table than its
> internal cells:
>
> TABLE { border: 3px outset blue; }
> TH, TD { border: 3px solid red; }
>

Strikes me that maybe another way to go for the OP is to have no
border at all on the table itself, just td borders, something I
do myself quite often. With or without cell spacing (done either
css or cellspacing ="#" in the <table...>. The OP can adapt your
good sounding advice to the td if he wants?

--
dorayme

 

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

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