<FORM> Causing problems

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Gram

    #1

    <FORM> Causing problems

    Hello, Can anyone help with the following.

    I have a search option on a site, using a form, but the FORM element
    throws off all the layout.

    Is there a way to make a search work, without using FORM elements?

    Thanks for any suggestions

    Gram
  • Martin Honnen

    #2
    Re: &lt;FORM&gt; Causing problems



    Gram wrote:
    [color=blue]
    > I have a search option on a site, using a form, but the FORM element
    > throws off all the layout.[/color]

    Nowadays you should be able to apply CSS e.g.
    <style type="text/css">
    form#formId {
    margin: 0;
    padding: 0;
    }
    </style>

    <form id="formId" action="...">.. .</form
    to define the presentation as needed

    --

    Martin Honnen
    http://JavaScript.FAQTs.com/

    Comment

    • McKirahan

      #3
      Re: &lt;FORM&gt; Causing problems

      "Martin Honnen" <mahotrash@yaho o.de> wrote in message
      news:415beb99$0 $8119$9b4e6d93@ newsread4.arcor-online.net...[color=blue]
      >
      >
      > Gram wrote:
      >[color=green]
      > > I have a search option on a site, using a form, but the FORM element
      > > throws off all the layout.[/color]
      >
      > Nowadays you should be able to apply CSS e.g.
      > <style type="text/css">
      > form#formId {
      > margin: 0;
      > padding: 0;
      > }
      > </style>
      >
      > <form id="formId" action="...">.. .</form
      > to define the presentation as needed
      >
      > --
      >
      > Martin Honnen
      > http://JavaScript.FAQTs.com/[/color]

      Thanks for the great tip!

      Though it looks like you only need "{ margin:0 }".


      Comment

      Working...