Click to See Complete Forum and Search --> : html code
cacciarito
03-16-2006, 10:46 PM
I have a word document and I need to convert it to html code for another html editor program. I have done this before, but can't remember the steps I took. I think I used notepad for one of the steps. I do not have FrontPage to edit with. I can only use MS Word; Office Professional 2003. The html editor I downloaded will not allow me to put in the graphics code I have.
Any suggestions?
NogDog
03-16-2006, 11:04 PM
From http://office.microsoft.com/en-us/assistance/HP030852791033.aspx :
1. On the File menu, click Save As.
2. If you have not saved the file before, enter a new name for the file in the File name box.
3. In the Save as type box, click Web Page, Filtered.
4. Click Save.
cacciarito
03-16-2006, 11:12 PM
This does not convert it into code. I need the actual html code. I have pasted an example here:
<P><STRONG><TABLE style="WIDTH: 244px; HEIGHT: 146px" width=244 align=center border=0><TBODY><TR><TD><P><IMG style="WIDTH: 197px; HEIGHT: 76px" height=6 hspace=0 src="https://www.b-there.com/breg/satw06/dallaslogo.jpg" width=224><BR></P></TD></TR></TBODY></TABLE></STRONG></P><P>American Airline Codes: (For any assistance with your codes; please contact Cindy Acciarito at <A href="mailto:cacciarito@dallascvb.com">cacciarito@dallascvb.com</A>) </P><P><TABLE width="100%" border=0><TBODY><TR><TD><STRONG>Letter Number: 112687</STRONG></TD><TD><STRONG>Reference Number: 347519</STRONG></TD></TR></TBODY></TABLE></P><P>Please call or email the American Airlines Redemption Center. When calling; please reference that you are a member of SATW. <STRONG>The last day to book your complimentary airline reservations is March 20, 2006.</STRONG> Complimentary seats are limited and subject to availability. <STRONG>Changes to tickets will result in a change penalty.</STRONG> </P><P><TABLE width="100%" border=0><TBODY><TR><TD> <STRONG><U>American Airlines Redemption Center</U></STRONG> </TD></TR><TR><TD> <STRONG>Telephone Requests:</STRONG> 8 a.m. – 6 p.m. Central Time </TD></TR><TR><TD> <STRONG>Phone:</STRONG> 817-963-5552</TD></TR><TR><TD> <STRONG>American Airlines Contacts:</STRONG> Rebecca Brown or Susan De Ville</TD></TR><TR><TD> <STRONG>Email:</STRONG> <A href="mailto:aatrc@aa.com">aatrc@aa.com</A> </TD></TR><TR><TD> Attention your Email to: Becky Boehm </TD></TR></TBODY></TABLE></P><P><STRONG><EM>Your complimentary airfare can be extended to also cover your travel to these approved pre/post press trip destinations, included are the suggested arrival and departure times:</EM></STRONG> </P><P><STRONG><U>PRE-CONFERENCE</U></STRONG> </P><P><TABLE width="100%" border=0><TBODY><TR><TD><STRONG><U>PR1-Irving/Grapevine</U></STRONG> </TD></TR><TR><TD>Arrive: DFW International Airport before noon on April 16 </TD></TR><TR><TD> </TD></TR><TR><TD><STRONG><U>PR2-Bandera/New Braunfels </U></STRONG></TD></TR><TR><TD>Arrive: San Antonio no later than 2:30 p.m. on April 16 </TD></TR><TR><TD>Depart: San Antonio to DFW International Airport, book the 1:36 p.m. American Airlines flight on April 19</TD></TR><TR><TD> </TD></TR><TR><TD><STRONG><U>PR3-Waco/Austin/Fredericksburg</U></STRONG></TD></TR><TR><TD>Arrive: DFW International Airport early in the morning on April 16; from there the group will travel by bus/van to Waco</TD></TR></TBODY></TABLE></P><P><STRONG><U>POST-CONFERENCE</U></STRONG> </P><P><TABLE width="100%" border=0><TBODY><TR><TD><STRONG><U>PO1-Irving/Grapevine</U></STRONG> </TD></TR><TR><TD>Depart: DFW International Airport after 3 p.m. on April 26 </TD></TR><TR><TD> </TD></TR><TR><TD><STRONG><U>PO2-Waco/Austin/Fredrickburg</U></STRONG> </TD></TR><TR><TD>Depart: DFW International Airport after 5 p.m. on April 26</TD></TR><TR><TD> </TD></TR><TR><TD><STRONG><U>PO3-Amarillo/Panhandle</U></STRONG> </TD></TR><TR><TD>Depart: DFW International Airport on the 12:36 p.m. American Eagle flight to Amarillo on April 23</TD></TR><TR><TD>Depart: Amarillo on any of the 5 flights to DFW International Airport on April 26 </TD></TR><TR><TD> </TD></TR><TR><TD><STRONG><U>PO4-Houston/Galveston/Beaumont</U></STRONG></TD></TR><TR><TD>Depart: DFW International Airport into Houston IAH on 1:48 p.m. American Airlines flight on April 23</TD></TR><TR><TD>Depart: Houston IAH to DFW International Airport on 10:52 a.m. American Airlines flight on April 26 </TD></TR><TR><TD> </TD></TR><TR><TD><STRONG><U>PO5-San Antonio</U></STRONG></TD></TR><TR><TD>Depart: DFW International Airport into San Antonio on the 12:53 p.m. American Airlines flight on April 23 </TD></TR><TR><TD>Depart: San Antonio to DFW International Airport on the 2:07 p.m. American Airlines flight OR the 2:40 p.m. American Airlines flight on April 26</TD></TR><TR><TD> </TD></TR><TR><TD><STRONG><U>PO6-Big Bend</U></STRONG></TD></TR><TR><TD>Depart: DFW International Airport into El Paso on 9:40 am American Airlines flight on April 23 </TD></TR><TR><TD>Depart: Midland on 2:35 p.m. American Airlines flight to DFW International Airport on April 27</TD></TR></TBODY></TABLE></P><P><STRONG>For Questions Regarding Pre and Post Contact: </STRONG></P><P><TABLE width="100%" border=0><TBODY><TR><TD><STRONG> June Naylor </STRONG></TD></TR><TR><TD><STRONG> Phone: 817-239-1634</STRONG></TD></TR><TR><TD><STRONG> Email: </STRONG><A href="mailto:junenaylor@earthlink.com"><STRONG>junenaylor@earthlink.com</STRONG></A> </TD></TR></TBODY></TABLE></P><P> </P>
NogDog
03-16-2006, 11:23 PM
It converts it to HTML. To view it, open it in any text editor (NOT Word), such as Notepad or Wordpad.
cacciarito
03-16-2006, 11:35 PM
I believe I may be finally on the right track. The only problem I have now, is that the logo image I have that is already written in code and I have saved it as a word document (still in code though) won't show up when I add it to the html code in notepad. The logo code is below; got any suggestions?
<P><STRONG><TABLE style="WIDTH: 296px; HEIGHT: 171px" width=296 border=0><TR><TD><P><IMG style="WIDTH: 229px; HEIGHT: 90px" height=6 hspace=0 src="https://www.b-there.com/breg/satw06/dallaslogo.jpg" width=224 <P><BR></P></TD></TR></TABLE></STRONG></P>
cacciarito
03-17-2006, 12:15 AM
I have the Jpeg file. Can you take an image and change it to html code as I have shown before?
ray326
03-17-2006, 11:05 AM
You just reference it in an <img> tag.
cacciarito
03-17-2006, 12:41 PM
It already has an img tag.
<P><STRONG><TABLE style="WIDTH: 296px; HEIGHT: 171px" width=296 border=0><TR><TD><P><IMG style="WIDTH: 229px; HEIGHT: 90px" height=6 hspace=0 src="https://www.b-there.com/breg/satw06/dallaslogo.jpg" width=224 <P><BR></P></TD></TR></TABLE></STRONG></P>
The image will place in the html editor for this particular program, but it will not show the image. There is only a box with a red "x" in the upper left corner of the box. Any ideas on how to get the image to display?
ray326
03-17-2006, 08:52 PM
Well you can't put a table in a paragraph and you can't put a table in a strong. In the style you've set a 90px height but the height attribute is set for 9 px. The widths don't match either. It's tough to say anything for sure because your HTML is invalid and unreadable.
cacciarito
03-17-2006, 09:13 PM
Well, thanks for your input. I managed to figure it out and get it to work. So I guess the program I am using can read it even though it may be invalid. I appreciate your help.