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, ...Too much space above and below menuToo much space above and below menu
Previous
 
Next
New Post
5/31/2006 3:51 PM
 

Thank you Gilbert. I mostly understand how the code you wrote above works. Can you explain two details?

1st question:

#Srch .NormalTextbox <-----what is this? Is this how to put a css style for a <span></span> used in my html file? Do I include the pound symbol?

2nd question:

<Object>
  <Token>[SEARCH]</Token>
  <Settings>
    <Setting>
      <Name>Submit</Name>

<Value><![CDATA[<img style=&quot; vertical-align: middle; text-align: left&quot; alt=&quot;Zoek&quot; src=&quot;Srch.gif&quot; />]]> </Value>

What's all that cdata for? do I need all that just to make the word SEARCH be white?

Thanks so much for all your help! This has been quite a struggle for me.

~Bee

 
New Post
5/31/2006 4:43 PM
 

Dear bmjohnson

Sorry... I've make a mistake... I was too quick to answer... and I copy and paste code from different skins... (And the search was a button to click...)

1ste question.
Solpart renders a textbox (with a classname NormalTextbox) and a link (with a classname that you can give...) when you use a [SEARCH] token.
You must then give a css style to that textbox.
You can do it by giving for instance your td a ID
Within this ID solpart kan find a element with a classname Normaltextbox.

2nd question
Here is a better code.

In your skin
<td class="SrchLink" id="Srch" nowrap>[SEARCH]</td>

The css code
.SrchLink
{
 color: #4e4634;
 white-space: nowrap;
 text-decoration: none;
}
a.SrchLink:link, a.SrchLink:visited
{
 color: #305f25;
}
a.SrchLink:hover
{
 cursor: pointer;
 cursor: hand;
 color: #26bf00;
 text-decoration: none;
}
a.SrchLink:active, a.SrchLink:focus
{
 color: #197f00;
 text-decoration: none;
}
a.SrchLink:active:hover
{
 cursor: pointer;
 cursor: hand;
 color: #26bf00;
 text-decoration: none;
}
#Srch .NormalTextbox
{
 width: 132px;
 color: #4E4634;
 background-color: #ffffff;
 height: 16px;
 border: #D1C9B1 1px solid;
 font-family: Verdana, Tahoma, Arial, Sans-Serif;
 font-size: 10px;
 vertical-align: middle;
}
 
<Object>
  <Token>[SEARCH]</Token>
    <Settings>
      <Setting>
        <Name>Submit</Name><Value><![CDATA[Search&nbsp;&raquo;]]></Value></Setting>
      <Setting><Name>CssClass</Name><Value>SrchLink</Value></Setting>
    </Settings>
</Object>

I hope this will work.


Vriendelijke groeten
Gilbert Vanden Borre
 
New Post
6/1/2006 10:31 PM
 

This is driving me insane. The word SEARCH is now white (like I want) but it's the wrong typeface. It is displaying times roman normal, and I want arial bold. It has to be a default because I haven't got anything at all setup as times.

In addition, I can't get the SOLPART menu to move either up or down. I hate that thing! It needs to move up so that it will align right on my menu bar, but nothing I do makes it move. I'm so ****Frustrated!***

The menu is on the same line as my search thing like this (centered).

[SOLPARTMENU]              [BREADCRUMB]                [SEARCH]

Each is in a TD and they are all aligned vertically exactly the same but one goes up and the other goes down!

How can I ever get this page done when I spend all my time trying to make ONE word be white and the rest of it trying to get a menu to move?

~Bee (out of patience and time now.)

 
New Post
6/1/2006 11:36 PM
 

Inside each td place a table and inside the table adjust as much as you need.

In the class for SEARCH add the font you need to the basic class the a. classes will inherit.


Do you know the truth when you hear it?
Néstor Sánchez
The Dúnadan Raptor -->Follow Me on Twitter Now!
 
New Post
6/1/2006 11:54 PM
 

Actually - if I'm correct I think there is some bheaviour with the command link and search function that requires you to have different classes.  Tha'ts not a DNN issue to my knowledge. since on our older asp sites when we configured text boxes and command link functions, there was often some slight differences in the behaviour of the text..

Also the fallback on any of your code - if you have not configured the css correctly - it will ALWAYS go back to the html default of times new roman and those wonderful colour links - blue / purple. So there is no text formatting assigned - if you choose to do your own classes, specifically with the command link - you will need to assign your text formatting too I'm pretty sure about that.

I feel for your frustration - I really do.. what do you mean menu moving up or down? you mean the placement in the TD Tag.. Sometimes I've resorted to sitting small gif images in areas that I feel I simply cant' get working and then increase the height of them - to adjust how things sit.

So what is actually out - each one of them - or just solpart now?

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, ...Too much space above and below menuToo much space above and below menu


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