Search
DotNetNuke (DNN) Resource Search
Only DNN - DotNetNuke Blog
FeedBurner Subscribe to Ismet Dumlupinar's DotNetNuke Blog
01



DotNetNuke supports skin objects to add custom tokens to your skin. Login token is one of them and sometimes you may want to style this token using stylesheet.

First of all you need to define a class for your login control.

<dnn:LOGIN runat="server" id="dnnLOGIN" CssClass="MyClass" Text="Sign-in" LogoffText="Sign-out" />

Then define link styles for your control.

a.user:link, a.user:active, a.user:visited,
a.login:link, a.login:active, a.login:visited
{
color:#ECF123;
font-weight:bold;
text-decoration:none;
}

Please add your comments, if you like this simple tutorial.
Posted in: Tips, Tutorials

Post Rating

Comments

There are currently no comments, be the first to post one.

Post Comment

Name (required)

Email (required)

Website

CAPTCHA image
Enter the code shown above in the box below




Web Hosting Blogs - BlogCatalog Blog Directory

blogarama - the blog directory


Web Development blogs & blog posts

2008 - 2010 www.onlydnn.com   |  Privacy Statement  |  Terms Of Use  Xhtml 1.0  CSS 2.0