Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Old 10-02-2010, 05:06 PM Div breaks <li>
Average Talker

Posts: 17
Trades: 0
Hi
I have a horizontal menu on my site

<li><a href="http://www.dsf" >Contact Us</a></li>
<li><a href="http://www.dsf" >Forum</a></li>

etc

i want to add this script

Code:
<!-- Begin ConveyThis Button -->
<script type="text/javascript">
    var conveythis_src = 'en';
</script>
<div class="conveythis">
    <a class="conveythis_no_drop" title="Translate"  href="http://freetranslation.translation-services-usa.com/"><span  class="conveythis_button_7">translator</span></a>
</div>
<script type="text/javascript" src="http://no-stats3.conveythis.com/kern_e2/_v_2_3/javascript/e2_3.js"></script>
<!-- End ConveyThis Button -->
onto the menu line - but the div thats included makes the menu start on a new line

how can I add this code to a horizontal menu so it doesnt break ?


Thanks !
ronnieb is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 10-02-2010, 05:20 PM Re: Div breaks <li>
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,380
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
use an inline element, a (<span>) instead of the block element (<div>)
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 10-04-2010, 09:44 PM Re: Div breaks <li>
inklight's Avatar
Average Talker

Posts: 19
Name: Salem
Trades: 0
if you still need to use div only have look at this code
HTML Code:
<!-- Begin ConveyThis Button -->
<script type="text/javascript">
    var conveythis_src = 'en';
</script>

<li style="float:left;"><a href="http://www.dsf" >Contact Us</a></li>
<li style="float:left;"><a href="http://www.dsf" >Forum</a></li>

<div style="float:left;" class="conveythis">
<a class="conveythis_no_drop" title="Translate"  href="http://freetranslation.translation-services-usa.com/">
<span  class="conveythis_button_7">translator</span>
</a>
</div>

<script type="text/javascript" src="http://no-stats3.conveythis.com/kern_e2/_v_2_3/javascript/e2_3.js"></script>
<!-- End ConveyThis Button -->
__________________

Please login or register to view this content. Registration is FREE
inklight is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Div breaks <li>
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.15970 seconds with 12 queries