close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Static menu options are bold while dynamic options are not

Thread began 1/14/2010 4:44 pm by sandy170299 | Last modified 1/15/2010 1:56 pm by neilo | 1096 views | 6 replies |

sandy170299

Static menu options are bold while dynamic options are not

I have just started working with CSS Menu Writer (I love it, by the way), and I'm not sure how to accomplish something, or maybe what I did wrong. I am creating a site (it's not live - on my local system only) with both static and dynamic menu items. The structure is working perfectly, but if I select a page with one of the static links, all of the menu items appear bold. They are only working correctly (bolding only the "current" menu item) on the dynamic pages only. What am I missing? Is there something special I need to do with it?

Thanks!

Sign in to reply to this post

neilo

Hi Sandy,

Just posting to prevent your post slipping away, really.

It would be worth checking the styles that have been applied to your menu in your 'menu.css' stylesheet in the CSSMenuWruter/cssmw0 (or whatever number it finishes with) folder.

Check the values of the ul#cssmw0 > li > a { item, look for the property, 'font-style: ;'
(normal, bold, underline).

If it is set to 'Normal', then the bold style may be being applied at the point it is being input to your database table. Check that there hasn't been a bold attribute applied to the insert or update fields that is being passed as formatted entry in to yor database.

Have a look in your database and see if the data is being stored with source formatting.

Sign in to reply to this post

Eric Mittman

Without a specific example to work with it will be hard to determine what the cause of this might be. If you can please post back with a link to this on a live site somewhere, even if it is just a test directory. This will help us to understand the nature of the issue and perhaps where to look for the problem. If we need to exchange some files in private like the db I can open a ticket for you on this.

Sign in to reply to this post

sandy170299

Neilo, the menu items that are being bolded are static items only. They are not in my database and there is no special HTML associated with them. The <li> tag that surrounds the static menu items does not have a class associated with it.

Eric, I'll have to wait until I build one that is live and not on my local testing server to see if it happens again.

Sign in to reply to this post

Eric Mittman

Let us know when you get it up somewhere that it can be seen. Neilo, feel free to jump in with any more insight if you have any ideas on this.

Sign in to reply to this post

sandy170299

Do you want to take a look at my code?

Sign in to reply to this post

neilo

I suppose that as a bold attribute is being applied somewhere, and that as the menu items are static, then the source formatting can only be being applied to the ul, li or contained text, or to the div or element that is containing it.

So if it isn't being applied to the ul, li, or individually in-line to the text in the list, then you should check the styles applied to the containers that they are in (which also might be inheriting the style from the containers that they are in!)

When I find it hard to trace where a style is being applied, I sometimes resort to opening the linked stylesheets (in this case the menu.css file for the 'included' menu and whatever stylesheet is attached to your page) and do a 'find' for 'bold' (in the css), and <b> or <strong> in the page itself.

Probably not the pro way of doing things, but it usually pays off if I'm at a total loss!

And - as Eric says - it would be easiest to trace if you could upload the menu temporarily so that we could follow the clues from there.

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