Alternatively, if the two onClicks should be separate only the "get application" will extend to the right the full line. For both the above posted and this version you don't need the wrapper-div.
Code:
<li style="overflow:hidden; background: rgb(252, 252, 252) none repeat scroll 0%; font-family: 'Courier New',Courier,monospace; color: black; font-weight: normal; font-style: normal; -moz-background-clip: initial; -moz-background-origin: initial; -moz-background-inline-policy: initial;" id="geshi-7f8f-8">
<span style="float:left; padding-right:.6em"><span style="color: rgb(0, 0, 255);">$mainframe </span> =& </span>
<input name="JFactory" value="C:\Programs\Tools\PHP\XAMPP\htdocs\joomla_development\JoomlaSource\libraries\joomla\factory php" type="hidden">
<a style="float:left; padding-right:.6em" href="#" onclick="submitSource('JFactory');">
<span>JFactory</span>::
</a>
<span style="display:block; color: rgb(0, 102, 0); cursor: pointer;" onclick="clickSource('getApplication:d094a21bb8bcbf87ca2605e051d13ab4');">getApplication
<span style="color: rgb(102, 204, 102);">(</span>
<span style="color: rgb(255, 0, 0);">'site'</span>
<span style="color: rgb(102, 204, 102);">)</span>;
</span>
</li>
Or maybe this is more close to the original display:
Code:
<li style="overflow:hidden; background: rgb(252, 252, 252) none repeat scroll 0%; font-family: 'Courier New',Courier,monospace; color: black; font-weight: normal; font-style: normal; -moz-background-clip: initial; -moz-background-origin: initial; -moz-background-inline-policy: initial;" id="geshi-7f8f-8">
<span style="float:left; padding-right:.6em"><span style="color: rgb(0, 0, 255);">$mainframe </span> =& </span>
<input name="JFactory" value="C:\Programs\Tools\PHP\XAMPP\htdocs\joomla_development\JoomlaSource\libraries\joomla\factory php" type="hidden">
<a style="float:left;" href="#" onclick="submitSource('JFactory');">
<span>JFactory</span>
</a>
<span style="float:left">::</span>
<span style="display:block; color: rgb(0, 102, 0); cursor: pointer;" onclick="clickSource('getApplication:d094a21bb8bcbf87ca2605e051d13ab4');">getApplication
<span style="color: rgb(102, 204, 102);">(</span>
<span style="color: rgb(255, 0, 0);">'site'</span>
<span style="color: rgb(102, 204, 102);">)</span>;
</span>
</li>
Bookmarks