D
Dave
Hi folks --
This is my first time creating a web page template for a client that
wants to make her own changes to her web site, but needs to do the
markup in Word.
It's not the most elegant solution in the world, but I'm using PHP to
include the Word doc (saved as filtered html) inside a header and a
footer, html/body tags and all. It worked surprisingly well, except I
keep getting a space between the Word-generated page and the footer.
I tracked this down to an html paragraph/font tag set that was being
generated by Word, due to a carriage return after the last table on the
page in the original document. As a test I manually deleted the
paragraph/font tags in the exported html document and it worked fine.
Different story when I tried to delete the carriage return in Word.
Reveal definitely shows a paragraph/CR there, I just can't find a way
to delete it. Selecting it, backspace, nothing worked.
Does Word *have* to have a CR after a table at the end of document? If
so, does it have to export it as a "<p>" tag in html? Any suggestions
are appreciated, especially since I'm so close to making this work.
Thanks!
-- Dave
This is my first time creating a web page template for a client that
wants to make her own changes to her web site, but needs to do the
markup in Word.
It's not the most elegant solution in the world, but I'm using PHP to
include the Word doc (saved as filtered html) inside a header and a
footer, html/body tags and all. It worked surprisingly well, except I
keep getting a space between the Word-generated page and the footer.
I tracked this down to an html paragraph/font tag set that was being
generated by Word, due to a carriage return after the last table on the
page in the original document. As a test I manually deleted the
paragraph/font tags in the exported html document and it worked fine.
Different story when I tried to delete the carriage return in Word.
Reveal definitely shows a paragraph/CR there, I just can't find a way
to delete it. Selecting it, backspace, nothing worked.
Does Word *have* to have a CR after a table at the end of document? If
so, does it have to export it as a "<p>" tag in html? Any suggestions
are appreciated, especially since I'm so close to making this work.
Thanks!
-- Dave