You need to Register for free and Login to post a message in the forum.

Forum

Subject: Please help with CSS container
Prev Next
You are not authorized to post a reply.

Author Messages
DrakenKorin
DNN Creative Magazine Subscriber
Nuker
Nuker
Posts:16

09 Jul 2008 4:39 AM  
Hi,

I have a slight problem with my css container.  I have a simple module for uploading and displaying profile pictures.  when I upload an image, the container doesn't expand to surround the image, instead the image spills over the edges of the container.

I've added a small screen shot so that you can see what I mean.

Some background info:  I created the skin and containers using the CSS tutorial found on this site, so that means that the left and center columns are floated, I don't know if that could be the reason?  (since the photo module is in the left column)  I moved the container to the right column, which is not foloated, but to no avail.

Any assistance would be greatly appreciated.

Regards

Julian





DrakenKorin
DNN Creative Magazine Subscriber
Nuker
Nuker
Posts:16

10 Jul 2008 3:52 AM  
pls. anyone?
jncraig
DNN Creative Staff
Nuke Master II
Nuke Master II
Posts:2157

10 Jul 2008 7:39 AM  
Could you perhaps attach your container file to a message and also include the CSS that styles it?

Joe Craig
DNN Creative Support
Subscribe to the website
DrakenKorin
DNN Creative Magazine Subscriber
Nuker
Nuker
Posts:16

10 Jul 2008 8:27 AM  
Hi,

Sure, here are the contents of my css and container files

css:

.cssLightcontainerHolder_transparentBox
{
    border: solid 1px #8EB4E3;
    background-color: #CCC;
    margin-bottom:10px;
}

.cssLightActions_image
{
    background-color: #8EB4E3;
    border-bottom: solid 1px #8EB4E3;
    padding: 2px 5px;
   
}
.cssLightContainer_image
{
    padding: 6px 5px 0px 5px;
   
}
   
   
Container XML:


   
        [ACTIONBUTTON:1]
       
           
                CommandName
                AddContent.Action
           

           
                DisplayIcon
                True
           

           
                DisplayLink
                True
           

       

   

   
        [ACTIONBUTTON:2]
       
           
                CommandName
                SyndicateModule.Action
           

           
                DisplayIcon
                True
           

           
                DisplayLink
                False
           

       

   

   
        [ACTIONBUTTON:3]
       
           
                CommandName
                PrintModule.Action
           

           
                DisplayIcon
                True
           

           
                DisplayLink
                False
           

       

   

   
        [ACTIONBUTTON:4]
       
           
                CommandName
                ModuleSettings.Action
           

           
                DisplayIcon
                True
           

           
                DisplayLink
                False
           

       

   

   
        [ACTIONBUTTON:5]
       
           
                CommandName
                ModuleHelp.Action
           

           
                DisplayIcon
                True
           

           
                DisplayLink
                False
           

       

   

   
        [ACTIONS]
       
           
                ProviderName
                DNNMenuNavigationProvider
           

           
                ExpandDepth
                1
           

           
                PopulateNodesFromClient
                True
           

       

   






I hope this helps
leesykes
DNN Creative Staff
Nuke Master III
Nuke Master III
Posts:3112

10 Jul 2008 2:03 PM  
Hello,

You can attach zip files to your forum posts, could you attach the entire container and skin?

I need to see the actual container html.

There maybe a float on the image that needs clearing, you may need to add a < br class="clear" / > at the end of your container html?

Thanks,

Lee Sykes
Site Administrator
Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts
DrakenKorin
DNN Creative Magazine Subscriber
Nuker
Nuker
Posts:16

14 Jul 2008 7:22 AM  
Hi,

Sorry for taking so long to get back, I see your forum's "alert" functionality is similar to mine, in the sence that it only works half the time, LoL

Here are my complete skin and container zip files


In the mean time I'll try the < br class="clear" / >  When I read it a little voice in my head went "Doh!"  I'm sure that's the problem, I will let you know if it is.

Thanks in advance



Attachment: 1714225157371.zip
Attachment: 1714225171454.zip

DrakenKorin
DNN Creative Magazine Subscriber
Nuker
Nuker
Posts:16

15 Jul 2008 2:02 AM  
Hi,

Well, i tried entering < br class="clear" / > to the end of my container, but I'm either not doing it right, or that isn't the problem ??  Maybe I'm placing it in the wrong place, but then again, how many places could there be? lol

