Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...skins seem to have a mind of its ownskins seem to have a mind of its own
Previous
 
Next
New Post
6/10/2008 10:31 AM
 

ok...im tryin to do a simple skin where the body is tightly fitting inthe body...no boarder

no matter what i seem to not be able to remove a small gap

i have specified the exact width of 700 all in my ascx page for each table and in my css file. I have also taken a container and simplied it with the same width

is there a defualt skin file that dnn inherits from??

 
New Post
6/10/2008 10:57 AM
 

Hi Tom,

In addition to any skin-specific .css files, DNN will deploy a Default.css and portal-specific Portal.css file.  It could be one of these that are causing your problem.  If you have a public-facing link to the problem, post it here for us to look at.

To debug these sorts of problems, I recommend using either the IE or Firefox web developer toolbar.  They allow you to click on the element in question, trace the applied styles, and tweak the settings in real-time on your page.  Typically the use of one of these tools makes debugging these sorts of problems trivial. 

Hope this helps!

Brandon


Brandon Haynes
BrandonHaynes.org
 
New Post
6/10/2008 11:34 AM
 

i installed that...it does show me but still didnt point the problem out....does it matter my skin only has the css, ascx, and xml (plus media folder)? do i need that html file?

heres my skin file: as you see...i specify the width to be 700 throughout yet my body/content still have a gap of bout 5px

[code]

<%@ Control language="vb" CodeBehind="~/admin/Skins/skin.vb" AutoEventWireup="false" Explicit="True" Inherits="DotNetNuke.Skin" %>
<%@ Register TagPrefix="dnn" TagName="CURRENTDATE" Src="~/Admin/Skins/CurrentDate.ascx" %>
<%@ Register TagPrefix="dnn" TagName="LOGIN" Src="~/Admin/Skins/Login.ascx" %>
<%@ Register TagPrefix="dnn" TagName="USER" Src="~/Admin/Skins/User.ascx" %>
<%@ Register TagPrefix="dnn" TagName="LOGO" Src="~/Admin/Skins/Logo.ascx" %>
<%@ Register TagPrefix="dnn" TagName="SOLPARTMENU" Src="~/Admin/Skins/SolPartMenu.ascx" %>
<%@ Register TagPrefix="dnn" TagName="COPYRIGHT" Src="~/Admin/Skins/Copyright.ascx" %>
<%@ Register TagPrefix="dnn" TagName="HOSTNAME" Src="~/Admin/Skins/HostName.ascx" %>
<%@ Register TagPrefix="dnn" TagName="PRIVACY" Src="~/Admin/Skins/Privacy.ascx" %>
<%@ Register TagPrefix="dnn" TagName="LINKS" Src="~/Admin/Skins/Links.ascx" %>


<TABLE class="pagemaster" align="center" width="700px">
    <TR width="700px">
        <TD valign="middle" width="700px">
      <TABLE class="skinmaster" border="0" cellspacing="0" cellpadding="0" width="700px">
       
  <TR width="700px">
            <TD align="center" valign="top" class="contentpane" id="ControlPanel" runat="server"></TD>
        </TR>
        <TR width="700px">
            <TD valign="top" width="700px">

        <TABLE class="skinheader" cellSpacing="0" cellPadding="0" border="0" width="700px">
            <TR width="700px">
                <TD height="140" width="700px" vAlign="middle" align="left"><dnn:LOGO runat="server" id="dnnLOGO" /></TD>
            </TR>
        </TABLE>
        <TABLE class="MenuTab" cellSpacing="0" cellPadding="0" width="700px" height="40" border="0" align="center">
            <TR width="700px">
                <TD vAlign="middle" align="center" class="MenuTab" width="700" height="40"><dnn:SOLPARTMENU runat="server" id="dnnSOLPARTMENU" separatorcssclass="MySeparator" backcolor="#ffffff" separatecss="true"  rootmenuitemactivecssclass="ActiveRootTab" submenuitemactivecssclass="ActiveSubTab" rootmenuitemselectedcssclass="SelectedRootTab" submenuitemselectedcssclass="SelectedSubTab" rootmenuitembreadcrumbcssclass="BreadcrumbRootTab" submenuitembreadcrumbcssclass="BreadcrumbSubTab" rootmenuitemcssclass="RootTab" submenuitemcssclass="SubTab" usearrows="False"/></TD>
            </TR>
        </TABLE>
           
        <TABLE cellspacing="0" cellpadding="0" border="0" class="body" width="700px">
            <TR width="700px">
               
                <TD class="contentpane" id="ContentPane" runat="server" valign="top" align="center" width="700px"></TD>
               
            </TR>
        </TABLE>


        </TD>
    </TR>
    </TABLE>
        </TD>
    </TR>
    <TR id="foot" valign="texttop" align="center" width="700px">
        <TD valign="top" align="center" height="10" width="700px"><font size="1.5" face="Arial, Helvetica, sans-serif" color="#000000">150-153rd Ave., Suite 303 St. Petersburg. Fl 33708 Toll Free 800.719.6227 (NBAS) Fax 866.654.7533</font></TD>
 </TR>
 <T width="700px"R>
  <TD valign="top" align="center" height="10" width="700px"><font size="1.5" face="Arial, Helvetica, sans-serif" color="#000000"><dnn:LOGIN runat="server" id="dnnLOGIN" text="Staff Login" /></font></TD>
    </TR>
</TABLE>

[/code]

 

 

 
New Post
6/10/2008 12:01 PM
 

i seemed to have fixed it....what a pain lol

the css file had values for the menu buttons in px and i shorten them till it tightened everything up...also the iframe seems to have its own mind as well..i just imported the media mod and it did the job

ill post once i get this live

 
New Post
6/10/2008 12:07 PM
 

Hi Tom,

Glad to hear you were able to correct your problem.  Remember, if you have child elements that exceed a parent's fixed width, you can always instruct the browser to hide the extra width by setting the OVERFLOW css attribute to "hide".

Brandon


Brandon Haynes
BrandonHaynes.org
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...skins seem to have a mind of its ownskins seem to have a mind of its own


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out