Asp Page Convert to Word Need to Remove Borders

J

Jess

Hi,

I've created a classic asp page with tables. I use

Response.ContentType ="Application/vnd.ms-word"
Response.AddHeader "Content-Disposition","inline;filename=myWord.doc"

and it creates a word document. The problem is all the tables have borders
around them. How do I make it so the borders don't show. In the web page
cellspacing, cellpadding & border = 0. I even made the bgcolor & bordercolor
= white.

Hmmm!
 
B

Bob Barrows [MVP]

Jess said:
Hi,

I've created a classic asp page with tables. I use

Response.ContentType ="Application/vnd.ms-word"
Response.AddHeader "Content-Disposition","inline;filename=myWord.doc"

and it creates a word document. The problem is all the tables have
borders around them. How do I make it so the borders don't show. In
the web page cellspacing, cellpadding & border = 0. I even made the
bgcolor & bordercolor = white.
Create a word document with the attributes you desire. Save it as html.
Look at the html to see what your asp page has to generate to get the
effect you desire.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,584
Members
45,077
Latest member
SangMoor21

Latest Threads

Top