Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

$4.95 Windows Hosting at Webhost4life.com
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
 


  Sponsors  

Meet Our Sponsors

SmarterTools
The Official Microsoft ASP.NET Website
Portal Webhosting - Hosting For Developers
Red-Gate Software
MaximumASP
SourceGear - Tools for Developers
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Make it Hot! ( ...  Converting a full width skin to fixed width
Previous Previous
 
Next Next
New Post 6/5/2008 7:21 AM
User is offline Strauss
115 posts
9th Ranked


Converting a full width skin to fixed width 

I assume there is some document somewhere explaining how to do this, could someone post a link for me? If not some basic instructions posted here would be most helpful and appreciated, thank you!

 
New Post 6/5/2008 12:13 PM
User is offline Strauss
115 posts
9th Ranked


Re: Converting a full width skin to fixed width 

To add a little more to this, I'd like to make it a fixed size of 800px wide, here is the skin.htm if that is helpful:

 

<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0" ID="Table2">
    <tr>
        <td height="44" background="top_tile.gif" align="center" colspan="3">
            <table width="98%" height="44" border="0" align="center" cellpadding="0" cellspacing="0" ID="Table3">
                <tr>
                    <td width="100%" height="44">[CURRENTDATE]&nbsp;&nbsp;&nbsp;[BREADCRUMB]</td>
                    <td width="100%" height="44" align="right">[LOGIN]</td>           
                </tr>
            </table>
        </td>
    </tr>
    <tr>
        <td height="93" colspan="3" class="SkinImage">[LOGO]</td>
    </tr>
    <tr>
        <td width="3%" height="28" background="menu_tile.gif" align="left"></td>
        <td width="55%" height="28" background="menu_tile.gif" align="left">
            <table border="0" cellpadding="0" cellspacing="0" height="28" ID="Table1">
                <tr>
                
          <td>[MENU]</td>
                </tr>
            </table>
        </td>
        <td width="42%" height="28" background="menu_tile.gif" align="right">[USER]&nbsp;&nbsp;</td>
    </tr>
    <tr>
        <td bgcolor="3E6DA1" colspan="3" height="100%">
            <TABLE WIDTH="100%" HEIGHT="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" bgcolor="white" ID="Table4">
                <TR>
                    <TD id="LeftPane" runat="server" WIDTH="200" visible="false" VALIGN="TOP" height="100%"></TD>
                    <TD id="ContentPane" runat="server" HEIGHT="100%" visible="true" VALIGN="TOP"></TD>
                    <TD id="RightPane" runat="server" WIDTH="200" visible="false" VALIGN="TOP" height="100%"></TD>
                </TR>
            </TABLE>
        </td>
    </tr>
    <tr>
        <td height="25" background="footer.gif" bgcolor="#3E6DA1" align="left" colspan="2" valign="middle">&nbsp;&nbsp;[COPYRIGHT]</td>
        <td width="42%" height="25" background="footer.gif" bgcolor="#3E6DA1" align="right" valign="middle">[TERMS]&nbsp;&nbsp;[PRIVACY]&nbsp;&nbsp;</td>
    </tr>
</table>

 
New Post 6/7/2008 5:55 AM
User is offline Timo Breumelhof
1619 posts
5th Ranked




Re: Converting a full width skin to fixed width 

did you try

<table height="100%" border="0" cellspacing="0" cellpadding="0" ID="Table2" style="width:900px;" >

?


Timo Breumelhof -- www.searchdotnetnuke.com -- Extended DNN (forum) search
 
New Post 6/7/2008 3:52 PM
User is offline Cuong Dang
265 posts
engagesoftware.com
9th Ranked


Re: Converting a full width skin to fixed width 
Modified By Cuong Dang  on 6/7/2008 9:26:17 PM)

Strauss,

Get rid of the width="100%" from the parent table and give it a CSS class.

<table class="ContentWrapper">

</table> 

Put this in your skin.css file:

.ContentWrapper {width: your_fixed_width;}

Inline CSS is a bad practice and it will cause you more headache in the future.


Cuong Dang
Engage Software
St. Louis, MO
314.966.4000



The leading provider of DotNetNuke support, training and custom module development.
 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Make it Hot! ( ...  Converting a full width skin to fixed width
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


Venexus, Inc.
Need custom a custom DotNetNuke module? From module planning to deployment, including training and support, Venexus developers deliver end-to-end web solutions on time and on budget.
www.venexus.com
Bring2mind
Document Centric DNN Module Solutions
www.bring2mind.net
WEBPC™ DotNetNuke® sites for Small Business
WEBPC™ are internet consultants and web hosters catering to the small business market.
www.webpc.biz

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP