close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

IE 6 problem & style ?

Thread began 4/22/2010 4:43 pm by michellemoose405915 | Last modified 5/07/2010 6:07 pm by michellemoose405915 | 2005 views | 6 replies

neilo

Hi Michelle and Eric,

It's as much a problem with the maths as it is with the CSS, (this exact menu problem has cropped up here before).The size you are seeing is the max you can get with 9 menu items and with the image files that are provided:

navbar div = 920px wide
left.jpg and right.jpg : (28px + 28px) x 9 = 504px

That leaves 416/9 = 46px (maximum) per item background hightlighted effect, with 2px to spare (which accounts for the space at the far right of the navbar div).

The left & right.jpgs should ideally have been provided as the narrowest possible width (6px) for optimum flexibility to account for menus that might have more items in them. The 28px is unnecessary and somewhat limiting.

You can sort it, but you need to crop the two mentioned jpgs to 6px wide - being careful to crop to the correct side. (Two attached if you need them).


1. Crop the left.jpg and right.jpg images in your > cssmw_images folder to 6px wide (or replace them with the two attached)

2. To correct the 2px gap, adjust the #navbar rules in the cssmw/menu.css:


#navbar {
height: 38px;
background-color: #036; /* remove this */
background-image: url(CSSMenuWriter/cssmw_images/bg.jpg); /* add this */
background-repeat: repeat-x; /* add this */
padding-left: 1px; /* add this */
}


This gives:


#navbar {
height: 38px;
background-image: url(CSSMenuWriter/cssmw_images/bg.jpg);
background-repeat: repeat-x;
padding-left: 1px;
}



Example of outcome here.

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...