Frontpage and Wordpress - Copying HTML

3 replies
  • WEB DESIGN
  • |
Hey guys,

So I was making a page for my wordpress website and I copy and pasted the HTML from Frontpage onto Wordpress... When I go to visual everything is outta place and looks like death.... anyone know why this is? I love word press but it's so hard to make a nice Home page using their stuff.

Thanks,
Tommy Mac

If your wondering what HTML I'm copy and pasting here it is... This is the Fontpage HTML that I'm trying to put on wordpress

<html>

<head>
<meta http-equiv="Content-Language" content="en-us">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>New Page 1</title>
</head>

<body bgcolor="#FFFFFF">

<p class="MsoNormal">&nbsp;</p>
<p class="MsoNormal">&nbsp;</p>
<p class="MsoNormal">
<img border="0" src="file:///C:/Documents%20and%20Settings/Tom%20McNicholas/My%20Documents/My%20Pictures/how-to-become-a-real-estate-agent.gif" width="209" height="253"><img border="0" src="file:///C:/DOCUME~1/TOMMCN~1/LOCALS~1/Temp/FrontPageTempDir/wpe3.jpg" width="102" height="127">
<img border="0" src="file:///C:/Documents%20and%20Settings/Tom%20McNicholas/My%20Documents/My%20Pictures/real_estate_sign.gif" width="196" height="237"></p>
<p class="MsoNormal" align="left">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<b><font size="5">Maurice L. Hampton</font></b></p>
<p class="MsoNormal" align="left"><b><span style="font-size: 12pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb sp;&nbsp;
National Admissions Advisor</span></b></p>
<p class="MsoNormal" align="left"><span style="font-size: 12pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& nbsp;&nbsp;
<font face="Monotype Corsiva">American InterContinental University Online</font></span></p>
<p class="MsoNormal" align="left"><font face="Monotype Corsiva">
<span style="font-size: 12pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
5550 Prairie Stone Parkway Suite 130</span></font></p>
<p class="MsoNormal" align="left"><font face="Monotype Corsiva">
<span style="font-size: 12pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;
Hoffman Estates, IL 60192</span></font></p>
<p class="MsoNormal" align="left"><font face="Monotype Corsiva">
<span style="font-size: 12pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;
Direct line: 1-773-272-7380</span></font></p>
<p class="MsoNormal" align="left"><font face="Monotype Corsiva">
<span style="font-size: 12pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Toll free: 1-877-701-3800 ext. 27380</span></font></p>
<p class="MsoNormal" align="left"><font face="Monotype Corsiva">
<span style="font-size: 12pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;&nbsp;
Direct Fax: 1-773-572-3956</span></font></p>
<p class="MsoNormal" align="left"><font face="Monotype Corsiva">
<span style="font-size: 12pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="mailtoBradley@aiuonline.edu" target="_blank">Mhampton@aiuonline.edu</a></span></font></p>
<p align="left">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<img border="0" src="file:///C:/DOCUME~1/TOMMCN~1/LOCALS~1/Temp/FrontPageTempDir/wpe2.jpg" width="231" height="185"></p>

</body>

</html>
#copying #frontpage #html #wordpress
  • Profile picture of the author Abledragon
    You haven't give us your DOCTYPE declaration, but the first point is that the code above is not XHTML - which is what WordPress uses.

    The next point is that you're referencing CSS classes which are probably not in your CSS file - e.g. <p class="MsoNormal">. If it's not in your theme's CSS file WordPress will ignore it.

    In more general terms, WordPress has a bunch of HTML filters built in, so if you want to do pure HTML coding (XHTML!) you need to either add a plugin that gets around the filters or disable the Visual view.

    My suggestion is that you use the Visual view to do as much as you can and the HTML view if there's something you can't achieve in the visual view.

    For full HTML capability in the HTML view I use the Raw-HTML plugin - which I reviewed here:

    Raw-HTML: How to Beat the WordPress HTML Filters | WealthyDragon

    Cheers,

    Martin.
    Signature
    WealthyDragon - Earning My Living Online
    {{ DiscussionBoard.errors[3255248].message }}
  • Profile picture of the author mjprod
    I second what abledragon said and would add that when you are copying from another program to WP, you copy/paste between the body tags and omit the rest.
    {{ DiscussionBoard.errors[3256370].message }}

Trending Topics