• Resolved boyerml

    (@boyerml)


    I recently copied the html code from an iWeb page to a WP page. The page looks perfectly correct,as it did in the iWeb site, BUT the code contains something that is pushing the content almost a full screen height down. So, there is nothing but white space above it. I believe the code contains something about the navigation bar that appeared in the iWeb page, but I’m not sure if that’s the cause.

    Has anyone else created a page this way and had to fix a similar issue. If you go to this site and look at the html of this page, can you let me know what I need to pull out? Because of the 4 columns I’m not sure where the errant code will be found.

    https://adhocgroup.net/rvers/wfh/

    Thank you

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello,

    I just check you code, why are you put all the code in editor you need to add css and js in css or js folder then enqueue that files. you need to add only content part in content area

    add all div in content area that’s very bad but no problem if you want to put then put content from below class: <div style=”text-align: center; “> remove all above content. need any further assistance contact me

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Yes, as Ahir was saying, the code below is in your post and it is causing the issue:

    <p><!--?xml version="1.0" encoding="UTF-8"?--><br>
    </p>
    <p><br>
      <br>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><br>
        <meta name="Generator" content="iWeb 3.0.4"><br>
        <meta name="iWeb-Build" content="local-build-20150917"><br>
        <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7"><br>
        <meta name="viewport" content="width=1000"><br>
        <title>Work-From-Home Ideas You Can Adapt to Your RV Lifestyle </title></p>
    <link rel="stylesheet" type="text/css" media="screen,print" href="/AHG/WFH_files/WFH.css">
        <!--[if lt IE 8]>
    <link rel='stylesheet' type='text/css' media='screen,print' href='/AHG/WFH_files/WFHIE.css'/><![endif]--><br>
        <!--[if gte IE 8]>
    <link rel='stylesheet' type='text/css' media='screen,print' href='Media/IE8.css'/><![endif]--><p></p>
    <style type="text/css">
    /*<![CDATA[*/
    	@import "Scripts/Widgets/HTMLRegion/Paste.css";
    /*]]>*/
    </style>
    <p>    <script type="text/javascript" src="Scripts/iWebSite.js"></script><br>
        <script type="text/javascript" src="Scripts/Widgets/SharedResources/WidgetCommon.js"></script><br>
        <script type="text/javascript" src="Scripts/Widgets/Navbar/navbar.js"></script><br>
        <script type="text/javascript" src="Scripts/iWebImage.js"></script><br>
        <script type="text/javascript" src="Scripts/iWebMediaGrid.js"></script><br>
        <script type="text/javascript" src="Scripts/Widgets/HTMLRegion/Paste.js"></script><br>
        <script type="text/javascript" src="/AHG//WFH_files/WFH.js"></script><br>
      <br>
      </p>

    Thread Starter boyerml

    (@boyerml)

    Thank you for your time and help.

    Ahir Hemant: I’m afraid I don’t know how or where to write js or css codes. Nor am I sure exactly what you’re saying to do with the content. If it’s bad why would I put it anywhere. I read your sentence different ways with very different meanings because without commas, I don’t know which way to understand it. I’m sorry, but I don’t understand.

    Andrew: I took out most of the code as you suggested, but needed to put a couple lines back in to keep the formatting correct. There’s still a couple extra blank lines, but I’ll need to learn even more about html to figure out where, in the script, these would be found. I hate html, the headings are written at the bottom of the script and the image is in the middle. But, that’s the way it works, I guess.

    Thanks for your help. This is significantly better, and good enough to put off until I learn more.

    Thread Starter boyerml

    (@boyerml)

    Thank you

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘HTML code advice’ is closed to new replies.