Fontsize problem with ASPX pages

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
pposiris
Beginner
Beginner
Posts: 4
Joined: Sat Dec 25, 2004 11:54 pm

Fontsize problem with ASPX pages

Post by pposiris »

Hello,

I have switched from ASP to ASP.Net. The Menu I use was perfectly displayed in ASP, but with the same code in ASP.Net the "Fontsize" command seems not working with the items in the Main horizontal Menu... and all items are displayed with a rather "big" fontsize.

I have no problem with the sub-menu items.

I use IE or AvantBrowser, and the very last Milonic menu version.

Any help will be appreciated...

Thanks in advance :?
pp
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

Got a URL...?
John
pposiris
Beginner
Beginner
Posts: 4
Joined: Sat Dec 25, 2004 11:54 pm

Post by pposiris »

John,

You can see the normal menu display with ASP at:
http://www.acropolis.org/ONU/eng/onu-eng.asp

And the strange ASP.Net effect at:
http://www.acropolis.org/ONU/eng/onu-eng.aspx

The menu files are exactly the same ones in both cases

Thanks
PP
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

PP -

First things first. You're using a beta version of the script (RC50), which is ~70 or more versions down-level. Current is v5.65, which you'll need to pick up and install at http://milonic.com/. We can only support the most current version.

Make sure you read the files that come in the download, as some of the installation procedures and aI syntax have changed slightly.

Let us know how that goes.
John
pposiris
Beginner
Beginner
Posts: 4
Joined: Sat Dec 25, 2004 11:54 pm

Post by pposiris »

John,

I installed the LAST Milonic files on a test server an run my ASPX file... with exactly the same problem...

But I found a workaround. :)

If I set Fontsize=11; or Fontsize="11"; I have the "Big font" problem (display OK in ASP, and very big in ASPX)

But if I set Fontsize="70%"; everything is fine. I have the same good display in ASP and ASPX.

So,...I can work with it, but it would be interresting to understand the source of this behaviour.

Thanks anyway
PP
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

PP -

Where did you get menuweight=?

Even though it's the default, you might want to try specifying px, as fontsize="11px"; .

Code: Select all

aI("text=Home page;showmenu=homepage;;oncolor=cc0000;onbgcolor=cccccc;offcolor=cc0000;offbgcolor=cccccc;;separatorsize=1")
Missing the #, and the statement close is incorrect...

Code: Select all

aI("text=Home page;showmenu=homepage;oncolor=#cc0000;onbgcolor=#cccccc;offcolor=#cc0000;offbgcolor=#cccccc;separatorsize=1";);
Close will always be ";); . Also, the ;; can be changed to ; .
John
pposiris
Beginner
Beginner
Posts: 4
Joined: Sat Dec 25, 2004 11:54 pm

Post by pposiris »

John,

It works also with

Code: Select all

Fontsize="11px";

It seems the default as pixel is not recognized on my system if I omit "px".

Thanks... and thanks also for make me pay attention to the missing "#" in the color code... you helped me to manage another problem I even was not aware of.

PP
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

You're welome.

Glad it's working.
John
Post Reply