Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7080679
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T06:49:29+00:00 2026-05-28T06:49:29+00:00

I’ve got a header where I’m adding a little gradient spacer image, and it’s

  • 0

I’ve got a header where I’m adding a little gradient spacer image, and it’s not moving where it needs to be (see red arrow for desired location):

enter image description here

I’ve tried several different versions of the img tag, and adding an enclosing div either with or without the float:left style, but so far no dice. What am I doing wrong/how do I fix it? Note the gradient spacer image name is header_gradient_spacer.png.

Thanks.

P.S. If you want to see the issue on the site instead, please go to http://www.momentumnow.biz

<div class="container">

<!-- RK: add a div and width to the top, so elements can't fold on top of each other --> 
<div class="header">
    <!-- RK: changed class from header to headerLeft, as added a headerRight -->
    <div class="headerLeft">
      <div style="float:left">
        <div id="iPhoneIPad1" style="display:none">
            <img src="/mn/images/a-350x120.png"  width="350" height="120" alt="Momentum Now">
        </div>

        <div id="notIphoneIPad1" style="display:inline">
          <object class="flash" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="350" height="120" id="flashHeader">
            <param name="movie" value="/mn/images/a-350x120.swf">
            <param name="play" value="true">
            <param name="loop" value="true">
            <!--[if !IE]>-->
            <object class="flash" type="application/x-shockwave-flash" data="/mn/images/a-350x120.swf" width="350" height="120">
              <param name="play" value="true">
              <param name="loop" value="true">
              <!--<![endif]-->
              <a href="http://www.adobe.com/go/getflashplayer"> <img src="/mn/images/a-350x120.png" alt="Get Adobe Flash player version 9.0.28 or later"> </a>
              <!--[if !IE]>-->
            </object>
            <!--<![endif]-->
          </object>
        </div>
        <!-- RSK added type attribute to script tag -->
        <script type="text/javascript">
           if ((navigator.userAgent.match(/iPad/i) != null) || (navigator.userAgent.match(/iPhone/i) != null) || (navigator.userAgent.match(/iPod/i) != null)) {
              document.getElementById("iPhoneIPad1").style.display = "inline";
              document.getElementById("notIphoneIPad1").style.display = "none";
           }
        </script>
      </div>
      <div style="float:left">
         <img src="/mn/images/header_gradient_spacer.png" width="25" height="120" alt="na" />
      </div>
    </div>


     <!-- RK: Added second Flash Header for the right side of top -->
    <div class="headerRight"  >
       <div id="iPhoneIPad2" style="display:none">
            <img src="/mn/images/HeaderRightFlash.png"  width="370" height="100" alt="Momentum Now">
       </div>

       <div id="notIphoneIPad2" style="display:inline">
         <object class="flash" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="370" height="100" id="flashHeader2">
            <param name="movie" value="/mn/images/HeaderRightFlash.swf">
            <param name="play" value="true">
            <param name="loop" value="true">
            <!--[if !IE]>-->
            <object class="flash" type="application/x-shockwave-flash" data="/mn/images/HeaderRightFlash.swf" width="370" height="100">
              <param name="play" value="true">
              <param name="loop" value="true">
              <!--<![endif]-->
              <a href="http://www.adobe.com/go/getflashplayer"> <img src="/mn/images/HeaderRightFlash.png" alt="Get Adobe Flash player version 9.0.28 or later"> </a>
              <!--[if !IE]>-->
            </object>
            <!--<![endif]-->
          </object>
       </div>

      <script type="text/javascript">
        if ((navigator.userAgent.match(/iPad/i) != null) || (navigator.userAgent.match(/iPhone/i) != null) || (navigator.userAgent.match(/iPod/i) != null)) {
            document.getElementById("iPhoneIPad2").style.display = "inline";
            document.getElementById("notIphoneIPad2").style.display = "none";
        }
      </script>         
      <p class="affiliate" align="right"><a href="/">Affiliate Care Members Only</a></p>            
    </div>

    <!-- RK: moved this after the headerRight, as that's what's needed to make it span the difference of the left and right header.
    Also, moved 'Affiliate Care Members' to next div section -->
    <div class="headerCenter">
        <p class="headerCenter">Inspiring Movement. <br /><br />  Revealed by outstanding results.</p>
    </div>              
    <br style="clear:both; line-height: 0" />
</div>  
<div class="mainnav">
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T06:49:30+00:00Added an answer on May 28, 2026 at 6:49 am

    Because the div that contains the flash and image has fixed width which is not enough to have both in row, it puts the gradient image below. To fix the problem just remove the width from div.headerLeft in style.css

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

link Im having trouble converting the html entites into html characters, (&# 8217;) i
I've got a string that has curly quotes in it. I'd like to replace
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
i got an object with contents of html markup in it, for example: string
I need a function that will clean a strings' special characters. I do NOT
I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
Is it possible to replace javascript w/ HTML if JavaScript is not enabled on
I have just tried to save a simple *.rtf file with some websites and
I want to count how many characters a certain string has in PHP, but
That's pretty much it. I'm using Nokogiri to scrape a web page what has

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.