Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Help with CSS and HouseMenu?Help with CSS and HouseMenu?
Previous
 
Next
New Post
5/25/2006 7:07 PM
 

Can anyone please help me at all with a CSS problem?

I am using HouseMenu set horizontally, the sub pages have rather long titles and IE displays these as intended but in Firefox the text goes outside the box (I would rather the box extends).

I have only altered the css very slightly for pure cosmetic reasons, so is there a known hack to allow this?

I can't put pictures on this forum so here are some links for you to see what I mean.

IE Displays as this

Firefox displays as this

The style sheet in use

CSS is not my strong point so any help or tips would be greatly appreciated.

 
New Post
5/25/2006 7:50 PM
 

I had a quick look at your code - I don't use the house menu much but I think it's a good menu though but my current projects don't require it.  I think you're going to have to look at the widths.  Do a search on the word width and I think you'll find differences there from 148 to 250 - not sure this is just a guess.

However, can I suggest couple of things - contact the developer - they know their product..

AND.. this has had alot of work to make work- sometimes these minor adjustments create more headache. 

I know there are a few users of this menu who might be able to give you more of an answer, since I've not used it but can see some finely tweaked code in the CSS to make it work.

How does it work when you run it as it is?

Nina Meiers


Nina Meiers My Little Website
If it's on DNN, I fix, build, deploy, support,skin, host, design, consult, implement, integrate and done since 2003.
Who am I? Just a city chic, having a crack at organic berry farming.. and creating awesome websites.
 
New Post
5/26/2006 3:29 AM
 
Hello,

Looking at the code, you have taken one of the default styles from the HouseMenu, there is something you need to do and test your site in IE7. - Unless the code has been updated, it displays incorrectly in IE7 due to the hacks used. (When Tim created HouseMenu, IE7 didn't exist and I know he is currently working on a solution.)

I have not yet had time to look into getting a horizontal menu working with drop downs, but this site provides code examples which you should be able to adapt for the HouseMenu.

http://css.maxdesign.com.au/listamatic/

There is a list of Horizontal menus which you can view. - These menus provide the CSS coding for styling an unordered list, which is exactly what the HouseMenu produces.

Make sure you test your skin in IE7 and the various other browsers for any compatibility issues.

In the example you've posted Firefox is the browser that is displaying correctly, IE is wrong in that it expands to the width of the content which it is not supposed to do, so if you get your site working in Firefox, all other browsers are much more likely to display correctly.

When I first approached the HouseMenu I basically stripped out all of the CSS and started from scratch because there are a lot of hacks used in the example and it's easier to control and understand when you create it yourself.

Looking at the code for some vertical menus I have created I have not specified any widths in the actual menu code. - The width of the menu comes from the div element that holds the menu. Here is an example of a vertical menu which may help you to get started.

/* =========================
    CSS STYLES FOR HouseMenu Skin Object
   =========================
*/
/* Vertical Menu */
#HouseMenuNav
{
    /* menu wrapper div */
    border-top: solid 1px #003;
    border-bottom: solid 1px #003;
    margin-bottom: 10px;
}
#HouseMenuNav ul
{
    padding: 0;
    border: 0;
    margin: 0;
    list-style: none;
}
#HouseMenuNav li
{
    /* all list items */
    /* border around each main menu item */
    border-bottom: 1px solid #ED9F9F;
    /* added for opera browser to remove bullets on lists */
    list-style: none;
}
#HouseMenuNav li a:link, #HouseMenuNav li a:visited
{
    /* main colour of the menu */
    margin: 0;
    display: block;
    padding: 5px 5px 5px 0.5em;
    border-left: 12px solid #711515;
    border-right: 1px solid #711515;
    background-color: #95353D;
    color: #FFF;
    text-decoration: none;
    /* added for opera */
    font-size: 100%;
    /* IE5.01 hack to remove large white gaps in menu */
    height: 1px;
    voice-family: "\"}\"";
    voice-family: inherit;
    /* for IE6+ and all other browsers */
    height: 100%;
}
#HouseMenuNav li a:hover
{
    background-color: #711515;
    color: #FFF;
}   
#HouseMenuNav ul ul
{
    /* second level menu items */
    margin-left: 12px;
}
#HouseMenuNav ul ul li
{
    border-bottom: 1px solid #711515;
    margin: 0;
    list-style: none;
}
#HouseMenuNav ul ul a:link, #HouseMenuNav ul ul a:visited
{
    background-color: #ED9F9F;
    color: #711515;
}
#HouseMenuNav ul ul a:hover
{
    background-color: #711515;
    color: #FFF;
}


The best tip I can give is to download the developers toolbar and then use the edit CSS function to edit your CSS live on the website, this way you can strip everything out without affecting the actual file and run tests on your CSS code, you can download it from:

http://chrispederick.com/work/webdeveloper/


Lee Sykes - DNN Creative Magazine - 600+ Video Tutorials, Articles, Interviews - July Issue 58 out now!
DNN Creative Magazine for DotNetNuke

Twitter: www.twitter.com/DNNCreative

Lee Sykes's Facebook Profile
 
New Post
5/27/2006 4:17 AM
 

Any further posts regrding developers third party products will be deleted.  This forum is for DotNetNuke related skinning issues and this is not the first time issues regarding third party controls has been risen.  Further posts will be deleted.

Please go to the developers site for support and questions.

Thank you

Nina Meiers


Nina Meiers My Little Website
If it's on DNN, I fix, build, deploy, support,skin, host, design, consult, implement, integrate and done since 2003.
Who am I? Just a city chic, having a crack at organic berry farming.. and creating awesome websites.
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Help with CSS and HouseMenu?Help with CSS and HouseMenu?


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, 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 DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out