Another horizontal menu problem

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
User avatar
osn
Forum Members
Forum Members
Posts: 80
Joined: Thu Nov 23, 2006 9:14 pm

Another horizontal menu problem

Post by osn »

Hi! I have seen that there is many topics about this kind of question but I can't find anything that fits with my problem.
I have made totally new templates and stylesheets to replace the theme "flowered" as I used in the beginning but had big troubles with, so this is NOT the flowered template or CSS that I've been using. At moment this flower photo is just more or less a placeholder that I'm using until my own logo is done.

My problem is that I have a fixed size at my page that is for the content and that a small part (about 19px both to the right and to the left) is used for making a shadow on both sides. The problem here is that I can't make my menu behaving within the parts that I want. I can't make it have a (mabie it is not exactly) 10px margin both to the right and to the left, since it dosn't work to set margins from 2 sides with the menu (at least not as I solved it). I can't set a fixed size in px and put it centered but I can't figure out why but this is probably the easiest way to solve it since I'm using a fixed width at my pages. Is there anyone who knows how this could be solved?

Here is a screenshot picture:
Image

The reason that I made a photo of it was that I work alot with my page at the moment so a link might not show what I mean while I work withthe page. Here is a link if you want to take a better look: www.dartfrog.tk/cms

Here is the position settings I'm using in my stylesheet while the screenshot was taken:

Code: Select all


 #menuwrapper
 {
        width: 600px;   
        overflow: hidden; 
        background-color: #4D80B9;
        border-bottom: 0px #385C72;
        margin-left: 10px;
        font-size: .65em;
        color: white;
             
        }
 
Last edited by osn on Thu Dec 14, 2006 12:24 pm, edited 1 time in total.
Dennis Nilsson, Sweden
www.dartfrog.tk
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Another horizontal menu problem

Post by Dr.CSS »

That was at the bottom of another CSS, in red, the menu has a call for it also and it was messing you up, try this, in blue...

#menuwrapper
{
        width: 600px;
        overflow: hidden;
        background-color: #4D80B9;
        border: 1px solid #385C72;
        margin-left: 10px;
        font-size: .65em;
        color: white;
           
        }



/* */


/* End of 'dartfrog_tk_2columns' */

/* Start of CMSMS style sheet 'Navigation: CSSMenu - Horizontal' */
/* Horizontal menu for the CMS CSS Menu Module */
/* by Alexander Endresen */

#menu_vert {
  margin-left: 1px;
  margin-right: 1px;
}

/* The wrapper clears the floating elements of the menu */

/* Fix for Opera 8 */
.clearb { clear: both; }
#menuwrapper {
  /* Fix for Opera 8 */
  /*  overflow: hidden;  */
  background-color: #ECECEC;
  border-bottom: 1px solid #C0C0C0;
  width: 928px;
  margin-left: 11px;
}
User avatar
osn
Forum Members
Forum Members
Posts: 80
Joined: Thu Nov 23, 2006 9:14 pm

Re: Another horizontal menu problem

Post by osn »

Dhhaaaaaa! I'm so stupid. I must have spent at least 3-5 hours with trying to find out why that "crappy" menu dosn't take my commands. I never even had a thought of that the 'Navigation: CSSMenu - Horizontal' was attached to that template and it had the same settings!!

Thank you Mark! your support here is really super!
Dennis Nilsson, Sweden
www.dartfrog.tk
ImmortalSon
Forum Members
Forum Members
Posts: 31
Joined: Thu Feb 08, 2007 1:04 am

Re: Another horizontal menu problem

Post by ImmortalSon »

Hi osn...

I have just come across your forum entry there because I am having serious problems with the 'Flowered' template.  I have copied over the files and copy/pasted the template details but still cannot seem to get the drop down menu working at all.  I fear I may have deleted a pre-requisite CSS template or something.

Anyway, I had a look at your result at http://dartfrog.tk/cms/  now that you got it working.  Could you possibly export the fully functioning Theme as an XML file, and send it to me?  Any help would be greatly appreciated.

R.
Post Reply

Return to “Layout and Design (CSS & HTML)”