www.webdeveloper.com
Results 1 to 2 of 2

Thread: Sytling select boxes

  1. #1
    Join Date
    Jun 2014
    Posts
    10

    Sytling select boxes

    Hey everyone,

    I'm trying to style a select box to make it match my input box but it isn't working like I thought it would. I have been out researching but everything I see is in CSS (I don't know CSS) yet.
    Here is an example of my input box:

    <label for"TxtName">Name:</label><INPUT STYLE="font-size:18;height:30;width:450;border:3px outset" TYPE="TEXT" NAME="TxtName" align="center" value="" onfocus="this.value='';">

    now this works like I want to put a border around my box. Here is what I am trying with the select box:

    <label for="Organization">Organization:<label><select name="Organization:" style="font-size:18;height:30;width:450;border:3px outset" id="selectBox1" onchange="changeFunc1(this.value)" size="1" >

    Maybe somebody can clue me in, I don't mind using CSS, I understand it some but not enough I guess.

    Thanks in advance!
    Rick

  2. #2
    Join Date
    Sep 2008
    Location
    Akron, OH
    Posts
    1,112
    They seem to be styling the same for me:

    http://codepen.io/anon/pen/yCEKe

    I did have to close your select box though.
    I'm always up for networking with fellow web professionals. Connect with me on LinkedIn if you like!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles