Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Center area post/pages (http://forum.bytesforall.com/forumdisplay.php?f=32)
-   -   [SOLVED] Table Format for a Single Table (http://forum.bytesforall.com/showthread.php?t=8059)

joan Jul 10, 2010 09:28 PM

[SOLVED] Table Format for a Single Table
 
Hi Juggledad et al...
Is it possible to turn off the Atahualpa Table formatting -just for ONE table ? If I add a .style to the CSS Inserts area, how do I turn off the alternate color setting (Zebra row TD style) ?
Kind regards, Joan

juggledad Jul 11, 2010 02:17 PM

when you code your table, give it a unique ID and then style it using that ID as the high level in the selector.

joan Jul 12, 2010 06:31 AM

Thank you very much JuggleDad but still getting the zebra highlighting. I can't seem to see where it's coming from, as I have done the following:

In CSS Inserts area:
#homeTable {background-color: white;}

In the HTML code of the page:
<table id="homeTable" width="440" border="0" cellspacing="0" cellpadding="0" style="margin:0px;">

In Style TABLES area I've set Zebra background to "background: #f4ffe6;" which is what I want for the other tables, but when I "inspect element" on the table I can't see the #f4ffe6 anywhere... Not quite sure if I have made the ID a "high level in the selector" as you suggest.
Any thoughts greatly appreciated. Kind regards, Joan.

juggledad Jul 12, 2010 07:44 AM

You need to set the color on the table CELLS, use this
HTML Code:

#homeTable tr td {background-color: white;}

joan Jul 13, 2010 09:03 AM

Thanks Juggledad - you're a legend. Can you mark this one 'closed/solved' (can't seem to find it myself) -Kind regards, Joan


All times are GMT -6. The time now is 10:24 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.