Exporting to web page - how to format columns?

M

Marinarar

I'm am exporting my project to a webpage, and cannot find a place to adjust
column widths. Changing them in the actual plan has no effect on how it
publishes, and all the column widths are inappopriately sized on the webpage.
Help!
 
S

Sarah

Basically, you have to know something about HTML and view and correct
the source code.
 
J

JulieD

Hi

not sure if there's an easier way but i've done it in the past (don't often
find that i have to) by editing the resulting HTML page - open the page in
your browser and choose view / source - the code will open in notepad

e.g. here's three lines from the web page

<!--MSProjectTemplate_TaskTable-->
<TABLE BORDER>
<TR BGCOLOR="#DFDFDF"><TH NOWRAP>ID</TH><TH NOWRAP ALIGN=left><DIV
STYLE="margin-left:4">Task Name</DIV></TH><TH NOWRAP>Duration</TH><TH
NOWRAP>Start</TH><TH NOWRAP>Finish</TH><TH NOWRAP ALIGN=left>Resource
Names</TH><TH NOWRAP>% Complete</TH></TR>

---explaination

<!--MSProjectTemplate_TaskTable--> this is a comment
<TABLE BORDER> this is the start of the table
and the other "line" is the header row of the table
<TH NOWRAP> in here means that this is the start of a cell and text wrapping
is not set
</TH> indicates the end of the cell

now if you change <TH NOWRAP>Duration</TH>
to
<TH NOWRAP Width = 200>Duration</TH> and close and save the html page you
will notice that the duration column has expanded in size.

you can then just play around with the width option in the relevant
columns - you can use numbers e.g. the 200 above which is the number of
pixles or you can use % which is a % of the total table width.

Cheers
JulieD
 
G

Guest

-----Original Message-----
Basically, you have to know something about HTML and view and correct
the source code.

couldn't you use Frontpage to do this. For me using code
is a headache, but using the actual visual page is easier.
 
S

Sarah

You could very well use some web page tool, but I don't see much point
in exporting to a web page, anyway. I think most people probably use it
to share the plan with people who don't have Project installed, but
it's much easier (and less work and neater) to save the view to a PDF
file and share it that way.
 

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

Top