Jump to content


Photo

FORMS - IE vs FF (blank lines)


  • Please log in to reply
1 reply to this topic

#1 Yesideez

Yesideez
  • Members
  • PipPipPip
  • Advanced Member
  • 2,334 posts
  • LocationDevon, UK

Posted 07 August 2006 - 10:48 PM

I've noticed that when using forms in IE I get a blank line inserted with the <form... and with </form> but in FF I don't - how would I get around this?

I've never had this problem before due to page layout but now I'm using a different design for a new site I'm making and its causing me a complete headache.

Any ideas?
Not a pro just an enthusiast :)

if (empty($coffee)) {$coffee=new coffee();}

Please surround any code using the CODE tags - I rarely look at anything without them

#2 Yesideez

Yesideez
  • Members
  • PipPipPip
  • Advanced Member
  • 2,334 posts
  • LocationDevon, UK

Posted 07 August 2006 - 11:56 PM

I managed to fix it...

<form ..... style="margin-top: 0px; margin-bottom: 0px;">

I also managed to remove it with ordered and unordered lists (<ul> and <ol>) by using the same idea but also added the left margin to make the gap smaller on the left. I've added this into my CSS include and the site looks exactly the same in FF and is does in IE.
Not a pro just an enthusiast :)

if (empty($coffee)) {$coffee=new coffee();}

Please surround any code using the CODE tags - I rarely look at anything without them




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users