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, ...How do i vertically align skin object?How do i vertically align skin object?
Previous
 
Next
New Post
12/13/2006 8:14 AM
 

Hi guys, I am trying to align the dnn:User tag absolute middle of a bar background. My Tags implement images and align perfectly until I login. Then the user profile hyperlink displays and automatically aligns text top??? Please advice:My code looks like this:

<

div style="float:left;"><dnn:LOGIN CssClass="SelectedTab" LogoffText="&nbsp;Logout<img src=&quot;images/Padlock.gif&quot; border=&quot;0&quot; align=&quot;absmiddle&quot; />" Text="&nbsp;Login <img src=&quot;images/Login2.gif&quot; border=&quot;0&quot; align=&quot;absmiddle&quot;>" runat="server" id="dnnLOGIN" /></div>

 

<div style="float:left; padding-left:50px;" wrap><dnn:USER CssClass="SelectedTab" Text="Register<img src=&quot;images/register.gif&quot; border=&quot;0&quot; align=&quot;absmiddle&quot; />" runat="server" id="dnnUSER" /></div>

 

<div style="float:right; padding-left:20px;"><dnn:SEARCH CssClass="SelectedTab" runat="server" id="SEARCH1" Submit="Search<img src=&quot;images/Search.gif&quot; border=&quot;0&quot; align=&quot;absmiddle&quot; />" /></div>

the style for selected tab is:

.SelectedTab

 

 

 

 

 

 

 

 

 

}

{font-weight: bold;font-size: 8.5pt;color: #FFFFFF;font-family: Tahoma, Arial, Helvetica;text-decoration: none;height:32px;margin-bottom:auto;margin-top:auto;vertical-align:baseline;

/*A.SelectedTab:text

{

margin-bottom:10px;

margin-top:10px;

}*/

A.SelectedTab:link

 

 

}

{text-decoration:none;color:white;

A.SelectedTab:visited

 

 

}

{text-decoration:none;color:#ffffff;

A.SelectedTab:active

 

 

}

{text-decoration:none;color:#ffffff;

A.SelectedTab:hover

 

 

}

{text-decoration:none;color:#ffffff;
 
New Post
12/13/2006 9:07 AM
 
I had this same problem with the solpartmenu and the login being next to each other. They just wouldn't align for some reason, and no one knew what to do to fix it. I wound up using a nested html table (with each one in separate td tags) in my skin to force them together. Also, there is a vertical aligning method that may be of use to you here: http://www.jakpsatweb.cz/css/css-vertical-center-solution.html

Hope that helps at least a little.
 
New Post
12/21/2006 11:15 AM
 
Thanks can't remember what exactly i did but it was a nightmare! I think I just aligned everything top eventually. Thanks anyways.
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...How do i vertically align skin object?How do i vertically align skin object?


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