| IDM | Intranet eXchange |
| [ Home | Post | Register/Awards | Find | F A Q | Archive ] | |
|
| Re: Table background..[ Follow Ups ] [ Post Followup ] [ Intranet eXchange ] [ IDM Home ]
Posted by Mark Wray on August 10, 2000 at 5:16:47: In Reply to: Re: Table background.. posted by C.Davies on August 10, 2000 at 5:1:27:Chris - Ok it looks like a couple of things are going on. Whether an oversight or if you just choose not to show it here, you are missing an opening table tag that defines the bgcolor in the above example. I see you defined a bgcolor for the first row, but not for the actual table. Also, I'm not too familiar w/ PHP, but it looks like that using the above code as is, you are closing the table with each call to the while statement (ie; after each rendered row). Shouldnt you be closing (exiting) the while loop before rendering the closing table tag? Using your example code, I would open a table tag (w/ bgcolor defined), then begin my loop, exit the loop and then close the table. Take a look at the rendered source code in NS (not the code your writing, but the code that results from a "view source" on the page and check that for syntax and well-formedness. It may show where the error is. btw: its nice to see your double quoting your attributes! hth
Post a Followup |
[ Follow Ups ] [ Post Followup ] [ Intranet eXchange ] [ IDM Home ]