SitePoint Sponsor

User Tag List

Results 1 to 5 of 5

Thread: HTML Code Issue

  1. #1
    SitePoint Member
    Join Date
    Aug 2013
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    HTML Code Issue

    When ever I add this code in it messes up the bottom half of the page. On my page the background is white with grey on the sides of the page. but after I enter this part of the code it makes everything below have a blue background. Its as if its overriding the code or something. This is a site that some one else has made and I'm trying to manage it but I cant figure out what they did to make it do this. Sorry if this is a really long post I'm new to this site and wasn't sure if this was the correct way to do this.

    Here is the code that I'm having issues with.

    HTML Code:
    <p><img src="images/OptionalAddOnsBanner.fw.png" width="561" height="38" alt="Optional Add-Ons" /></p>
        <img src="images/CycleAcessBanner.fw.png" width="563" height="20" alt="Motorcycle Lift Accessories" />
        <div class="fltlft">
          <p><a href="tcmlrxlt.html"><img src="images/TCMLRXLTsmall.png" alt="Motorcycle Lift Accessories" width="85" height="85" align="left" /></a><strong>AT TCML - RXLT</strong><br />
            <strong>Motorcycle Lift Extended Length Approach Ramp</strong><br />
          Retail Price: $99.95<br />
            The AT TCML-RXLT is a replacement accessory for the AT TCML &amp; AT TCMLW standard Approach Ramp. This rep,lacement ramp is 35&quot; long and dramatically reduces the angle of the ramp for longer motorcycles and choppers. <a href="tcmlrxlt.html">MORE INFO.</a><br />
            <br />
          </p>
        </div>
            <div class="fltlft">
          <p><a href="tcmlra.html"><img src="images/TCMLRAsmall.png" alt="Motorcycle Lift Accessories" width="85" height="85" align="left" /></a><strong>AT TCML - RA</strong><br />
            <strong>Motorcycle Drop Tail Roller Assembly</strong><br />
          Retail Price: $99.95<br />
          The <strong>AT TCML-RA</strong> is a replacement accessory for the AT TCML &amp; AT TCMLW standard Drop-Out Tail. This replacement tail has a built-in roller assembly that allows for a motorcycle's rear wheel to be turned without being lifted off of the table surface.<a href="tcmlra.html"> MORE INFO.</a><br />
          <br />
          </p>
        </div>
            <div class="fltlft">
          <p><a href="tcmlse.html"><img src="images/TCMLSEsmall.jpg" alt="Motorcycle Lift Accesory" width="85" height="85" align="left" /></a><strong>AT TCML - SE</strong><br />
            <strong>Motorcycle Lift Side Extensions</strong><br />
          Retail Price: $174.95<br />
          The <strong>AT TCML-SE</strong> is a width extension kit designed for the AT TCML motorcycle lift. The kit includes a 12&quot; side extension for each side of the lift, approach ramp width extensions, and all necessary connectors &amp; hardware. This kit can be used to quickly add 24&quot; width to the AT TCML lift table! <a href="tcmlse.html">MORE INFO.</a><br />
          </p>
        </div>
            <div class="fltlft">
          <p><a href="tcmlsj.html"><img src="images/TCMLSJsmall.jpg" alt="Motorcycle Accessories" width="85" height="85" align="left" /></a><strong>AT TCML - SJ</strong><br />
            <strong>Motorcycle Service Jack</strong><br />
            Capacity: 1,000 LBS
            <br />
            Retail Price: $99.95<br />
            <span class="saleprice">Sale Price: $59.95</span>      <br />
            The <strong>AT TCML-SJ</strong> is a lightweight scissor jack designed to fit most motorcycle and ATV frames. The AT TCML-SJ will work with any motorcycle lift table, or from the floor. <a href="tcmlsj.html">MORE INFO.</a><br />
            <br />
          </p>
        </div>
      </div>

    This is the part of the code that messes up every time I put in the code above..

    HTML Code:
    <p><img src="images/ShipingInfoBanner.fw.png" width="561" height="38" alt="Shipping Information" /></p>
        <p><img src="images/tcmlpackage.jpg" alt="Package" width="260" height="260" align="left" /></p>
          <p><strong>Packaging Details</strong>: This is a picture of how your product will be shipped to you. Please read the Shipping Details section below for more information about our shipping procedures!</p>
          <p><strong>Shipping Method: </strong> Freight (LTL)<br />
            <strong>Shipping Length: </strong> 87.5&quot;<br />
            <strong>Shipping Height: </strong> 12.5&quot;<br />
            <strong>Shipping Width: </strong> 26&quot;<br />
          <strong>Shipping Weight: </strong> 500 LBS.</p>
          <p>The product's weight is just under 500 LBS. If you have any questions regarding shipping procedures or would like more information on this equipment, PLEASE CALL US AT 1-800-340-9429!<br />
          </p>
          <hr />
          <h4>Motorcyle Lift Shipping Info: </h4>
          <p>This product will be shipped by common carrier. For more information about how this item will be shipped to you, it is always best if you call us at 1-800-340-9429 to get a shipping quote and review Auto Tool USA's shipping procedure for this<strong> Lift</strong>*with one of our sales associates.</p>
          <p><img src="images/exclamationpt.gif" width="33" height="31" /><span class="redboldtext"> It is vital for the customer to understand what is required of them for receiving these shipments! If you have ANY questions about shipping policies or procedures, please see detailed information here or call us at 1-800-340-9429 and one of our friendly sales associates will be happy to help you!</span></p>
          <h5>Destination Requirements &amp; Unloading Equipment: </h5>
          <p>For residential deliveries, the customer's address must be able to accommodate a large 18 wheel truck pulling into and out of the drive.*<span class="redboldtext">THE CUSTOMER IS RESPONSIBLE FOR UNLOADING THE PRODUCT FROM THE TRUCK!**</span>Liftgates are available. Residential charges may apply. PLEASE NOTE: Truck companies may place a reasonable time limit on how long customers are allowed to take before charging extra fees - please ensure you are prepared &amp; ready to unload your equipment when the truck arrives.</p>
          <p><span class="redboldtext">Due to the size of this equipment, customers MUST have a Forklift, wrecker boom or similar piece of equipment to unload their product from the truck.</span>*If you are unsure about unloading this equipment from the truck, do not have the space available for a semi tractor w/ a 53 ft trailer, or do not have the necessary equipment for unloading the product(s) from the truck, we STRONGLY recommend having the equipment delivered to a business address* with a dock that is equipped to unload large trucks.</p>
          <p class="redboldtext">*For customers unable to accommodate a large truck at their residential address and have no business address available, we STRONGLY urge them to have their product shipped to a local trucking terminal. The terminal staff will be able to unload the equipment from the truck and onto a truck or flatbed trailer for you at no additional cost, and then you will be able to unload the equipment with no time constraints.</p>
          <h5>Other Shipping Policies: </h5>
          <p>For a more thorough overview of our shipping policies,*<a href="shippingmethods.html">click here</a>.</p>
          <p class="redboldtext"><img src="images/freightrates.gif" width="565" height="90" alt="Ask Us About Our Low Frieght Rates" /> </p>
          <p><img src="images/exclamationpt.gif" width="33" height="31" /> Again, should you have any questions regarding shipping procedures or would like more information on this product, PLEASE FEEL FREE TO CALL US AT 1-800-340-9429! Thank you! </p>
          <p><img src="images/WarrantyBanner.fw.png" width="561" height="38" alt="Warranty Information" /></p>
          <p>Comes with a*1 Year Limited Warranty.</p>
          <p>Auto Tool USA has a team of technical experts who will be able to trouble shoot any problems you may have and give you the help you need to get your product back up and running ASAP!</p>
          <p>We stock a large inventory of parts for all of our equipment at our Franklin facility. From the smallest fittings and bolts, to the largest components like Carriages, Runways, Lifting Arms, Columns and much more! We are stocked and committed to keep you up and running.</p>
          <p>Our Service Department is not limited to people who sit at desks and answer calls. We have a full staff of experienced technicians that work in our huge service &amp; machine shop, repairing &amp; fabricating hydraulic components from &amp; for every manufacturer in the industry. In fact, Auto Tool USA is no stranger to our competition's frustrated customers bringing their equipment here so that our Repair Technicians can get the competition's failed equipment back up and running!</p>
          <p>With our hands on knowledge of hydraulic and garage equipment, our staff is waiting to assist you with any problems you might run into with this product, or any hydraulic equipment!</p>
        </div>
        <p>&nbsp;</p>
        <!-- end .content -->
      </div>
      <!-- InstanceEndEditable -->
      <div class="footer">
        <p>Auto Tool USA Sales, Your #1 Hydraulic Source!</p>
        <p>Call Us Today at 1-800-340-9429</p>
        <!-- end .footer --></div>
      <!-- end .container --></div>
    <script type="text/javascript">
    var MenuBar1 = new Spry.Widget.MenuBar("MainMenu", {imgRight:"../SpryAssets/SpryMenuBarRightHover.gif"});
    </script>
    </body>
    <!-- InstanceEnd --></html>

  2. #2
    Barefoot on the Moon! silver trophy Force Flow's Avatar
    Join Date
    Jul 2003
    Location
    Northeastern USA
    Posts
    4,603
    Mentioned
    56 Post(s)
    Tagged
    1 Thread(s)
    You'll need to include your CSS as well.

    A link to your page would be best.
    Visit The Blog | Follow On Twitter
    301tool 1.1.5 - URL redirector & shortener (PHP/MySQL)
    Can be hosted on and utilize your own domain

  3. #3
    SitePoint Mentor silver trophy
    Rubble's Avatar
    Join Date
    Dec 2005
    Location
    Cambridge, England
    Posts
    2,358
    Mentioned
    80 Post(s)
    Tagged
    3 Thread(s)
    What happens if you remove the last </div> on the first piece of code?

  4. #4
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    40,271
    Mentioned
    179 Post(s)
    Tagged
    6 Thread(s)
    Hi, welcome to Sitepoint

    As Rubble said above you have one extra closing div in that first section which would cause any parent container (if there was one) to finish early and possibly orphan the rest of the page.

    You should always run your html and css through the validator to pick out any obvious errors like missing tags or typos.

    If that doesn't solve the issue we will need to see a working example of sorts.

  5. #5
    SitePoint Member
    Join Date
    Aug 2013
    Location
    Fpolis - SC
    Posts
    11
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    If you could provide the CSS I could test it in my machine and tell you the problem. But the code looks fine.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •