different view in IE and FF

HTML, CSS and anything else that deals with client side capabilities.

Moderator: General Moderators

Post Reply
isaac_cm
Forum Commoner
Posts: 44
Joined: Wed May 17, 2006 8:47 am

different view in IE and FF

Post 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>
User avatar
jaoudestudios
DevNet Resident
Posts: 1483
Joined: Wed Jun 18, 2008 8:32 am
Location: Surrey

Re: different view in IE and FF

Post 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
User avatar
kaszu
Forum Regular
Posts: 749
Joined: Wed Jul 19, 2006 7:29 am

Re: different view in IE and FF

Post by kaszu »

Add <br /> after label
isaac_cm
Forum Commoner
Posts: 44
Joined: Wed May 17, 2006 8:47 am

Re: different view in IE and FF

Post 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
Last edited by isaac_cm on Fri Jul 03, 2009 2:40 am, edited 1 time in total.
isaac_cm
Forum Commoner
Posts: 44
Joined: Wed May 17, 2006 8:47 am

Re: different view in IE and FF

Post by isaac_cm »

kaszu
I tried that it did not work !!
User avatar
kaszu
Forum Regular
Posts: 749
Joined: Wed Jul 19, 2006 7:29 am

Re: different view in IE and FF

Post by kaszu »

Sorry, didn't saw that div is floated. You must clear floats, see http://www.quirksmode.org/css/clearing.html.
isaac_cm
Forum Commoner
Posts: 44
Joined: Wed May 17, 2006 8:47 am

Re: different view in IE and FF

Post by isaac_cm »

kaszu EXCELLENT !! Thanks my friend
Post Reply