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, ...Please help with my first skinPlease help with my first skin
Previous
 
Next
New Post
5/28/2007 2:53 AM
 

Hi all, I'm trying to design my first skin and meet a difficulty.

Firstly, please have a look at the Screenshot. I'm testing it on the localhost, so a live example is not available.

And here's the problem : I'd like to place the banner skin object UNDER the login and  register links and to the RIGHT of the logo but I just can't figure it out, since my skinning skill is novice. Can anyone point me to the right direction?

This is the header part in skin.ascx :

<tr><td height="80" align="center"><div id="header"><div id="headerlinks">
<br>
<dnn:LOGIN runat="server" id="dnnLOGIN" cssclass="login" />&nbsp;&nbsp;&nbsp;<dnn:USER runat="server" id="dnnUSER" cssclass="user" /></div><dnn:LOGO runat="server" id="dnnLOGO" /></tr>

And this is the values in skin.css :

#header {
    width:95%;
    padding:0px;
    text-align:left;
    padding-bottom: 15px;
    }

#dnn_dnnLOGO_imgLogo {margin-top:15px;}

#headerlinks {
    float:right;
    font-size: 11px;
    text-align: right;
}
.login, a.login:link, a.login:visited, a.login:active, .user, a.user:link, a.user:visited, a.user:active { background:  url('bullet.gif') no-repeat top left; font-weight:bold; text-decoration: none; padding-left:20px; padding-right:0; padding-top:0; padding-bottom:0; }
a.login:hover, a.user:hover { background:  url('bullet.gif') no-repeat top left; font-weight:bold; text-decoration: none; }

 

 
New Post
5/28/2007 3:25 AM
 

You seem to have an unterminated div and an unterminated td. If you lay out your code to match opening and closing elements you can see this much more easily. This will cause problems in your layout.

<tr>
<td height="80" align="center">
<div id="header">
<div id="headerlinks">
<br>
<dnn:LOGIN runat="server" id="dnnLOGIN" cssclass="login" />
&nbsp;&nbsp;&nbsp;
<dnn:USER runat="server" id="dnnUSER" cssclass="user" />
</div>
<dnn:LOGO runat="server" id="dnnLOGO" />
</tr>

You could just use table cells through out.

Mixing div's and cells is probably adding needless complexity at this stage.

 
New Post
5/28/2007 7:10 AM
 

Thanks for replying.

Can you tell me a little bit more about mixing div's and cells skinning? Does it create complexity for the designers only or affect performance as well?

And what should I input to display the banner between the logo and the login skin object?

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Please help with my first skinPlease help with my first skin


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