I just found a solution for a problem i have had with a lot of skins.
I guess others have done this before, but I didn't find anything (and there might be a better solution)
Hope this will help somebody....
You have a skin (mostly with absolute positioning) that looks great.
Until you login, then everything starts to move because of the containers showing up and for some panes there is just not enough space. Some will even overlap.
The solutiuon I found:
Put a div around your current skin, and give it a class name of the current user.
<div class="<%=DotNetNuke.Entities.Users.UserController.GetCurrentUserInfo.UserName%>">
<Your Skin>
</div>
Now you can create some specific CSS if the Admin user logs in:
.mydiv /*-- for all the other users*/
{
width:100px;
height:100px;
}
.admin .mydiv /*-- for the admin user*/
{
width:150px;
height:200px;
}
Added march 10 - 2007
related blog
Related Post