Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:21

extra pixel on the left side of the left nav


Poster: cubefree
Dated: Saturday July 3 2004 - 0:03:40 BST

http://cubefree.com/clients/star/dev/

On this page's left nav (see apple), you'll notice a one pixel black line (bgcolor set to black so you can see what I'm talking about). The imagewidths and menuwidths are 143, yet a screen shot proves the Milonic menu is setting the menu at 144 wide.

So, where is this extra pixel coming from?? Any takers?
Additionally, itemproperty: imagealign does not seem to work anymore... moderators?

I'm using IE6, Win2000, Version 5.31a - Built: Friday July 2 2004 - 10:43

Thx!

Code:
with(milonic=new menuname("Main Menu")){
style=menuStyle;
top=145;
left=10;
menuwidth=143;
alwaysvisible=1;
orientation="vertical";
align="left";
aI("image=images/nav/left/top.gif;imagewidth=143;imageheight=73;");
aI("image=images/nav/left/learn_more.gif;imagewidth=143;imageheight=14;");
aI("image=images/nav/left/top_nav.gif;");
aI("image=images/spacer.gif;imagewidth=143;imageheight=14;bgimage=images/bkgd/left_nav.gif");
}


My style is only...
Code:
with(menuStyle=new mm_style()){
offbgcolor="#000000";
}


NOTE: the last image is a background image and that butts up against the left margin -- that stops the black line from continuing.


Poster: Ruth
Dated: Saturday July 3 2004 - 1:01:39 BST

It's coming from your css file.

Code:
TD {
   PADDING-RIGHT: 0px; PADDING-LEFT: 1px;
That's because this is a general css coding not a class so the menu seems to read it. Once I made that 0px the extra pixel in the menu went away.

Ruth


Poster: cubefree
Dated: Monday July 5 2004 - 22:42:40 BST

ah of course!

I'll try the rawcss attribute.

Thanks!