Style for drop down list

M

McEve

Hi,

How can I set a style on a drop down list in a form? I wish to set the
border to a certain color.

What works on other form elements:

..formborder {
border-color : #1A2F80;
border-style : solid;
border-width : 1px;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 9px;
font-weight: normal;
}

Does not seem to work on the drop down list...

Thanks for any help you might be able to provide.
 
D

David Bartosik - MS MVP

fyi, this forum is for supporting users of Microsoft Publisher, for talking
code you'd be better served in an html forum.

now the first thing that comes to me is did you try putting the drop down in
a div or table?
the prior would have plenty of border options.
 
M

McEve

Oh, sorry - I should have noticed the "Publisher" and not only the
webdesign... Thank you for still answering my post.

The drop down is an <option> inside a <select> inside a <form> inside a
<table>. I've set the class on both option and select - but the drop down
box does not accept the border. All other form elements do.... If I set the
class on a higher level I'll get the border on the Form or table - neither
which is desired.

Which group would be the right one to post this question on? I tried
searching for HTML in my list, but couldn't really find one appropriate...

Thank you!
 
D

David Bartosik - MS MVP

You'll have to get outside the Microsoft community servers, it's groups are
product specific.
You want public groups, some I've seen are-
alt.html
alt.html.editors.webedit
alt.html.server-side
alt.html.tags
alt.html.webedit
alt.html.writers

Typically your ISP has a specific news server address for you to use to
access public groups, if not go to google groups.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top