By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,520 Members | 1,251 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,520 IT Pros & Developers. It's quick & easy.

<FORM> Causing problems

P: n/a
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
Jul 23 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a


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


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/
Jul 23 '05 #2

P: n/a
"Martin Honnen" <ma*******@yahoo.de> wrote in message
news:41**********************@newsread4.arcor-online.net...


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


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/


Thanks for the great tip!

Though it looks like you only need "{ margin:0 }".
Jul 23 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.