In the below code
var panel=<div name="panel" id="panel" style="display:inline;position: absolute; margin-left: auto;margin-right:auto;left: 0;right: 0;width:350px;height: 100px;filter:alpha(opacity=50);">testfield1</div>' ;
panel = panel + '  <div id ="name" style="display:inline;position: absolute; margin-left: auto;margin-right:auto;left: 350px;right: 0;width:750px;height: 100%;border-color:black;">
panel = panel + 'This is a test</div>
The text "This is a test" appears at the bottom of the div, whereas "testfield1" appears at the center. How to make both pieces of text inline with each other?
Thanks.