Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   HTML (http://www.velocityreviews.com/forums/f31-html.html)
-   -   Tables (http://www.velocityreviews.com/forums/t162064-tables.html)

Jon Jervis 06-18-2005 03:34 PM

Tables
 
Just wondering whether or not I can change the alignment / colour etc of all
the individual cells within a table at once rather than adding "align /
color" tabs to every single one? I just want to <align="centre"> about 500
cells in one colour!!

Thanks for any help.

Jon.



Els 06-18-2005 03:51 PM

Re: Tables
 
Jon Jervis wrote:

> Just wondering whether or not I can change the alignment / colour etc of all
> the individual cells within a table at once rather than adding "align /
> color" tabs to every single one? I just want to <align="centre"> about 500
> cells in one colour!!
>
> Thanks for any help.
>
> Jon.


HTML:

<table class="someclass">
<tr><td>...</td></tr>
<tr><td>...</td></tr>
<tr><td>...</td></tr>
...etc..
</table

CSS:

table.someclass td{
background-color:purple;
color:yellow;
text-align:center;
}


--
Els http://locusmeus.com/
Sonhos vem. Sonhos vo. O resto imperfeito.
- Renato Russo -
Now playing: The Scene - Alcohol En Tranen

Jon 06-18-2005 06:57 PM

Re: Tables
 
Kewl! Thanks for your help.
Jon.


"Jon Jervis" <jon_uk36@yahoo.co.uk> wrote in message
news:1119108879.23251.0@lotis.uk.clara.net...
> Just wondering whether or not I can change the alignment / colour etc of
> all the individual cells within a table at once rather than adding "align
> / color" tabs to every single one? I just want to <align="centre"> about
> 500 cells in one colour!!
>
> Thanks for any help.
>
> Jon.
>
>





All times are GMT. The time now is 02:42 PM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.