Jump to content

mozilla DIV postion:absolute display contents at next line.?


Recommended Posts

Hi everyone,

 

I tried to use <input type='text' ><div style='postion:absolute'>, this works fine in IE but in mozilla the contets of the div shows on the next line.

 

Is there a way to keep the div contents right next to my input field, without using style='left: ,top:', cause if i use this method, than the contents of div are appearing on different positions in mozilla and IE.

 

thanks for reading.

  • 2 weeks later...

in you place the div before the input in your html and flost the div right that should do the trick - this will of course depedn on teh width of the input element and the minimum width of any child element in the div.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.