The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

script problem

View previous topic View next topic Go down

script problem

Post by akroeger on 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?

akroeger
Forumember

Posts : 72
Reputation : 2
Language : english

http://www.news.worldgoo.com

Back to top Go down

View previous topic View next topic Back to top


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