> thanks again.. but last question do i need to have a
> function to print the data of the page?
If that's what makes you happy
<input type="button" name="print" value="Print" onclick="printPage()"/>
[code]<script>
function printPage(){
javascript:window.print();
}
</script>
Note it has the exact functionality as the earlier post.
ram.