Lisa, On 8/3/05, Lisa Carter <[EMAIL PROTECTED]> wrote: > I am a newcomer that is working on a project using vb.net and asp.net. We > are using CSS to format our web forms. I have been able to get the text in > the label and textbox controls to center align and would like for the items > in the dropdownlist to be centered as well.
I haven't found any browser that will do this under any circumstances, and I tested all the browsers on my mac. You could possibly use javascript to dynamically replace the select with a ul and populate a hidden field, but I think talking your boss out of this is a better solution. The user of this page will expect menus to be left aligned because they are everywhere else on her/his computer. A centered dropdown just won't look 'normal' to them. Making users uncomfortable is often a bad idea, especially if you are trying to sell them something :-). ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
