Problems adapting HTML page code to work in a pane in a DotNetNuke site

Posted on 2007-11-16
Last Modified: 2010-04-07
For some reason, when I enter this code in the edit module of a pane in DotNetNuke, while it looks great in the edit window, when you go to view it, the resulting content goes to the upper left hand corner rather than staying within its pane. Please take a look at the code, and let me know if there's a way to fix it so that the content stays within its area of the page. I created the code in Dreamweaver, and it works fine in a normal html page. Please let me know if there's another area where I might want to post htis.


<table width="696" border="0">
            <div id="Layer1" style="z-index: 3; left: 0px; width: 200px; position: absolute; top: 0px; height: 115px"><img height="813" alt="" width="696" src="/Portals/0/HTMLBody/MPlx_bkgrnd7_Feather_wLogo.jpg" /></div>
            <div class="style4" id="Layer3" style="z-index: 4; left: 98px; width: 529px; position: absolute; top: 415px; height: 115px">The MicroPlex Coil System (MCS) consists of an implantable platinum detachable coil attached to a fluid injection delivery system called a Delivery Pusher. The delivery system consists of a variable stiffness tube with a retention sleeve that attaches the Delivery Pusher tot the implantable coil. An introducer sheath assists in the delivery of the implantable coil into the microcatheter.<br />
            <br />
            The MCS is available in 18- and 10-compatible systems that are compatible with various microcatheters. There are two basic configurations, Complex<br />
            (3-dimensional) coils in various diameters and lengths to establish the initial framework, and Helical coils in various diameters and lengths for filling.</div>
            <div id="Layer2" style="z-index: 5; left: 0px; width: 696px; position: absolute; top: 131px; height: 115px"><img height="240" alt="" width="696" src="/Portals/0/HTMLBody/MPlx_img6.jpg" /></div>
            <div id="Layer4" style="z-index: 6; left: 98px; width: 518px; position: absolute; top: 647px; height: 115px"><span class="style4">Framing: A complex coil with unmatched conformability<br />
            Filling: A full line of 10 and 18 sized helical coils offering superior deliverability <br />
            Finishing: The HyperSoft finishing coil is the softest and most flexible finishing coil available </span>
            <p class="style8">Refer to the Instructions For Use supplied with each product for additional information.</p>

Open in new window

Question by:gabrielPennyback
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2

Expert Comment

ID: 20437180
the problem is that you are using fixed positioning inside the html. The text/html module can only be used for basic html, and if you are using positioning, then only relative positioning should be used. Any other kind of design should be done in the container definition, or in the skin

Author Comment

ID: 20442944
Hi Erik,
Thanks for getting back to me. Are you saying that as long as I put everything in a container, then I'll be able to do it? That woulf be great.


Accepted Solution

ErikVB earned 500 total points
ID: 20443009
well.. yes and no

It would be beneficial to you to brush up on DNN skinning. There is some documentation available on the  website, and recently a book on dnn skinning was released.

The problem is that absolute positioning really doesn't work very well in DNN, because page layout is very dynamic (you can select another skin and the page will look completely different). So while you can put your stuff inside a container, i would advise against that, and only do that if you know what you are doing ;)

Is there a reason why you want to use absolute positioning in the first place? Could you use a table as an alternative?
Also: you might consider creating a custom skin that resembles the absolute positioning you are trying to achieve, and put the html content in more than one module

Author Comment

ID: 20445063
Hi Erik,
Re: "Is there a reason why you want to use absolute positioning in the first place?"
     No not at all. How would I code it to get relative positioning?  




Assisted Solution

ErikVB earned 500 total points
ID: 20447790
with the risk of sounding shmuck, please read up on your html and xhtml and css. Also, reading up on dnn skinning would not hurt you. DNN offers very advanced layout options.

From your code, i see you want to use a background image. Normally, you would either define that in your skin, or in the container, both from css though.

I am sorry if i cannot help you much further, i am not really a skinning expert. Mind you: you are asking this question in a software development forum.. ;). Have you tried the DNN skinning forum? There are some very knowledgable people around there...

Featured Post

Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction In this tutorial, I'll explain how to create an animated progress meter in a wireframe prototype developed using Axure RP 7.0 - a leading prototyping tool for designing web sites and software. (For more information about Axure and gett…
This guide will walk you through the essential considerations and tech stack for building scalable websites. Know how to grow your business the smart way!
The purpose of this video is to demonstrate how to add AdSense Ads to a WordPress Website, and how to set up WordPress to automatically place Ads in Sidebars. This will be demonstrated using a Windows 8 PC. Log into your AdSense account. : Cli…
The purpose of this video is to demonstrate how to Import and export files in WordPress. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: : Click on Too…

624 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question