Reply to Re: html 'table bordercolor' browser problem

Your name:

Reply:


Posted by Toby Inkster on 10/10/05 09:41

glittlemore wrote:

> <table bgcolor="#ffffff" border="2" bordercolor="#99ccff"
> cellspacing="2" width="180">

The "bgcolor" attribute is deprecated: avoid it. The "bordercolor"
attribute has never even existed: the fact that it works anywhere is a
miracle.

Use this:

<table cellspacing="2" class="mytablestyle">
....
</table>

and add the following styles to the HEAD of your document:

<STYLE TYPE="text/css">
..mytablestyle {
background: white;
border: 2px solid #99ccff;
width: 180px;
}
..mytablestyle TD, .mytablestyle TH {
background: white;
border: 2px solid #99ccff;
}
</STYLE>

--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact

[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

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