Yesterday I mentioned that I was trying to track down another issue with DotNetNuke when I discovered the FavIcon secret.
The problem I was trying to track down was the issue with panes not collapsing completely in IE when there is no content in them.
I actually owe the solution to a friend of mine who spent several hours tracking this one down, but since he doesn’t have a web site, I can’t link to him. So, thanks Dan Wallace…. and get yourself a web site already.
So, the problem is that many skins provided for DotNetNuke, including the ones that come with DotNetNuke have multiple pane areas. The ones that are particularly troublesome are the left and right panes. Say you have a Left and Right Pane that are either set at a specific pixel or percentage width. If you don’t put any content in those panes, you get a blank area on the page that is the specified width.
Ideally, if the content didn’t exist, the other content would move in to fill that space. And, it should do that without having to use a separate skin on each page. The whole point of using a skin is to provide some sort of consistency between pages.
It turns out that if you add a Visible=”false” attribute to the TD tag that represents the pane, the pane will collapse when no content is available.
Like this Article? Subscribe to get every article sent to your email.
- DotNetNuke Modules – Creating Base Modules Now that we have DotNetNuke installed into Visual Studio we can go ahead and create our first modules. Actually, creating the modules is pretty simple. But it is even easier to do it […]
- DotNetNuke Skinning – Containers Today we move our focus to DotNetNuke containers. Not because we are done with skins, but because we can't go any further in our discussion of skinning until we cover containers.As […]
- DotNetNuke Skins – Hello, World Now that we understand how the ASCX files and CSS files relate to each other, it's time to create our first skin file. Today we are going to deal primarily with the issues of […]
- DotNetNuke – Missing Content in Modules A couple of days ago, a client of mine called and said he'd been working on his DotNetNuke site moving things around when suddenly he was unable to see his module content any more. Since […]
- DotNetNuke – Skinning Today I'm going to start a separate series on Skinning DotNetNuke. Don't worry, I'm still planning to continue the series on creating modules. Later on, I may start a series on something […]
About Dave Bush
Dave Bush is a .NET programmer and Certified ScrumMaster who is passionate about managing risk as it relates to developing software. When he is not writing or speaking about topics related to Application Lifecycle Risk Management (ALRM), he is an example to his peers as he develops web sites in the ASP.NET environment using industry best practices.