Set font size of a WebPopupMenu at runtime

I’, trying to set the font size of a WebPopupMenu at runtime without using styles.

I seems like the tag doesn’t work for WebPopupMenues, and I’m not able to figure out how to use ExecuteJavascript() to solve the problem.

Any ideas?

What is wrong with a webstyle ?

Dependant on the plattform, user preferences or resolution, I like be able to set the font size of the WebPopupMenu control. To have a number of pre-defined font sizes i web-styles is not very elegant.

So, I’m looking for a way to set the font size at runtime.

I have found a way to change font size for WebTextField, WebTextArea and WebListbox, but not for WebPopupMenu.

Users can set their browsers to display things larger if they want to. I haven’t tested if a web project respects this, but you may not need to.

I know that I can increase and decrease the size of a web page in the browser. And yes, that works for web projects.

But that is not what I’m looking for.

My point was the user can already control it and you don’t need to implement anything.