This is a discussion on "table color?" within the Classic ASP section. This forum, and the thread "table color? are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
table color?
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
table color?
I WAS WONDERING HOW TO MAKE MY TABLE(ROW) COLOR TO BE SAME LIKE WEBFORUMZ DOES?
WHAT I HAVE IN MY ASP PAGE RIGHT NOW IS JUST ONE COLOR WHEN I TRIED TO DISPLAY ALL MY DATA IN THE DATABASE USING "REPEAT REGION". WHAT I WANT TO DO IS TO DISPLAY FIRST ROW AS <span style="color:blue">BLUE </span id="blue"> COLOR, AND THE NEXT ROW WILL BE WHITE COLOR, THE THIRD WILL BE <span style="color:blue">BLUE </span id="blue"> AGAIN...AND SO ON... JUST WONDERING...
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
|
|
|
|
|||
|
just use a variable inside the loop that ceates each row;
|
|
||||
|
Or you could use:-
__________________
Rob - SEO Specialist Owner & Founder of Webforumz.com I am currently unavailable for private work
Last Blog Entry: Creative Labs threaten developer over home made drivers.... (Apr 1st, 2008)
|
|
||||
|
or maybe...
just thought I'd join the party...
Last Blog Entry: Random String in Javascript (Apr 21st, 2008)
|
|
||||
|
Thats actually what I do Spinal!
I'll point out though, that unless you are using this on a site-wide level, it's not really worth it.
__________________
Rob - SEO Specialist Owner & Founder of Webforumz.com I am currently unavailable for private work
Last Blog Entry: Creative Labs threaten developer over home made drivers.... (Apr 1st, 2008)
|
|
||||
|
don;t u just love vb script?
Last Blog Entry: Random String in Javascript (Apr 21st, 2008)
|
|
|||
|
rumour is that CSS3 will support this kind of thing with a 'count' function
|
|
||||
|
u sound like the informer from x-files....
hehe
Last Blog Entry: Random String in Javascript (Apr 21st, 2008)
|
|
|||
![]() |
|
|||
|
isn't the informer this guy?
![]() |
|
||||
|
Ok... Are we done here?? lol
__________________
Rob - SEO Specialist Owner & Founder of Webforumz.com I am currently unavailable for private work
Last Blog Entry: Creative Labs threaten developer over home made drivers.... (Apr 1st, 2008)
|
|
|||
|
hey thanx guys, let me try them first!
Errrmmm...Rob, did you forgot something You promise to help me about the ASP TO WORD thing... ASP to MS Word
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
|
|
|||
|
Well guys...I am a bit confuse here
Actually my looping method that i used for my ROW Table seems different from the method that you guys used Acually, this is the code that the software automatically coded for me(macromedia ultradev), I have just to click, click and click... I have learn lots of them especially modifying existing code from WEBFORUMZ I have a hard time to modify the code that you guys gave me... This is the code that i used. It have 1 row and 3 column..(initially) Can you guys show me where should I add the code for the row looping color? <span style="color:blue">This is my LOOPING method!</span id="blue">
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
|
|
|||
|
The looping starts with WHILE and ends with WEND.
|
|
|||
|
Well guys...
I tried to put the variable inside my looping code but it cannot work. Should i write the Response.write before my <tr>?? Can anybody help me or show me how to modify my code please Guide me perhaps...I really need this code to work on my page! Rob, Spinal...?Help me please Thanx Guys
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
|
|
||||
|
the easy way:
Last Blog Entry: Random String in Javascript (Apr 21st, 2008)
|
|
|||
|
Thanx very much spinal...Your code really makes my day brighter!
God bless...
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
|
![]() |
| Tags |
| table, color |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| background-color | kapyrossi | Web Page Design | 5 | Jul 4th, 2007 15:53 |
| link color | somsahi | Web Page Design | 3 | Aug 25th, 2006 17:02 |
| Need to align width of Float table with the table below | Vertabase | Web Page Design | 4 | Mar 8th, 2006 21:21 |
| background color | kaz | Web Page Design | 4 | Aug 4th, 2005 17:28 |
| background color | kaz | Web Page Design | 1 | Apr 20th, 2005 11:43 |