www.webdeveloper.com
Results 1 to 4 of 4

Thread: /form seems to adds br? (to IE anyway, not ff) any workaround?

  1. #1
    Join Date
    Mar 2005
    Location
    planet earth
    Posts
    121

    /form seems to add a br? (to IE anyway, not ff) any workaround?

    <td height="20"><form action="products.asp" name="frankf" method="post" >
    <input type="hidden" name="func" value="frank" />
    <a href='javascript:submitformfr()'>Franking</a></form></td>
    ok, bad coding aside ^^, how come in ff, this produces a td box, as big as the text (i.e. "Franking"), but in IE it seems to add a <br />?

    IE grr!


    (btw, bah, no [img] to embed images ^^)
    Attached Images Attached Images
    Last edited by hitecbill; 12-11-2006 at 06:39 PM.
    captain, i've spotted an M-class planet!

    http://eupeople.net/forum

  2. #2
    Join Date
    Mar 2005
    Location
    Sydney, Australia
    Posts
    7,974
    Try defining the spacing that you want in the stylesheet so as to override the browser defaults.
    Stephen

  3. #3
    Join Date
    Feb 2005
    Posts
    1,018
    Meaning set the default margins and padding to 0 using CSS.
    Code:
    form {
    margin:0;
    padding:0;
    }
    If you can't handle the job then don't take the job or ask for help on it if you are getting paid for it.
    Web Developer's Handbook.::.Why Tables for Layout is Stupid?.::.Why I won't help you

  4. #4
    Join Date
    Mar 2005
    Location
    planet earth
    Posts
    121
    purrrrfect!


    thx felgall and _Aerospace_Eng_

    captain, i've spotted an M-class planet!

    http://eupeople.net/forum

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles