sayedsohail Posted May 30, 2007 Share Posted May 30, 2007 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. Quote Link to comment https://forums.phpfreaks.com/topic/53565-mozilla-div-postionabsolute-display-contents-at-next-line/ Share on other sites More sharing options...
leap500 Posted June 7, 2007 Share Posted June 7, 2007 Hi Have you tried using 'inline' style: http://www.webdesignfromscratch.com/css-block-and-inline.cfm Quote Link to comment https://forums.phpfreaks.com/topic/53565-mozilla-div-postionabsolute-display-contents-at-next-line/#findComment-270227 Share on other sites More sharing options...
soycharliente Posted June 9, 2007 Share Posted June 9, 2007 What kind of information is your div holding? Maybe we can restructure the order to make it work better. Quote Link to comment https://forums.phpfreaks.com/topic/53565-mozilla-div-postionabsolute-display-contents-at-next-line/#findComment-271412 Share on other sites More sharing options...
ToonMariner Posted June 10, 2007 Share Posted June 10, 2007 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. Quote Link to comment https://forums.phpfreaks.com/topic/53565-mozilla-div-postionabsolute-display-contents-at-next-line/#findComment-271604 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.