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

Horizontal CFMENU

Explorer ,
Sep 05, 2008 Sep 05, 2008
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
753
Translate
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.
Translate
LEGEND ,
Sep 05, 2008 Sep 05, 2008
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?
>

Translate
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
Hi,

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

You can have it here
Translate
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
LATEST
Thanks to both responses. They both were VERY useful. Attached is what I used.
Translate
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