Styling a container with images

As we saw in the previous recipe, the first step to styling a container with images is to create the images. In this recipe, we will take the second step and expand the simple ASCX container by adding the images that will create a graphic border around the container. We will also demonstrate changing the font and text color.

Getting ready

To follow along with this recipe you must have completed the following recipes:

  • Creating a simple ASCX container
  • Creating custom container images

How to do it...

  1. Start by locating the default container folder within your test DNN portal (\Portals\_default\Containers).
  2. Next, create a new folder to hold the container files. Call this folder ASCXImageContainer.
  3. Create a new folder inside ...

Get DotNetNuke 5.4 Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.