Forums
>
DotNetNuke®
>
DotNetNuke® Questions
Can't get container to go 100% height
Last Post 12/15/2010 2:21 PM by
Joseph Craig
. 9 Replies.
Author
Messages
Web Services
Nuke Master
Posts:322
12/14/2010 5:14 PM
I have a container div that repeats a background image so content can be dynamic. The problem is, my container div is not stretching it's height properly so the divs within it spill over. I have tried height 100 and overflow auto and visible. My layout is something like this
<!-- has its own background image fixed height--> header stuff...
<!-- has the repeating image -->
Our menu stuff here
my main content pane
I have attached my actual skin and css files. To see the problem in action go here
http://temp.buzzsmarine.com/ContactUs.aspx
Joseph Craig
DNN MVP
Posts:11667
12/14/2010 7:01 PM
Is this fixed, or am I nut understanding the problem?
Joe Craig,
Patapsco Research Group
Complete DNN Support
Joseph Craig
DNN MVP
Posts:11667
12/14/2010 7:05 PM
Ah, I think I just saw it ...
Joe Craig,
Patapsco Research Group
Complete DNN Support
Web Services
Nuke Master
Posts:322
12/15/2010 8:21 AM
So, any suggestions?
Joseph Craig
DNN MVP
Posts:11667
12/15/2010 10:40 AM
Looks ok in IE 7&8. Fails in FF and Chrome.
I'll try to look some more tonight.
Joe Craig,
Patapsco Research Group
Complete DNN Support
Web Services
Nuke Master
Posts:322
12/15/2010 10:48 AM
I appreciate it. I just got thrown this by our gd person and she is training on it tomorrow!
Joseph Craig
DNN MVP
Posts:11667
12/15/2010 2:08 PM
For starters, you have head and body tags in your skin. This results in multiple head and body sections in your pages. This is not going to work well.
Also, it appears (I haven't worked through all of the complicated javascript stuff in the skin) that you might be using javascript to populate some of the interior parts of the skin. I'm not sure, but this might complicate things.
If I were you, I'd strip out as much as possible and start with a more basic skin until you have the basics worked out. Then you can start adding back the other stuff.
Joe Craig,
Patapsco Research Group
Complete DNN Support
Web Services
Nuke Master
Posts:322
12/15/2010 2:14 PM
Thanks for the info, I don't usually build skins so I don't know those kinds of things
. I'm pretty sure the JS is just for the menu in the top right corner, but I'll remove everything just to be sure. I'll let you know what I come up with.
Joseph Craig
DNN MVP
Posts:11667
12/15/2010 2:19 PM
There are some exceptionally good tutorials here on the topic of skinning.
It might be good to look at these two:
DotNetNuke ASCX Skinning for Professional Skinners
DotNetNuke Nav Menu
And then these:
Nav Menu v2 for DotNetNuke v5
Skin Object Tokens for DotNetNuke 5
Super Stylesheets Skinning in DotNetNuke 5 - DNN Layouts
DNN Garden - DDR Menu for DotNetNuke
I strongly recommend the DNN Garden menu!
Joe Craig,
Patapsco Research Group
Complete DNN Support
Joseph Craig
DNN MVP
Posts:11667
12/15/2010 2:21 PM
Move all of the styles out of your skin and into skin.css.
Give all of your elements ids so that it's easy to find and style them, too.
Joe Craig,
Patapsco Research Group
Complete DNN Support
Forums
>
DotNetNuke®
>
DotNetNuke® Questions