it's probably ok to be doing that in the adp but it might be better in the .tcl file. When you do a view source in your browser how does the resulting html look?
Brian