close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Variable widths for menu items

Thread began 10/08/2009 8:42 am by gwh362692 | Last modified 10/09/2009 7:39 am by gwh362692 | 1567 views | 3 replies |

gwh362692

Variable widths for menu items

Hi everyone,

I need each of the menu items to be a similar width to the text that's the label, but it seems that I can only set a width for the entire menu level. I tried using 100% as the width but this causes overlap.

Can anyone tell me if there's a way to achieve this?

Sign in to reply to this post

Jason ByrnesWebAssist

This is not possible to achieve in the menu writer wizard, you will need to modify the menu code after it has been applied.


after the menu is created on the page, you will need to an iinline style to define the width for each individual a tag.

For example:
<li><span><a href="index.html" style="width:50px;">Home</a></span></li>

would set the HOME to 50px, or:
<li class="parent"><span><a href="contact.html" style="width:150px;">Contact US</a></span></li>

would set the Contact Us menu item to 150px.

Sign in to reply to this post

Cologne

Hi, I do it the following, but that takes a lot of time.

I set the width to ZERO(leave it blank). then I center the Link-Text finally I set the padding (left/right) to 20px for example. now, you need to see the live page if the navigation fits. its try and error. the navigation is not to see in dreamweaver :-(



maybe you wish to have this flexible width on each link, and automatic fit to main width of the navigation.

Sign in to reply to this post

gwh362692

Ok thanks for the info

Sign in to reply to this post

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...