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, ...[SEARCH] image instead of text[SEARCH] image instead of text
Previous
 
Next
New Post
9/4/2006 11:30 AM
 

I want to change the text after the search box to an image. After much ado I managed to do just that in my default.ascx file by doing this:

<dnn:SEARCH runat="server" id="dnnSEARCH" Submit="&lt;img src=&ldquo;search.gif&rdquo;&gt;" />

I couldn't put the image in /image directory because the code for slash (&frasl;) didn't work out. Now I want the border to disapear around the image, but how do I do that?

 
New Post
9/4/2006 3:08 PM
 
Border="0" does it for me. ;)
 
New Post
9/5/2006 7:59 AM
 

Maybe I wasn't clear, the image isn't added through normal HTML code.

First, in the top of the default.ascx this is included:

<%@ Register TagPrefix="dnn" TagName="SEARCH" Src="~/Admin/Skins/Search.ascx" %>

In the default.ascx file where I want the search box to be the following tag is added

<dnn:SEARCH runat="server" id="dnnSEARCH" Submit="&lt;img src=&ldquo;search.gif&rdquo;&gt;"/>

Boder isn't an attribute of the Element so if I add it to the <dnn:SEARCH /> absolutley nothing should happen. I even tried it, and nothing did happen.

Now, having the installation on a dedicated server I can access all files, the database the whole thing I added in the Search.ascx file and added the attribute BorderStyle="None"but still it has an annoying border.

 

 
New Post
9/6/2006 2:21 AM
 
Have you tried to set a css class?...
I think that you can find the answer at your question here... where I've explained it how it can work.

Vriendelijke groeten
Gilbert Vanden Borre
 
New Post
9/6/2006 2:32 AM
 

And if those good instructions don't help, you can download a free skin I have create which looks like this - http://www.ninasfreeskins.com/shareme/home.aspx

It has the search function as an image and the code is in the skin. (this is for registered users)

Nina Meiers


Nina Meiers My Little Website
If it's on DNN, I fix, build, deploy, support,skin, host, design, consult, implement, integrate and done since 2003.
Who am I? Just a city chic, having a crack at organic berry farming.. and creating awesome websites.
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...[SEARCH] image instead of text[SEARCH] image instead of text


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