Menu Question
Hi I am testing out a new menu located at
http://djshawnmichaels.com/testmenu/
Please notice the extra space on the far right end, is there a way go make that flush with the page?
Here is the CSS Code:
HTML Code:
#chromemenu{
width: 768px;
}
#chromemenu:after{ /*Add margin between menu and rest of content in Firefox*/
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden;
}
#chromemenu ul{
border: 1px solid #BBB;
width: 100%;
background: url(chromebg.gif) center center repeat-x; /*Theme Change here*/
margin-left: 0;
padding-left: 0;
margin: 0;
float: left;
font: bold 12px Verdana;
}
#chromemenu ul li{
display: inline;
}
#chromemenu ul li a{
float: left;
color: #7F7F7F;
font-weight: bold;
padding: 6px 12px 6px 13px;
text-decoration: none;
background: url(divider.gif) center right no-repeat; /*Theme Change here*/
}
#chromemenu ul li a:hover{
color: #494949;
}
#chromemenu ul li a[onMouseover]:after{ /*HTML to indicate drop down link*/
content: " v";
/*content: " " url(downimage.gif); /*uncomment this line to use an image instead*/
}
/* ######### Style for Drop Down Menu ######### */
.dropmenudiv{
position:absolute;
top: 0;
border: 1px solid #BBB; /*Theme Change here*/
border-bottom-width: 0;
font:normal 12px Verdana;
line-height:18px;
z-index:100;
background-color: white;
width: 200px;
visibility: hidden;
filter: progid:DXImageTransform.Microsoft.Shadow(color=#CACACA,direction=135,strength=4); /*Add Shadow in IE. Remove if desired*/
}
.dropmenudiv a{
width: 100%;
display: block;
text-indent: 3px;
border-bottom: 1px solid #BBB; /*Theme Change here*/
padding: 2px 0;
text-decoration: none;
font-weight: bold;
color: black;
}
.dropmenudiv a:hover{ /*Theme Change here*/
background-color: #F0F0F0;
}
Try adding margin-right: 0 and padding-right: 0 to #chromemenu ul.
KDLA
FYI
* My screen resolution is set at 1680x1050
* I'm accessing your site through a T1 line
* I'm probably viewing it using Firefox (unless browser is specified)
That didn't sem to work
Try deminishing the padding on the right and left sides..
#chromemenu ul li a{
float: left;
color: #7F7F7F;
font-weight: bold;
padding: 6px 11px 6px 12px;
text-decoration: none;
background: url(divider.gif) center right no-repeat; /*Theme Change here*/
}
Do you mean by diminishing = taking out? If so I did that and it just moved everything to the left.
I think he/she meant the opposite: add some more horizontal padding to each element so the entire menu will stretch to 100%;
FYI
* My screen resolution is set at 1680x1050
* I'm accessing your site through a T1 line
* I'm probably viewing it using Firefox (unless browser is specified)
I added more padding, if I add 14 I think the menu will turn into a 2 liner, but what I did is add some to the text for the menu and that lenghened it, but not how I want it, there is still a little gap
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Rules
Bookmarks