Jump to content

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


sayedsohail

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.

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.