Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:09

<BR> tag in menu items


Poster: trevc
Dated: Thursday March 30 2006 - 23:01:02 BST

Our website was designed with long entries to have <BR> tags in them.

i.e.
Check out the blue Nav on the left side
http://www.transcanada.com/

Items like the 'Investor Centre' menu have long entries so have had the <BR> tag inserted.

Everything works fine in I.E. 6, but in FireFox (1.5.0.1 / Windows) the lines look like they're rendered on top of each other.

Is HTML in the item a no-no or is this a bug/feature in FireFox?

I tried the work-around of removing the <BR> but in FireFox, the text just gets cut off, but again is fine in I.E.


Suggestions?
thanks
./tc


Poster: Ruth
Dated: Friday March 31 2006 - 4:27:43 BST

Hi,

You are using a beta menu, a release candidate before the actual release came out when the testing was being done, it is also unlicensed. Even if it were licensed there is no way we could help since we'd have no clue how the program worked back 3 years ago.

http://www.milonic.com/licensing.php

You'll need to get a licensed menu and then we'd be able to help, and the new version may have fixed whatever the problem is.

Ruth

same issue..


Poster: trevc
Dated: Friday March 31 2006 - 17:16:39 BST

I was testing with the latest, didn't realize the prod files were so out of date and obviously reflected the one of the original web developers version of the source files without our license information. These have been updated.

Our License is seen here:

http://www.milonic.com/list/index.php?g ... ransCanada


Still same issue.


Poster: Ruth
Dated: Friday March 31 2006 - 18:09:32 BST

Hi Trev,

It's because you have a div in the item and have the div size specified with height:20px; so FF is fixing that absolutely at 20px and when the item wraps it is not letting the menu's usual built in sizing make that div higher, if you remove the height from any of the items that have a the break in them they stop overlapping.

I'm not exactly sure why you have the divs in the item, but there are menu properties for those things which could be applied in the subMenuStyle section.

itemwidth=160; itemheight=20; and there is a property called rawcss which allows you to put in css styles so you could put in the left and right padding, you can also design the menu using css.

http://www.milonic.com/styleproperties.php

http://www.milonic.com/menuproperties.php

http://www.milonic.com/itemproperties.php

http://support.milonic.com/beginners/css_styling/ toward the bottom are examples

Hope this helps.


Ruth

Thanks.


Poster: trevc
Dated: Friday March 31 2006 - 18:22:27 BST

Seems so straight forward when someone shows you! ;-)

I haven't done much with Milonic except implement a path variable for multi-level sites so left the original design to the contracted web developer.

I hate these kinds of things because it confirms there is a huge discrepency between the browsers out ther ... in my mind, Firefox was rendering it correctly and I.E. wasn't, even though I.E. from a user-perspective would be considered right!

I'll definately simply the design of the menu and get rid of the DIVS.

Thanks for the prompt (and correct) reply!


Poster: Ruth
Dated: Friday March 31 2006 - 18:44:48 BST

Hi,

You're welcome. And yes FF is doing it correctly based on css, however :) I think the problem is css. Just my opinion, since what happens for visually impaired users who set their fonts very large or 300% or something like that? The css has just prevented them from being able to read whatever is in that div since it will not expand to let it fill with the text. From a user's perspective that little correction thing IE does is really nice. And, from a web user's perspective for all of us out here who are not web design specialists, who don't have the knowledge, nor the time nor the ability to learn the 'gobbledy gook' specialized field of css which has become so cumbersome that it is only useful to those who are actually in that specialized field, having a browser do a 'correction' is nice.

Having said that, IE does tend to have too much of that, I mean the basic coding shouldn't be 'corrected' so the person can at least be required to learn the basics.

I know I'm in a very small minority group with this opinion :) but what's happening with the web is getting so that the novice can no longer create their website since most of the browser are making them almost not useable unless the person trains in css. In my mind that is limiting the web instead of fulling what it was supposed to be this wide open wonderful place for anyone.

Ruth


Poster: Migru
Dated: Friday March 31 2006 - 19:37:04 BST

Hi Ruth

its a matter for (and of) real good tools to help design pages. so your fears

Quote:
who are not web design specialists, who don't have the knowledge, nor the time nor the ability to learn the 'gobbledy gook' specialized field of css which has become so cumbersome that it is only useful to those who are actually in that specialized field,


should not really be proved true. Look at the menu system, isnĀ“t it one of the best examples, what could be achieved without real knowledge of scripting and css??

Cheers
Michael