• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Horizontal CFMENU

Explorer ,
Sep 05, 2008 Sep 05, 2008

Copy link to clipboard

Copied

I know you cannot provide a width attribute to a horizontal cfmenu... so is there no way to spread menu options out evenly across a certain width??? Say you have a menu running horizontally the width of your page layout and you have the following top level navigation: About | Contact | Professional Links Services | Our Team

Is there a way to spread the options apart evenly across 800px or so?
TOPICS
Advanced techniques

Views

711

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Explorer , Sep 05, 2008 Sep 05, 2008
Thanks to both responses. They both were VERY useful. Attached is what I used.

Votes

Translate

Translate
LEGEND ,
Sep 05, 2008 Sep 05, 2008

Copy link to clipboard

Copied

Try adding this to the <head> of the page.

<style type="text/css">
<!--
.yuimenubaritemlabel {
width: 111px !important;
}
.yuimenuitemlabel {
width: 111px !important;
}
-->
</style>

yuimenubaritemlabel is for the top level menu

yuimenuitemlabel is for the drop downs.

--
Ken Ford
Adobe Community Expert Dreamweaver/ColdFusion
Adobe Certified Expert - Dreamweaver CS3
Fordwebs, LLC
http://www.fordwebs.com


"ccsimmons" <webforumsuser@macromedia.com> wrote in message
news:g9r5q0$rpj$1@forums.macromedia.com...
>I know you cannot provide a width attribute to a horizontal cfmenu... so is
> there no way to spread menu options out evenly across a certain width???
> Say
> you have a menu running horizontally the width of your page layout and you
> have
> the following top level navigation: About | Contact | Professional Links
> Services | Our Team
>
> Is there a way to spread the options apart evenly across 800px or so?
>

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Sep 05, 2008 Sep 05, 2008

Copy link to clipboard

Copied

Hi,

See if Ray's nice little hack can help you (I am not sure anyway)

You can have it here

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Sep 05, 2008 Sep 05, 2008

Copy link to clipboard

Copied

LATEST
Thanks to both responses. They both were VERY useful. Attached is what I used.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation