Horizontal CFMENU

This is a discussion on Horizontal CFMENU within the Cold Fusion forums in Application Servers & Tools category; 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?...

Go Back   Application Development Forum > Application Servers & Tools > Cold Fusion

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 09-05-2008, 07:39 AM
ccsimmons
Guest
 
Default Horizontal CFMENU

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?

Reply With Quote
  #2  
Old 09-05-2008, 08:15 AM
Ken Ford - *ACE*
Guest
 
Default Re: Horizontal CFMENU

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


Reply With Quote
  #3  
Old 09-05-2008, 08:31 AM
Daverms
Guest
 
Default Re: Horizontal CFMENU

Hi,

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

You can have it http://www.coldfusionjedi.com/index....aniel-Budde-II
Reply With Quote
  #4  
Old 09-05-2008, 09:35 AM
ccsimmons
Guest
 
Default Re: Horizontal CFMENU

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

..yuimenubaritem {
width: 111px !important;
}
..yuimenuitem {
width: 111px !important;
}
Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 06:05 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.