Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Skin SearchSkin Search
Previous
 
Next
New Post
10/24/2006 11:22 PM
 

What do I need to do to change the look of the search box?

I have this on the page:

            <dnn:SEARCH runat="server" id="dnnSEARCH" CssClass="SearchBox" />

The css looks like this:

.SearchBox INPUT{
 font-family: Tahoma, Arial;
 font-size: 10px;
 color: #F2E7D9;
 text-transform: uppercase;
 margin: 0px;
 height: 17px;
 border: 1px solid #FFFFFF;
 padding: 1px 3px;
 width:70px;
 background-color: #7D4D15;
}

But it doesnt seem to change the look of the text box at all... also how do I use an image as the button to run the search?

Thanks

 
New Post
10/25/2006 8:18 PM
 

To use an image to submit use the following

<dnn:SEARCH runat="server" id="dnnSEARCH" Submit="&lt;img src=&quot;images/search.gif&quot; border=&quot;0&quot; align=&quot;absmiddle&quot;&gt;" /></td>

To change the "input" make sure that the CSS Class is defined for the cell that contains your Search control, and not for the control tag i.e. CssClass="SearchBox" like oyu have done, the CssClass for the Search control is handled by the .SkinObject CSS Class

<td class="SearchBox"><dnn:SEARCH runat="server" id="dnnSEARCH" Submit="&lt;img src=&quot;images/search.gif&quot; border=&quot;0&quot; align=&quot;absmiddle&quot;&gt;" /></td>

Your CSS defination shown above will work fine on this


AGM
infotechniq Inc.
Technology Solutions for Small Business.
www.infotechniq.com

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Skin SearchSkin Search


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out