html - Display div right next to centered text -


i have following html code

<div id='main'>     question title     <div id='tooltip'>?</div> </div> 

question title centered inside of main container. want tooltip div appear right next centered text inside main container, while main container can arbitrarily large. how can achieve this? found similar issues on none of solutions worked case

change display property of #tooltip div "inline-block". make appear directly after text on same line


Comments

Popular posts from this blog

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

python Tkinter Capturing keyboard events save as one single string -

sql server - Why does Linq-to-SQL add unnecessary COUNT()? -