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
6/2/2006 1:59 AM
 

Dear bmjohnson

Please think before you do something.
You've see in my code that there is no font settings. That is because all my td's, div's, span's... have the same font.
When you set a font in the SrchLink and a font in the #Srch .NormalTextbox everything shall work.
Always look and study the code. Never copy and paste whatever you seems to be good... That said... happy nuking.

Now the different parts in one <tr>-tag... (So much in one root... but OK.)
Have you set in each td the position of all the elements? Normally you must set it vertical-align: top;... and then position each element in that row with paddings... Try it... And be not frustrated...
Like I've said ... every element of a class has is style... ( function) when you use it or use it not...


Vriendelijke groeten
Gilbert Vanden Borre
 
New Post
6/2/2006 7:47 AM
 

I already had the font settings in the root of the class in the css file as follows. The colors work as shown, but the type is displaying as times roman 12pt normal. Can't find the cause of that, but as Nina said, maybe something else is wrong that's making it go back to the default. But what?

Here's the table that's killing me shown here with an extra table inside the menu cell hoping that would fix it:

<TABLE class="menubar" cellSpacing="0" cellPadding="0" border="0" width="100%">
 <tr>
    <TD>
   <table cellSpacing="0" border="0" width="100%" border-collapse="collapse">
    <tr>
    <td valign="top" margin-bottom="10px" align="left" width="1000%" nowrap>&nbsp;[SOLPARTMENU]</TD>
    <tr>
       </table>
    </TD>
  <TD vAlign="middle" padding-bottom="2px" align="right" nowrap><span class="breadcrumb"><B>..::</B>&nbsp;&nbsp;[BREADCRUMB]&nbsp;<B>::..</B></span></TD>
     <TD vAlign="middle" align="right" nowrap><span class="SrchLink" id="Srch">[SEARCH]</span></td>
</TD>
 </tr>
  </TR>
</TABLE>

Here's the CSS code I used to fix the SEARCH text problem, modified from the code Gilbert kindly posted,

.SrchLink
{
 font-family: Tahoma, arial, sans-serif;
 font-weight: bold;
 color: #4e4634;
 white-space: nowrap;
 text-decoration: none;
}
a.SrchLink:link, a.SrchLink:visited
{
 color: white;
}
a.SrchLink:hover
{
 cursor: pointer;
 cursor: hand;
 color: #0000ff;
 text-decoration: none;
}
a.SrchLink:active, a.SrchLink:focus
{
 color: white;
 text-decoration: none;
}
a.SrchLink:active:hover
{
 cursor: pointer;
 cursor: hand;
 color: #0000ff;
 text-decoration: none;
}

#Srch .NormalTextbox
{
  padding-top: 0px;
  background: white;
  color: white;
  font-family: tahoma, arial, sans-serif;
  font-size: 10px;
  font-weight: normal;
  vertical-align: middle;
}

Here's the XML code I used. I had to take out the "submit" part because it caused errors and I couldn't figure out what it was supposed to be doing and how to make it work right.

  <Token>[SEARCH]</Token>
  <Settings>
       <Setting>
      <Name>CssClass</Name>
      <Value>SrchLink</Value>
    </Setting>
  </Settings>

I also tried putting a table inside the cell that holds the menu, as suggested (shown that way here.) It made no difference whatsover...the menu is *glued* to the bottom of the table cell no matter what I do. The other cells in the row I can adjust the vertical position with padding, valign, and vertical-align commands. But the menu is SUPERglued! *!&%^

If anyone can look at this code and tell me why the text is displaying wrong (word SEARCH) and why the solpartmenu won't line up right I'd will be eternally greatful!

~Bee

 

 
New Post
6/2/2006 8:02 AM
 

Dear bmjohnson

I feel you are desperate...
Perhaps this is a solution for your problem...
I always put at the beginning of a skin.css file the following code, because the normal settings are always different and we can't talk about something that is set as standaard to your computer, of by the use of some skins of containers...

For the skin:
body  {margin: 0px; vertical-align: top;}
table, tr, td, p, span, div
{font-size: 12px; font-family: Arial, Tahoma, Verdana, Sans-Serif; vertical-align: top; text-align: left; color: #5f5f5f;}
img   {border: none;}

For the container:
table, tr, td, p, span, div
{font-size: 12px; font-family: Arial, Tahoma, Verdana, Sans-Serif; vertical-align: top; text-align: left; color: #5f5f5f;}
img   {border: none;}

And,... why you don't have set the font in the .SrchLink:link, the .SrchLink:hover... You must do that...

  Hope this will help.


Vriendelijke groeten
Gilbert Vanden Borre
 
New Post
6/2/2006 10:22 AM
 
Let's try first the middle adjustment. I've made some corrections to your HTML.

<TABLE class="menubar" cellSpacing="0" cellPadding="0" border="0" width="100%">
 <tr>
    <TD valign="middle">
   <table cellSpacing="0" border="0" width="100%" style="border-collapse:collapse">
    <tr>
    <td valign="top" margin-bottom="10px" align="left" width="1000%" nowrap>&nbsp;[SOLPARTMENU]</TD>
    <tr>
       </table>
    </TD>
  <TD vAlign="middle" align="right" nowrap><span class="breadcrumb"><B>..::</B>&nbsp;&nbsp;[BREADCRUMB]&nbsp;<B>::..</B></span></TD>
     <TD vAlign="middle" align="right" nowrap class="SrchLink">[SEARCH]</td>
</TD>
 </tr>
  </TR>
</TABLE>


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/2/2006 10:46 AM
 
Dear hooliganes

I never use style="border-collapse:collapse;" but of course you can use it.

Vriendelijke groeten
Gilbert Vanden Borre
 
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