Page 1 of 1

Style Search Module Submit Button

Posted: Wed Jan 03, 2007 7:55 pm
by depiction
I'm trying to style the search module's submit button, but am having problems. I can't assign the style to it in the search template page under the search module in the admin panel. When I go to view the source, I notice it doesn't have a style associated with it like the text box does.

Code: Select all

<label for="cntnt01searchinput">Search</label>: <input type="text" name="cntnt01searchinput" id="cntnt01searchinput" value="Enter Search..." size="20" maxlength="50" />
<input name="cntnt01submit" value="Submit" type="submit" />
Where do I assign a id/class (style) to the button so that I can create a style for it in my template's stylesheet?

Re: Style Search Module Submit Button

Posted: Wed Jan 03, 2007 8:39 pm
by Dee
Hi,

How about using

Code: Select all

div#search form input {
  background: #acf;
}
and then change the search input seperately using it's id?

Code: Select all

div#search form input#cntnt01searchinput {
  background: white;
}
Regards,
D

Re: Style Search Module Submit Button

Posted: Wed Jan 03, 2007 8:44 pm
by Dee
But, to answer your question ;D :
in the Admin Extensions menu choose Search and access the "Search Template" tab.

Regards,
D

Re: Style Search Module Submit Button

Posted: Wed Jan 03, 2007 9:43 pm
by depiction
Thanks.