Need
DNN Support
?
DeskPal.com
Learn DNN / DotNetNuke
Login
Subscribe to DNNCreative
Home
Subscribe
Training & Tutorials
Tutorials for Beginners
Tutorials for Administrators
Tutorials for Core Modules
Tutorials for Advanced Users
How to Build a Website in DotNetNuke
Skinning Tutorials
Module Development
Third Party Modules
Forum
Search
Search
Home
Subscribe
+
Training & Tutorials
Tutorials for Beginners
Tutorials for Administrators
Tutorials for Core Modules
Tutorials for Advanced Users
How to Build a Website in DotNetNuke
Skinning Tutorials
Module Development
Third Party Modules
Forum
You need to
Register
for free and
Login
to post a message in the forum.
Forum
Forums
Search Forum
Search
Advanced Search
Topics
Posts
Unanswered
Active Topics
Forums
>
DotNetNuke®
>
DotNetNuke® Questions
Width of Modules
Last Post 11/15/2006 5:01 AM by
lynn
. 7 Replies.
Sort:
Oldest First
Most Recent First
Check this box to subscribe to this topic.
Prev
Next
You are not authorized to post a reply.
Author
Messages
Michael Douglas
Nuke Newbie
Posts:2
10/10/2005 10:02 AM
I've just started playing around with DNN, and wonder if anyone has had the same problem with modules in the side panes not having consistent widths. HTML/Text Modules seem to adopt an expanding width to accomodate the title bar text. Is it possible to nominate the wodth and wrap the text or reduce the font size accordingly?
Michael
Lee Sykes
DNN Creative Staff
Nuke Master VI
Posts:4945
10/11/2005 5:27 AM
From the asp.net forums, I have found this info:
To stretch a pane so that it is of a specific width, you can use this method without editing the skin:
Add a Text/HTML module in the pane you want to stretch. Set the module title to blank and remove the container. Add the following to this module in HTML source mode:
<img src="images/1x1.gif" width="300" height=1">
Change the 300 to whatever width you want for the column.
This is a simple hack, requiring no change to skins/containers code etc. If you ensure that the module referenced above is at the very bottom in the column, it should make no discernible difference to your site's appearance other than forcing the column width to the desired size.
If you are looking to set the width to a specific size which forces the text to wrap around:
There are several techniques: if you check this link:
http://forums.asp.net/search/Search...ageIndex=2
there are several posts regarding width.
The techniques are:
1) edit the .aspx file for the module and set it to a specific width which you set in a css file
2) create a copy of your skin, rename it to "left column fixed width" so that you can remember what the skin is for - In the skin html set the column to a fixed width rather than a percentage.
As a quick hack:
Which doesn't require any alteration of skins, you could add the line break tag into your titles, eg.
This has a very<BR>long title that I<BR>want to scroll
If the quick hack doesn't work for you, I would suggest you have a look at the resources section of the website and the skinning tutorials that are around to get an idea of how it all works.
Hope this helps
Lee Sykes
Site Administrator
Subscribe to the website
:
DotNetNuke Video Tutorials
:
The Skinning Toolkit
:
DotNetNuke Podcasts
Twitter:
www.twitter.com/DNNCreative
Lee Sykes
DNN Creative Staff
Nuke Master VI
Posts:4945
10/11/2005 5:47 AM
NOTE: I've just realised the forum has stripped out the code I have entered - i will fix this asap!
Lee Sykes
Site Administrator
Subscribe to the website
:
DotNetNuke Video Tutorials
:
The Skinning Toolkit
:
DotNetNuke Podcasts
Twitter:
www.twitter.com/DNNCreative
Lee Sykes
DNN Creative Staff
Nuke Master VI
Posts:4945
10/11/2005 5:57 AM
ok, I've re-added the code, read the original post for details.
Lee Sykes
Site Administrator
Subscribe to the website
:
DotNetNuke Video Tutorials
:
The Skinning Toolkit
:
DotNetNuke Podcasts
Twitter:
www.twitter.com/DNNCreative
Michael Douglas
Nuke Newbie
Posts:2
10/11/2005 3:13 PM
Thanks for that Lee. Hadn't thought of using HTML Tags on the Module Title, so I'll try this first. Michael
markp
Nuke Pro
Posts:93
11/14/2006 6:42 PM
From Skin.css
/* Main Layout */
#sidebar
{
float:left;
width: 175px;
border-top: solid 15px #000000;
text-align:justify;
}
#leftpane
{
width: 175px;
}
FRom index.html
<div id="leftpane" runat="server">
The problme is that when I use the Links module the text does not wrap in the title or the link or the dispaly area. I want to set this up using a style sheet so associates can enter thier own links. I inserted the table based on a search I did , this does sometimes force the Leftpane to 175px, but the text doesnt wrap it is simply cut off.
Any thoughts?
Lee Sykes
DNN Creative Staff
Nuke Master VI
Posts:4945
11/15/2006 3:11 AM
I suspect this is more of a problem with the links module than your code, but I can't read the code that you have entered for you index.htm file here (You need to paste code into visual web developer and then copy it into the forum in order for it to show correctly)
You could try the overflow css property, but I don't think this will work how you need it to. You have the options of:
overflow: auto;
overflow: hidden;
overflow: scroll;
overflow: visible;
Does the text wrap correctly if you are using the text / html module?
And the text not wrap at all with the links module?
If this is the case, you will need to edit the code for the links module
Lee Sykes
Site Administrator
Subscribe to the website
:
DotNetNuke Video Tutorials
:
The Skinning Toolkit
:
DotNetNuke Podcasts
Twitter:
www.twitter.com/DNNCreative
lynn
Nuke Master
Posts:276
11/15/2006 5:01 AM
Hello
I have been searching for a solution to a similar problem.
I have found that the text of my user registration module expands far outside the ContentPane regardless of the width of the pane. Consequently a section of the registration is either cut off or missing.
I have just found this tutorial: www.positioniseverything.net/explorer/expandingboxbug.html
I hope it is useful to you I will let you know if it works for me.
Regards
Lynn
You are not authorized to post a reply.
Special Bonuses
--Subscriber Bonuses
--Readers Offers
Users Lounge
--Announcements
--DNN Creative Articles
--Everything Else
--Feedback, Suggestions and More
--Membership
--Site Review Please!
--Testimonials
--Podcasts
DotNetNuke®
--DotNetNuke® Questions
--Modules
--Modules - What's needed?
--Quick Tips
Hosting
--DotNetNuke® Hosting Providers
Skinning Toolkit
--Skinning Toolkit
UK DotNetNuke User Group
Forums
>
DotNetNuke®
>
DotNetNuke® Questions
Latest Forum Posts
Can you Run Xcode in Linux?
by Aman Singh
Can you Run Xcode in Linux?
Can you Run Xcode in Linux?
by Aman Singh
Can you Run Xcode in Linux?
Billed for subscription that was canceled
by Ryan
I was just billed for a subscription that was canc eled / inactivetive how do I get a refund for th
Meta Title and Meta Description are not showing properly
by DNN User
Hi, On my site the meta title and meta descriptions are not showing properly. It's showing the m
Search is not functioning properly
by DNN User
Site: https://www.prv-engineering.co.uk/search If I search any item only the 1st option under sea
Search is not functioning properly
by DNN User
Site: https://www.prv-engineering.co.uk/search If I search any item only the 1st option under sea
DNN Platform import site optio
by Melanie Weaver
Is it possible to import site template in DNN Platform 8.0? We have internal Evoq Content 8.1 tha
Events Module for DNN V5?
by Tugboat
Would anyone have a download link for the version 5.0.3 Events Module? Thanks!
"Ghost" TabID Number?
by Tugboat
Hi! I have a portal instance with multiple child portals and on one of the child portals, there i
RE: DNN Load Testing
by ayman sharkawy
Hi. Have you already implemented a site using the DNN . And how the performance of the site and its
Publish All Pages
by NSUOK
I'm using DNN Evoq Content Basic 8.2.0. When I make the HTML Pro module display on all pages, I h
Simpler profile needed in 9.2.2
by Donald
We are upgrading a DNN 4.8.4 site to DNN 9.2.2. On 4.8.4, the top bar shows the user’s name. If yo
How to link from dnnmodal popup to web site page?
by Donald
Hello all. I am using a dnnmodal.show popup. The popup works correctly, showing the content that I
RE: Document Collaboration
by Nick Davern
That feature would be super beneficial for our needs as well! Does anyone have an update as to if th
RE: DNN 9.2, how to set default theme?
by Andy Stephenson DNN Creative
you do that under "Manage/Themes". Note the highlight blue border around the default container and d
DNN 9.2, how to set default theme?
by Donald
Please disregard, found Manage Themes I cannot find how to set a default portal theme in DNN 9.2
RE: Looking for DataSprings Dynamic Forms
by Andy Stephenson DNN Creative
Your best chance would be to contact Chad Nash @ http://www.datasprings.com/
Looking for DataSprings Dynamic Forms
by Jakir HM
Looking for DataSprings Dynamic Forms 3.4 for DNN 4.x 5.x for my site (https://themasters2018s.com/)
RE: Help with Cycle Image Carousel not displaying images
by peter
I had the same problem with the Will Strohl Content Slider after upgrading to DNN 9.1 The above an
RE: Object reference not set to an instance of an object
by Andy Stephenson DNN Creative
Check this one might be useful: http://www.dnnsoftware.com/answers/im-tryin-to-move-my-site-to-pr
Used
By
Testimonials