View Full Version : <br /> - Firefox Vs. IE

04-18-2006, 02:27 PM
I've noticed that in all of my recent designs, using <br /> is working differently between Firefox and IE. What is a better way to put a line break between text and other things, like images? <p> had these same spacing issues. Makes it tough to make consisten designs.

04-18-2006, 03:30 PM
This could boil down to whether your code is validating to W3C specifications. Also keep in mind that even if your pages validate to XHTML specifications (which is the only time <br /> should be used), that MSIE does not support XHTML so MSIE simply switches to its quirks mode for HTML4.0.

04-18-2006, 07:39 PM
I have always used br, and it works fine for me in FF and IE. You could always use margins i guess