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

Forum statistics

Threads
473,995
Messages
2,570,228
Members
46,818
Latest member
SapanaCarpetStudio

Latest Threads

Top