- From: Rui del-Negro <w3validator@dvd-hq.info>
- Date: Fri, 15 Dec 2006 14:58:50 -0000
- To: "Pete Clowes" <pete@internetbusinessdirectory.co.uk>
- Cc: www-validator@w3.org
> <table align="left" border="1" bordercolor="maroon" cellpadding="0" > cellspacing="0" width="780"> > > Currently the above page does not show this in order to remain valid > html 4.01, but it works fine with the code added to give the maroon > border colour I want. > > Can you please advise how I can have my maroon border and still be valid > 4.01 code. Simple, put all "presentational" stuff in CSS. For example: <table style="text-align:left; border:1px solid maroon; padding:0px; border-spacing:0px; width:780px;"> Or, even better, create a CSS class for your table (inside the head element) and just assign it: <table class="mystyle"> RMN ~~~
Received on Friday, 15 December 2006 14:59:23 UTC