I would like to have every second links background color to be grey but in the displaylinks.tpl makes the whole table grey or white etc... and not every second link. Is their a way t write an IF statement like IF linkid is odd then make background color f7f7f7 or am I going to have to edit the style.css. Not sure how to do either. I would like to do this to break up the links so users don't go cross eyed from the white background I have now.
Comments on Bg colors
Member
Usergroup: Customer
Joined: Feb 01, 2006
Total Topics: 4
Total Comments: 14
I would like to have every second links background color to be grey but in the displaylinks.tpl makes the whole table grey or white etc... and not every second link. Is their a way t write an IF statement like IF linkid is odd then make background color f7f7f7 or am I going to have to edit the style.css. Not sure how to do either. I would like to do this to break up the links so users don't go cross eyed from the white background I have now.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Member
Usergroup: Customer
Joined: Feb 01, 2006
Total Topics: 4
Total Comments: 14
Well that looks splendid, but what am I supposed to do with that piece of code?
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Place it in your template where you want to show your even/odd html.
If you're confused by it being PHP instead of a conditional, read scripts.webmastersite.net/w...inks/wsnmanual/articles/16