Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.
Hi all, please see this major site announcement: https://www.boards.ie/discussion/2058427594/boards-ie-2026

html forms in IE5

  • 03-06-2006 12:12AM
    #1
    Registered Users, Registered Users 2 Posts: 673 ✭✭✭


    Hey,

    Im trying to place a html form in a confined space on my site but am having problems with this in IE5. IE5 seems to add a line break after a html form even though there is no line break visible in the code. When i view in Firefox this doesnt happen.

    Anyone know if their is a way around this?

    Thanks


Comments

  • Registered Users, Registered Users 2 Posts: 3,594 ✭✭✭forbairt


    would some css

    form { margin: 0; }

    do the trick for you ...

    too lazy to try this out at the moment ... if not margin try

    form { padding:0; }


  • Closed Accounts Posts: 7,144 ✭✭✭DonkeyStyle \o/


    Might need display: inline; in whatever element is causing the break... form, input, which ever.


  • Registered Users, Registered Users 2 Posts: 673 ✭✭✭Bananna man


    My boo boo, its actually IE6 that im having the problem with. I'll have a bash at the CSS suggestions you gave their.

    Cheers


  • Registered Users, Registered Users 2 Posts: 673 ✭✭✭Bananna man


    I had a go with the - form { margin: 0; } - and it is working fine now. Cheers for the help!!


  • Registered Users, Registered Users 2 Posts: 3,594 ✭✭✭forbairt


    no worries :)


  • Advertisement
Advertisement
Advertisement