Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Banned
    Join Date
    Mar 2007
    Posts
    1,523
    Thanks
    116
    Thanked 0 Times in 0 Posts

    top nav bar out of place on homepage?!

    on my website: http://www.mutecms.com/gaswest/
    the top nav bar is out of place on the homepage, can someone help me fix thsi please?

    thanks

    Code:
    <!-- Begin Picture Header -->
             <div id="headerpic">
    		 <div id="topnav"><a href="#">About Us</a> <a href="#">Contact us</a> <a href="#">Disclaimer</a> <a href="#">Links</a> <a href="#">Sitemap</a></div>
    		 <% IF PageNo = 1 THEN %>
    		 <div id="fadeimage">
    		 <div id="main">
      <div id="demos">
            <div id="fade" class="pics">
                <img src="images/cloud_sun.jpg" />
    			<img src="images/gasfire.jpg" />
                <img src="images/clouds.jpg" /> 
    			<img src="images/father_son.jpg" />
    			</div>
    			<div class="white"><pre><code class="mix">$('#fade').cycle();</code></pre></div>
     			</div>
    			</div>
    			</div>
    			
    <%ELSE%>
    		<div id="header<%=PageNo%>"><div id="topnav"><a href="#">About Us</a> <a href="#">Contact us</a> <a href="#">Disclaimer</a> <a href="#">Links</a> <a href="#">Sitemap</a></div></div>
    		<%END IF%>
    		 
    		
    				 
    		 <h2><%= rs("SideBarHeader")%></h2>
    		 <br/>
    		<%= rs("SideBarText")%>
    		 </div>
    		 <!-- End Picture Header -->

  • #2
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,861
    Thanks
    160
    Thanked 2,223 Times in 2,210 Posts
    Blog Entries
    1
    Try
    Code:
    #topnav {/*gaswest (line 79)*/
    background-color:#BA2F2C;
    float:right;
    height:20px;
    width:360px;
    position:relative;
    z-index:100;
    }
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)

  • #3
    Banned
    Join Date
    Mar 2007
    Posts
    1,523
    Thanks
    116
    Thanked 0 Times in 0 Posts

    Thumbs up

    Quote Originally Posted by abduraooft View Post
    Try
    Code:
    #topnav {/*gaswest (line 79)*/
    background-color:#BA2F2C;
    float:right;
    height:20px;
    width:360px;
    position:relative;
    z-index:100;
    }

    THANK YOU SO MUCH! x


  •  

    Posting Permissions

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