Announcement

Collapse
No announcement yet.

Drop down box properties

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Drop down box properties

    Hi

    I am trying to put a drop down list on my site, using dreamweaver as my tool to do this. Question, how do i set the font size, colour, and background colour to the box.

    Below is the code for the list so far...

    <select name="select" size="0">
    <option value="www.1" selected>Forthcoming</option>
    <option value="www.2">Catalogue</option>
    <option value="www.3">Unsigned Artists</option>
    <option value="www.4">Independent</option>
    </select>


    Thanks, Steven

    #2
    Hi Steven

    As far as I know in HTML, you cannot change font size, color or the background color of the drop-down box.
    Kiran Chandran
    Technical Support - SellerDeck
    http://www.sellerdeck.co.uk/

    Further help can also be found at http://community.sellerdeck.com/forumdisplay.php?f=27

    Comment


      #3
      Hi,

      Have you tried using CSS?

      You may want to check out this link:

      http://www.macromedia.com/devnet/mx/...css_forms.html

      Hope this helps.

      IMIS
      IMIS
      www.crombie.co.uk
      www.bonasana.com
      www.discount-aromatherapy.co.uk

      Comment


        #4
        You can use inline style like this

        Code:
        <select style="font-size: 48px; font-family:garamond; color:green; background:yellow" name="select" size="0">

        or if you've lots of these selects then refer to a class in a CSS file.

        e.g.

        <select class="myselectstyle" name="select" size="0">

        Norman
        Norman - www.drillpine.biz
        Edinburgh, U K / Bitez, Turkey

        Comment

        Working...
        X