Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Web Authoring / October 2004

Tip: Looking for answers? Try searching our database.

Problems with getting Backgrounds in WORD.docs to appear in HTML docs . . . .

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jeannine Reynolds - 08 Oct 2004 19:02 GMT
Dear Mentor:

   Please find the following information (listed below)
for references to my issue  . . . .  

My problem is that I cannot get
   my background image to load or appear on my HTML/XML
document once I have created it via MS WORD's Web Publish
   feature.  I appreciate anything that you can assist me
with in order to make this happen.  I do realize that the
image I'm
   currently using is a bitmap (and I have saved a GIF as
well which doesn't look very well once saved).  But I'm
just trying
   to make sure that my coding isn't the problem.  I will
fix the image later.  And yes - do realize that 'full
page' backgrounds
   are not recommended for web pages regardless of format
(GIFs, JPEGs, BMPs, etc.) due to the fact that it slows
down
   the load time.  I have explained all of this to the
client that I'm working for, but they are wanting me to
try this anyway.  I have
   not uploaded this file to our website (Intranet) yet
since I'm still working on it.  Therefore, I have the
HTML/XML document
   currently saved on my local hard-drive for now.

   Thank you for your time and assistance (in advance)!

   Sincerely,

   Jeannine Reynolds
   
***********************************************************
***********************************************************
****************************************************

'Background Images" section was from the following
website:  http://books.evc-cit.info/ch04.php#image-body-
info-section

'The Code from my document" section was from my HTML/XML
document that I have created and saved on my hard-drive
for the WORD.doc file I'm currently using.      

HTML Goodies website give this code for HTML (which they
say to place in the <body> section of the code:  <BODY
BACKGROUND="image.gif">
http://www.htmlgoodies.com/tutors/backgrnd.html

Background Images
A background image is entirely described in the style
portion of your document. You need to put a
<style:background-image> element within the
<style:properties> element. This element will have
xlink:href, xlink:actuate, and xlink:type attributes as
described in the section called "Body Information for
Images in Text" <ch04.php> (even though the attributes are
in the style section, not the body section), and
draw:transparency, ranging from 0% to 100%.
The <style:background-image> has the following additional
properties:
style:repeat
The background image can be tiled repeat, stretched to fit
the frame stretch, or appear at its normal size no-repeat.
style:position
If the background image is not repeated, then you have to
tell where it should be placed within the frame. The value
of this attribute consists of two whitespace-separated
values giving the vertical position of the image (top,
bottom, or center) and horizontal position of the image
(left, right, or center).
   
***********************************************************
***********************************************************
****************************************************

The code for my document is:

<html xmlns:v="urn:schemas-microsoft-com:vml"
xmlns:o="urn:schemas-microsoft-com:office:office"
xmlns:w="urn:schemas-microsoft-com:office:word"
xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html;
charset=windows-1252">
<meta name=ProgId content=Word.Document>
<meta name=Generator content="Microsoft Word 9">
<meta name=Originator content="Microsoft Word 9">
<link rel=File-List href="./Micro-
Mfg_Goals_files/filelist.xml">
<link relíit-Time-Data href="./Micro-
Mfg_Goals_files/editdata.mso">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
..shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<title>New Manufacturing Technology Development</title>
<!--[if gte mso 9]><xml>
<o:DocumentProperties>
 <o:Author>usonuku</o:Author>
 <o:LastAuthor>jreynol9</o:LastAuthor>
 <o:Revision>2</o:Revision>
 <o:TotalTime>2</o:TotalTime>
 <o:Created>2004-10-08T15:25:00Z</o:Created>
 <o:LastSaved>2004-10-08T15:25:00Z</o:LastSaved>
 <o:Pages>1</o:Pages>
 <o:Words>46</o:Words>
 <o:Characters>264</o:Characters>
 <o:Company>Johnson &amp; Johnson</o:Company>
 <o:Lines>2</o:Lines>
 <o:Paragraphs>1</o:Paragraphs>
 <o:CharactersWithSpaces>324</o:CharactersWithSpaces>
 <o:Version>9.6926</o:Version>
</o:DocumentProperties>
</xml><![endif]--><!--[if gte mso 9]><xml>
<w:WordDocument>
 <w:Zoom>0</w:Zoom>
</w:WordDocument>
</xml><![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
    {font-family:Impact;
    panose-1:2 11 8 6 3 9 2 5 2 4;
    mso-font-charset:0;
    mso-generic-font-family:swiss;
    mso-font-pitch:variable;
    mso-font-signature:647 0 0 0 159 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
    {mso-style-parent:"";
    margin:0in;
    margin-bottom:.0001pt;
    mso-pagination:widow-orphan;
    font-size:12.0pt;
    font-family:"Times New Roman";
    mso-fareast-font-family:"Times New Roman";}
h1
    {mso-style-next:Normal;
    margin:0in;
    margin-bottom:.0001pt;
    mso-pagination:widow-orphan;
    page-break-after:avoid;
    mso-outline-level:1;
    font-size:16.0pt;
    mso-bidi-font-size:12.0pt;
    font-family:Impact;
    color:maroon;
    mso-font-kerning:0pt;
    font-weight:normal;
    font-style:italic;
    text-decoration:underline;
    text-underline:single;}
h2
    {mso-style-next:Normal;
    margin:0in;
    margin-bottom:.0001pt;
    mso-pagination:widow-orphan;
    page-break-after:avoid;
    mso-outline-level:2;
    font-size:16.0pt;
    mso-bidi-font-size:12.0pt;
    font-family:"Times New Roman";
    color:blue;
    font-style:italic;
    text-decoration:underline;
    text-underline:single;}
h3
    {mso-style-next:Normal;
    margin-top:0in;
    margin-right:0in;
    margin-bottom:0in;
    margin-left:.5in;
    margin-bottom:.0001pt;
    mso-pagination:widow-orphan;
    page-break-after:avoid;
    mso-outline-level:3;
    font-size:14.0pt;
    mso-bidi-font-size:12.0pt;
    font-family:"Times New Roman";
    color:#333333;
    font-style:italic;
    text-decoration:underline;
    text-underline:single;}
h4
    {mso-style-next:Normal;
    margin:0in;
    margin-bottom:.0001pt;
    mso-pagination:widow-orphan;
    page-break-after:avoid;
    mso-outline-level:4;
    font-size:20.0pt;
    mso-bidi-font-size:12.0pt;
    font-family:"Times New Roman";
    color:maroon;}
p.MsoHeader, li.MsoHeader, div.MsoHeader
    {margin:0in;
    margin-bottom:.0001pt;
    mso-pagination:widow-orphan;
    tab-stops:center 3.0in right 6.0in;
    font-size:12.0pt;
    font-family:"Times New Roman";
    mso-fareast-font-family:"Times New Roman";}
p.MsoFooter, li.MsoFooter, div.MsoFooter
    {margin:0in;
    margin-bottom:.0001pt;
    mso-pagination:widow-orphan;
    tab-stops:center 3.0in right 6.0in;
    font-size:12.0pt;
    font-family:"Times New Roman";
    mso-fareast-font-family:"Times New Roman";}
p.MsoBodyText, li.MsoBodyText, div.MsoBodyText
    {margin:0in;
    margin-bottom:.0001pt;
    text-align:center;
    mso-pagination:widow-orphan;
    font-size:24.0pt;
    mso-bidi-font-size:12.0pt;
    font-family:Impact;
    mso-fareast-font-family:"Times New Roman";
    mso-bidi-font-family:"Times New Roman";
    color:purple;
    font-weight:bold;
    font-style:italic;}
@page Section1
    {size:11.0in 8.5in;
    mso-page-orientation:landscape;
    margin:1.0in 1.0in 1.0in 1.0in;
    mso-header-margin:.5in;
    mso-footer-margin:.5in;
    mso-vertical-page-align:middle;
    mso-header:url("./Micro-
Mfg_Goals_files/header.htm") h1;
    mso-paper-source:0;}
div.Section1
    {page:Section1;}
/* List Definitions */
@list l0
    {mso-list-id:152765218;
    mso-list-type:hybrid;
    mso-list-template-ids:-1454621740 67698689
67698691 67698693 67698689 67698691 67698693 67698689
67698691 67698693;}
@list l0:level1
    {mso-level-number-format:bullet;
    mso-level-text:\F0B7;
    mso-level-tab-stop:.5in;
    mso-level-number-position:left;
    text-indent:-.25in;
    font-family:Symbol;}
ol
    {margin-bottom:0in;}
ul
    {margin-bottom:0in;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="9218"/>
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
 <o:idmap v:ext="edit" data="1"/>
</o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-US style='tab-interval:.5in'>

<div class=Section1>

<p class=MsoBodyText><span style='font-size:32.0pt;mso-
bidi-font-size:12.0pt;
font-family:"Times New Roman";color:blue;font-
style:normal'>Pro-Active
Manufacturing<o:p></o:p></span></p>

<p class=MsoBodyText><span style='font-size:32.0pt;mso-
bidi-font-size:12.0pt;
font-family:"Times New Roman";color:blue;font-
style:normal'>Technology
Development</span><span style='font-size:36.0pt;mso-bidi-
font-size:12.0pt;
font-family:"Times New Roman";color:blue;font-
style:normal'><o:p></o:p></span></p>

<p class=MsoNormal alignÎnter style='text-
align:center'><b><span
style='font-size:24.0pt;mso-bidi-font-
size:12.0pt;color:purple'><![if !supportEmptyParas]
>&nbsp;<![endif]><o:p></o:p></span></b></p>

<h4><span style='font-size:18.0pt;mso-bidi-font-
size:12.0pt;color:red'>GOALS<o:p></o:p></span></h4>

<p class=MsoNormal><span style='font-size:16.0pt;mso-bidi-
font-size:12.0pt'><![if !supportEmptyParas]>&nbsp;<![endif]
><o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.5in;text-indent:-
..25in;mso-list:l0 level1 lfo2;
tab-stops:list .5in'><![if !supportLists]><span
style='font-size:16.0pt;
mso-bidi-font-size:12.0pt;font-family:Symbol'>·<span
style='font:7.0pt "Times New
Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span><![endif]><span style='font-size:16.0pt;mso-
bidi-font-size:12.0pt'>To
create a roadmap for systematic and pro-active development
of manufacturing
technologies for EES' new products.<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.5in;text-indent:-
..25in;mso-list:l0 level1 lfo2;
tab-stops:list .5in'><![if !supportLists]><span
style='font-size:16.0pt;
mso-bidi-font-size:12.0pt;font-family:Symbol'>·<span
style='font:7.0pt "Times New
Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span><![endif]><span style='font-size:16.0pt;mso-
bidi-font-size:12.0pt'>Pilot
the roadmap on new products for InScope</span><span
style='font-size:16.0pt;
mso-bidi-font-size:12.0pt;font-family:Symbol;mso-ascii-
font-family:"Times New Roman";
mso-hansi-font-family:"Times New Roman";mso-char-
type:symbol;mso-symbol-font-family:
Symbol'><span style='mso-char-type:symbol;mso-symbol-font-
family:Symbol'>Ô</span></span><span
style='font-size:16.0pt;mso-bidi-font-size:12.0pt'>
Franchise (GI).<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.5in;text-indent:-
..25in;mso-list:l0 level1 lfo2;
tab-stops:list .5in'><![if !supportLists]><span
style='font-size:16.0pt;
mso-bidi-font-size:12.0pt;font-family:Symbol'>·<span
style='font:7.0pt "Times New
Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span><![endif]><span style='font-size:16.0pt;mso-
bidi-font-size:12.0pt'>Expand
the roadmap to other EES franchises.<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.5in;text-indent:-
..25in;mso-list:l0 level1 lfo2;
tab-stops:list .5in'><![if !supportLists]><span
style='font-size:16.0pt;
mso-bidi-font-size:12.0pt;font-family:Symbol'>·<span
style='font:7.0pt "Times New
Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span><![endif]><span style='font-size:16.0pt;mso-
bidi-font-size:12.0pt'>Institutionalize
the process within EES.<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.25in'><![if !
supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></p>

</div>

</body
Bob   Buckland ?:-\) - 08 Oct 2004 23:23 GMT
Hi Jeannine,

You appear to be using Word 2000(v9)

To add a background graphic in Word 2000 for a web document
you can use Format=>Background=>Fill Effects=>Picture
and select your picture.  It will automatically create the
HTML code needed and tile the graphic.

=========
Dear Mentor:

   Please find the following information (listed below)
for references to my issue  . . . .

My problem is that I cannot get
   my background image to load or appear on my HTML/XML
document once I have created it via MS WORD's Web Publish
   feature.  I appreciate anything that you can assist me
with in order to make this happen.  I do realize that the
image I'm
   currently using is a bitmap (and I have saved a GIF as
well which doesn't look very well once saved).  But I'm
just trying
   to make sure that my coding isn't the problem.  I will
fix the image later.  And yes - do realize that 'full
page' backgrounds
   are not recommended for web pages regardless of format
(GIFs, JPEGs, BMPs, etc.) due to the fact that it slows
down
   the load time.  I have explained all of this to the
client that I'm working for, but they are wanting me to
try this anyway.  I have
   not uploaded this file to our website (Intranet) yet
since I'm still working on it.  Therefore, I have the
HTML/XML document
   currently saved on my local hard-drive for now.

   Thank you for your time and assistance (in advance)!

   Sincerely,

   Jeannine Reynolds >>
Signature

Let us know if this helped you,

Bob  Buckland  ?:-)
MS Office System Products MVP

 *Courtesy is not expensive and can pay big dividends*

Office 2003 Editions explained
http://www.microsoft.com/uk/office/editions.mspx


Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.