The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

script problem

Go down

script problem Empty script problem

Post by akroeger December 26th 2011, 4:33 pm

I have this code
Code:
<!-- BEGIN switch_user_logged_in --><div class="fixedPosition">
  <span style=" float: left;"><a href="http://join.top-talk.com"><img src="http://i234.photobucket.com/albums/ee289/jumges/untitled-11.jpg" border="0" alt="Photobucket" height="25px" ></a>







</span>


<span style="float: right;">


<select style="font-size:12px;color:#696969;font-family:verdana;background-color:#ffffff;" onchange="if(this.options[this.selectedIndex].value !=

'-1'){window.location=this.options[this.selectedIndex].value}">
  <option value="-1">Menu</option>
  <option value="-1">Home</option>
  <option value="http://www.join.top-talk.com">Home</option>
  <option value="http://join.top-talk.com/privmsg?folder=inbox-">Message</option>
  <option value="http://join.top-talk.com/profile?mode=editprofile">Edit Profile</option>
</select></span>

<form action="http://www.google.com/cse" id="cse-search-box">
  <div>
    <input type="hidden" name="cx" value="partner-pub-1399221113895807:5798469872" />
    <input type="hidden" name="ie" value="UTF-8" />
    <input type="text" name="q" size="30" />
      </div>
</form>

<script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&amp;lang=en"></script>

</div><!-- END switch_user_logged_in -->
 



<!-- BEGIN switch_user_logged_out --><div class="fixedPosition">
  <span style=" float: left;"><a href="http://join.top-talk.com"><img src="http://i234.photobucket.com/albums/ee289/jumges/untitled-11.jpg" border="0" alt="Photobucket" height="25px" ></a>









</span>


<span style="float: right;">



<select style="font-size:12px;color:#696969;font-family:verdana;background-color:#ffffff;" onchange="if(this.options[this.selectedIndex].value !=

'-1'){window.location=this.options[this.selectedIndex].value}">
  <option value="-1">Menu</option>
  <option value="http://www.join.top-talk.com">Home</option>
  <option value="http://join.top-talk.com/privmsg?folder=inbox-">Message</option>
  <option value="http://join.top-talk.com/profile?mode=editprofile">Edit Profile</option>
  </select></span>

<form action="http://www.google.com/cse" id="cse-search-box">
  <div>
    <input type="hidden" name="cx" value="partner-pub-1399221113895807:5798469872" />
    <input type="hidden" name="ie" value="UTF-8" />
    <input type="text" name="q" size="30" />
      </div>
</form>

<script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&amp;lang=en"></script>

</div><!-- END switch_user_logged_out -->




 
<style type="text/css">
.fixedPosition {
  position:fixed;
  top:-1px;
  left:0%;
  height:30px;
  width:83.5%;
  border:2.55px solid black;
  background-image:url('http://i234.photobucket.com/albums/ee289/jumges/untitled-10-2.jpg');
  font-family:Verdana,Arial,Helvetica,sans-serif;
  font-size:10pt;
  color:black;
  padding:1px;
}

div.fixedPosition{
margin-left: 109px !important;
}
div.fixedPosition{
z-index: 999 !important;
}
</style>

which I really cant fix.. I already like the output but it is not in line.. I mean the search bar and menu tab is on the upper side of the navbar..

my menu bar looks like this http://news.worldgoo.com/
CAN SOMEone help me code this?
avatar
akroeger
Forumember

Posts : 72
Reputation : 2
Language : english

http://www.news.worldgoo.com

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum