Welcome to Dream.In.Code
Become an Expert!

Join 150,407 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 948 people online right now. Registration is fast and FREE... Join Now!




Menu Design Help

2 Pages V  1 2 >  
Reply to this topicStart new topic

Menu Design Help, User requirement :(

jjsaw5
14 Mar, 2008 - 10:02 AM
Post #1

I must break you
Group Icon

Joined: 4 Jan, 2008
Posts: 1,651



Thanked: 8 times
Dream Kudos: 125
My Contributions
Hey guys,

Heres my situation. Created a menu thats styled with a CSS file, and the menu is in two rows. Is there anyway i can put a white space between the top row and bottom row?

Unfortunately i had the menu in one row with normal sized font and the project manager bitched enough that i now have to make the font bigger, a lot bigger and it's completely screwed the layout of my menu up and this women will not listen to reason and she has the final say so....I gotta do what she wants.

Because the font is so big it's pushed the menu into two rows, and she now wants a white space between the top and bottom row.

Does anyone have any suggestions on how i can do this? I'm ASSuming that I can do this in my CSS file.

here is the CSS code

CODE
.horizontalcssmenu ul{
margin: 0;
padding: 0;
max-width: 200;
list-style-type: none;
}

/*Top level list items*/
.horizontalcssmenu ul li{
position: relative;
display: inline;
float: left;
}

/*Top level menu link items style*/
.horizontalcssmenu ul li a{
display: block;
width: 155px; /*Width of top level menu link items*/
padding: 2px 8px;
border: 1px solid #202020;
border-left-width: 0;
text-align: center;
text-decoration: none;
background: url(untitled.bmp) center center repeat-x;
color: white;
font: 12px Tahoma;

}
    
/*2nd level menu*/
.horizontalcssmenu ul li ul{
left: 0;
top: 0;
position: absolute;
display: block;
visibility: hidden;
z-index: 100;
}

/*2nd level menu list items*/
.horizontalcssmenu ul li ul li{
display: inline;
float: none;
}


/* 2nd level menu links style */
.horizontalcssmenu ul li ul li a{
width: 135px; /*width of sub menu levels*/
font-weight: normal;
padding: 2px 5px;
background: url(untitled1.bmp) center center repeat-x;
border-width: 0 1px 1px 1px;
}

.horizontalcssmenu ul li a:hover{
background: url(untitled1.bmp) center center repeat-x;
}

.horizontalcssmenu ul li ul li a:hover{
background: url(untitled2.bmp) center center repeat-x;
}

User is offlineProfile CardPM
+Quote Post

BenignDesign
RE: Menu Design Help
14 Mar, 2008 - 04:25 PM
Post #2

You say "People are Dumb" like it's a bad thing.
Group Icon

Joined: 28 Sep, 2007
Posts: 1,038



Thanked: 3 times
Dream Kudos: 150
My Contributions
have you tried adding either a bottom border to the top row or a top border to the bottom row, or both?
User is online!Profile CardPM
+Quote Post

capty99
RE: Menu Design Help
14 Mar, 2008 - 05:14 PM
Post #3

the real kya
Group Icon

Joined: 26 Apr, 2001
Posts: 9,260



Thanked: 16 times
Dream Kudos: 550
My Contributions
CODE

border-bottom: 1px solid #fff;

User is offlineProfile CardPM
+Quote Post

jjsaw5
RE: Menu Design Help
14 Mar, 2008 - 07:47 PM
Post #4

I must break you
Group Icon

Joined: 4 Jan, 2008
Posts: 1,651



Thanked: 8 times
Dream Kudos: 125
My Contributions
Alright i will give that a shot tomorrow. Thanks!
User is offlineProfile CardPM
+Quote Post

jjsaw5
RE: Menu Design Help
17 Mar, 2008 - 04:59 AM
Post #5

I must break you
Group Icon

Joined: 4 Jan, 2008
Posts: 1,651



Thanked: 8 times
Dream Kudos: 125
My Contributions
QUOTE(capty99 @ 14 Mar, 2008 - 08:14 PM) *

CODE

border-bottom: 1px solid #fff;




Thanks a lot capty it worked great!
User is offlineProfile CardPM
+Quote Post

jjsaw5
RE: Menu Design Help
17 Mar, 2008 - 10:40 AM
Post #6

I must break you
Group Icon

Joined: 4 Jan, 2008
Posts: 1,651



Thanked: 8 times
Dream Kudos: 125
My Contributions
I have another question for you guys with this menu. There is a table of contents menu and for some reason some of the links on my menu do not work on the "home page" but if you click a link in the table of contents menu and use a link that is broke on the "homepage" it works.

I'm out of ideas, i have an include statement that puts the menu on each page so the code is the same for every page. I'm clueless on this one.
User is offlineProfile CardPM
+Quote Post

BenignDesign
RE: Menu Design Help
17 Mar, 2008 - 07:21 PM
Post #7

You say "People are Dumb" like it's a bad thing.
Group Icon

Joined: 28 Sep, 2007
Posts: 1,038



Thanked: 3 times
Dream Kudos: 150
My Contributions
Are the links from the "homepage" linking to other sections of the homepage?
User is online!Profile CardPM
+Quote Post

jjsaw5
RE: Menu Design Help
18 Mar, 2008 - 03:56 AM
Post #8

I must break you
Group Icon

Joined: 4 Jan, 2008
Posts: 1,651



Thanked: 8 times
Dream Kudos: 125
My Contributions
QUOTE(BenignDesign @ 17 Mar, 2008 - 11:21 PM) *

Are the links from the "homepage" linking to other sections of the homepage?


No they open up things other little windows with information, some open up other programs so people can access forms.
User is offlineProfile CardPM
+Quote Post

thehat
RE: Menu Design Help
18 Mar, 2008 - 04:16 AM
Post #9

D.I.C Head
Group Icon

Joined: 28 Feb, 2008
Posts: 217


Dream Kudos: 100
My Contributions
Do they use javascript to do that? Check that you are including the required functions on that page. Any change of some code or a link?
User is offlineProfile CardPM
+Quote Post

jjsaw5
RE: Menu Design Help
18 Mar, 2008 - 05:21 AM
Post #10

I must break you
Group Icon

Joined: 4 Jan, 2008
Posts: 1,651



Thanked: 8 times
Dream Kudos: 125
My Contributions
I'll run over it again but my menu is its own separate file, and i call it with an include statement so the code is the same through out all of the pages. And other links similar to the ones that are broke work on the homepage as well. Its weird.
User is offlineProfile CardPM
+Quote Post

BenignDesign
RE: Menu Design Help
18 Mar, 2008 - 05:26 AM
Post #11

You say "People are Dumb" like it's a bad thing.
Group Icon

Joined: 28 Sep, 2007
Posts: 1,038



Thanked: 3 times
Dream Kudos: 150
My Contributions
It would probably help tremendously to see the code that isn't working versus similar code that is working....
User is online!Profile CardPM
+Quote Post

jjsaw5
RE: Menu Design Help
18 Mar, 2008 - 08:22 AM
Post #12

I must break you
Group Icon

Joined: 4 Jan, 2008
Posts: 1,651



Thanked: 8 times
Dream Kudos: 125
My Contributions
QUOTE(BenignDesign @ 18 Mar, 2008 - 09:26 AM) *

It would probably help tremendously to see the code that isn't working versus similar code that is working....


Yes i know, the only reason i didn't already post it is because my work has STRICT policies about sharing things that are considered "theirs".

I was just looking for some ideas of things to look at/try.

I apologize for not being able to post code in this situation, i know how much it helps to see it.

This post has been edited by jjsaw5: 18 Mar, 2008 - 08:23 AM
User is offlineProfile CardPM
+Quote Post

2 Pages V  1 2 >
Fast ReplyReply to this topicStart new topic
Time is now: 1/9/09 07:30PM

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month