At 11:29 PM +0200 2/20/08, Yuval Schwartz wrote:
Hello and thank you,
Here is my code if you're interested (it's so that I color every 2nd line in
the text):
Try something like this instead.
In your html:
<tr class="row<?php echo($j++ & 1 );?>">
In your css:
.row0
{
background-color: #B3C6FF; /* blue */
}
.row1
{
background-color: #FFDD75; /* yellow */
}
You're welcome and goodbye.
tedd
--
-------
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php