Page 1 of 1

different view in IE and FF

Posted: Fri Jul 03, 2009 1:34 am
by isaac_cm
Hello,
the following html prints in IE the ISBN near the input box while in FF the input box is beneath ISBN which is the correct position

how I can make it look the same in IE ?

Thanks

Code: Select all

<label for="ISBN">sfsdfs</label>
 
<label>name1:</label><div><input type="text" name="inp1" id="inp1" class="small"/></div>
 
<div style="float:left; margin-left:10px;"><p class="df2" id="info" name="info">0.00</p></div>

Re: different view in IE and FF

Posted: Fri Jul 03, 2009 2:23 am
by jaoudestudios
FF is most probably correct, IE is poo, but thats another story.

Can you take some screen shots? It would make it much easier to help

Re: different view in IE and FF

Posted: Fri Jul 03, 2009 2:31 am
by kaszu
Add <br /> after label

Re: different view in IE and FF

Posted: Fri Jul 03, 2009 2:38 am
by isaac_cm
jaoudestudios
yes I agree but I must make view the same in both !!

FF view ( the correct)
http://i40.tinypic.com/2ir0spt.jpg

IE view
http://i44.tinypic.com/2jakglf.jpg

Thanks

Re: different view in IE and FF

Posted: Fri Jul 03, 2009 2:39 am
by isaac_cm
kaszu
I tried that it did not work !!

Re: different view in IE and FF

Posted: Fri Jul 03, 2009 2:44 am
by kaszu
Sorry, didn't saw that div is floated. You must clear floats, see http://www.quirksmode.org/css/clearing.html.

Re: different view in IE and FF

Posted: Fri Jul 03, 2009 3:03 am
by isaac_cm
kaszu EXCELLENT !! Thanks my friend