extra pixel on the left side of the left nav

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
User avatar
cubefree
Super Advanced
Super Advanced
Posts: 82
Joined: Fri Aug 01, 2003 3:16 am
Location: Seattle, WA
Contact:

extra pixel on the left side of the left nav

Post by cubefree »

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: Select all

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: Select all

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.
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

It's coming from your css file.

Code: Select all

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
User avatar
cubefree
Super Advanced
Super Advanced
Posts: 82
Joined: Fri Aug 01, 2003 3:16 am
Location: Seattle, WA
Contact:

Post by cubefree »

ah of course!

I'll try the rawcss attribute.

Thanks!
Post Reply