Please help,

Regards

Julian
leesykes
DNN Creative Staff
Nuke Master III
Nuke Master III
Posts:3112

15 Jul 2008 7:47 AM  
Hello,

well, I have added the skin and container to a test area and added a text HTML module to the left pane with an image inside the module.

This does not have the problem with the container  around the image, this leads me to think that it must be some sort of problem with the photo upload module.

Are there any floats set in this module?  Is there any CSS applied to images in this module?

I have attached a version with a clear class which you could try, I added it to the container and added the clear class into the skin.css file.

Attachment: 171547781471.zip


Lee Sykes
Site Administrator
Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts
DrakenKorin
DNN Creative Magazine Subscriber
Nuker
Nuker
Posts:16

16 Jul 2008 6:08 AM  
Hi Lee,

Thanks for all your efforts, it is much appreciated.

The problem does not occur with the test skin that you supplied, so I just adapted my skin by cutting a pasting snippets of your code, all's working fine now

I must adimt I'm still a bit stumped in the sence that I fixed the problem, but could not really find the cause in the first place.......I'm propably looking into the back of my eyelids and not spotting the obvious, as such things go lol


Thanks again!  (I often wonder how much of DNN's success is due to this website???)

Regards

Julian
leesykes
DNN Creative Staff
Nuke Master III
Nuke Master III
Posts:3112

17 Jul 2008 11:14 AM  
lol - no problem, glad to help,

Cheers,

Lee Sykes
Site Administrator
Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts
You are not authorized to post a reply.
Forums > Skinning Toolkit > Skinning Toolkit > Please help with CSS container



ActiveForums 3.7

Latest Forum Posts

News&Articles Module by gabrieleseven
Hello, I've created a Portal for news and info about the world of music. I need a module that allow ...
RE: Install DNN.4 on Win 2003 and SQL2000 by jncraig
1. Add a portalalias for your new site's URL before you do anything. 2. Make a backup of your dat...
RE: Custom Module Development by jncraig
I would recommend adefwebserver.com for good information on writing modules. Without looking over...
RE: Dynamic page navigation by jncraig
I take it that you have developed 10 separate pages? Are these pages with a custom module or with c...
RE: Pop up window by jncraig
I believe that ZLDNN (zldnn.com) has a module that will pop up a page or a module. I've not tried i...
Dynamic page navigation by coder247
Hi all,          We are developing a web app using DNN and we've a requirement like this. There are ...
Custom Module Development by neenu
I created my own module using DAL,by adding 4 class files in app_code directory, say alistinfo.vb,al...
Pop up window by yerann
Whenever a page loads in DNN i would like a pop up window to display.  This pop window ask the user ...
RE: Customise registration page by nichord
Thanks Rob... I would have never found this one on my own.And many thanks to you Lee... My print com...
Install DNN.4 on Win 2003 and SQL2000 by amine97
Hi all,I will be working on creating a website on my development server Windows 2003 and SQL Server ...
RE: Dynamically Add modules by jncraig
You can include a module on multiple pages within a portal by selecting "add existing module" on the...
music player, music charts by mrvorazan
hey,i havev to create a music portal, so i need a module to upload music files by users, they have t...
Dynamically Add modules by UmaRam
Hi, Please advice how to add an existing module in a page to another page in the same portal and ...
Dynamically add module by UmaRam
Hi, Please advice how to add an existing module in a page to another page in the same portal and ...
RE: VWD 2008 & SQL Express 2008? by rc_kemal
It is very difficult to convert the database from sql2008 express to sql2005 express. To answer my o...
RE: User Registration Questions by jncraig
I would recommend that you NOT begin your DotNetNuke life by starting to modify any of the code. Ye...
RE: Dotted Lines Around Navigation by HUGHD37IUOE
Here it is: http://www.iuoe.org
RE: Installing on XP Home by nexduke
Hi Yes, I'm using SQL Server Express 2005, what would you suggest I do if it is a configuaration ...
RE: Exporting and transferring Modules. by ollep
Thanks Lee! Yes I will check out the Forum – and the hosts before I sign up.   I expect to see an...
User Registration Questions by stevennestler
Hi.I'm new to DNN, and just watched my first set of videos on this site, for customizing registratio...
DotNetNuke Modules
RSS Feeds