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:2318


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:3314

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

Twitter: www.twitter.com/leesykes

Lee Sykes's Facebook Profile
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:3314

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

Twitter: www.twitter.com/leesykes

Lee Sykes's Facebook Profile
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:3314

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

Twitter: www.twitter.com/leesykes

Lee Sykes's Facebook Profile
You are not authorized to post a reply.
Forums > Skinning Toolkit > Skinning Toolkit > Please help with CSS container



ActiveForums 3.7

Latest Forum Posts

RE: Need Help Changing Containers Contentpane's Text Color by leesykes
The default class for a container is .head so you will find that the .head class will override any s...
RE: Module not working when logged off. by t.ramya85
have to set the cache time to '0' in that module setting.
Trouble installing! Designer trying to be a Developer. by awright14
Hi Everyone,Just to let you know, I'm very new at this - very new to any type of dev environments in...
Skim Question by tlsadler
I've been going over your videos on skinning and may have missed something somewhere.Can you use the...
Include in Menu - Weird Request by nichord
I have a request from a customer that has put me at odds.  The customer has a lot of child pages to ...
RE: Need Help Changing Containers Contentpane's Text Color by CROKeefe
RE: Need Help Changing Containers Contentpane's Text Color by CROKeefe
I'm also having similar issues. While the .Normal helps most of it, the H1-H6 and the TITLEs for eac...
RE: Vertical SolpartMenu by y_knight
hi ... am new in DNN and i have installed Dnn and i work fine but i have 1 think to ask why i can n...
RE: Cannot view host filespace using text/html editor by NonStopMark
Hi Joe, The problem has gone away. May have been a caching issue. Thanks for posting. DNN : ht...
Firefox Does Not Display WMV File In Media Module by johnmk777
Hi All,I can't believe I am having such a hard time finding and answer to this question.  I have see...
advice wanted convert site to DNN while keeping existing asp functionality by max2o
I am running into the issue that a client wants to redesign their site and they want content managem...
RE: Site is not opening by leesykes
from the message it is referencing php - is it a dnn site? - is asp.net applied for the site?
RE: SolPart Menu Font Color Control by leesykes
Hello,I'm not aware of any documentation at the moment. But here is a list of Nav Menu PropertiesTo ...
Site is not opening by kaustav_kar
Hi,Whenever I'm writing the url (http://tajfood.com.sa) it's showing the following error; Index of ...
RE: SolPart Menu Font Color Control by cdees
 Lee, Is there documentation, or perhaps a tutotial on activating and using Nav menu?  Where would I...
RE: EasyCGI help? by Dr Joe
I found some interesting posts on some other sites that explain some of the challenges I've been exp...
RE: Menu's, menu's, and more menu's! by roadshow41
Thanks! I'm still a bit curious about some of the other options, but I think that gives me enough c...
RE: Menu's, menu's, and more menu's! by leesykes
Hello,Yes that should be possible with snapsis, I have used snapsis CSS with flyout menus on a horiz...
RE: Menu's, menu's, and more menu's! by roadshow41
I typically end up using a hybrid of a vertical menu and a horizontal menu due to the sheer number o...
DotNetNuke SEO (Search Engine Optimization) by leesykes
Hello,I regularly get asked for tips on SEO with DotNetNuke, there are several resources available o...
AppTheory
RSS Feeds