Reply to Re: tables in firefox!!

Your name:

Reply:


Posted by Jonathan N. Little on 11/06/05 18:46

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; }

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com

[Back to original 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

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