How do I change the format of buttons on a search form?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am using FrontPage 2003 and updating a site, a simple search form has been
used. The buttons used dont look very good and I was hoping to change them,
maybe to interactive buttons but at the very least I would like to change the
colours. However, I cant seem to do this and cannot find any answers in any
help books. Please help!
 
Is the "simple search form" the FrontPage search component? If so,
you cannot change the buttons to Interactive Buttons, but you can
alter their appearance using CSS. See
www.rxs-enterprises.org/tests/searchform.htm for ideas.
--
Ron Symonds - Microsoft MVP (FrontPage)
Reply only to group - emails will be deleted unread.
FrontPage Support: http://www.frontpagemvps.com/

"New user, needs help with buttons" <New user, needs help with
(e-mail address removed)> wrote in message
news:[email protected]...
 
Thanks, but how? I am new to FrontPage, I have done the courses available
on-line its just not sure how to enter code into the 'webbot' tag to get it
to work.
 
As a start, open the web and the search page in FrontPage.
Change to Code View
Immediately before </head> add the following:

<style type="text/css">
..srchform input {
border:1px solid red;
color:blue;
font: bold 24px Courier;
}
</style>

Then in the <body> section, find <!--webbot bot="Search"
and just before that add
<div class="srchform">

Then immediately after the search form webbot comment add
</div>

This will change the size and colours of the buttons, and the search
text box.
Experiment with the CSS to change things to suit yourself.

The link www.rxs-enterprises.org/tests/searchform.htm appears to be
working now, and is an example of the above.
--
Ron Symonds - Microsoft MVP (FrontPage)
Reply only to group - emails will be deleted unread.
FrontPage Support: http://www.frontpagemvps.com/

"New user, needs help with buttons"
 
Back
Top