SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    blonde.... Sarah's Avatar
    Join Date
    Jul 2001
    Location
    Berkshire, UK
    Posts
    7,442
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    changing text format in select boxes with NS4.08

    I am trying to alter the font format and size in a select drop down box in NS 4.08. I have used an external css with this code

    select.text{
    color:#000000;
    font-weight:normal;
    font-family:verdana,sans-serif;
    font-size:10pt;
    background-color:#F1F4FF;
    }

    and used the class on the select statement, but the textsize stays really big..?

    Now I have used the same principle with the text box and that works fine...?!

    Anyone have any ideas of what I can try? It seems to work in all other versions of NS so its just NS4.08

    thanks

    Sarah
    Regular user

  2. #2
    SitePoint Wizard Aes's Avatar
    Join Date
    Jun 2001
    Location
    Oklahoma
    Posts
    3,392
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I know that select boxes, as of current, are limited compared to what can be done using CSS with text areas, input boxes, etc (for example, the scrollbar cannot be changed very readily). I may be wrong, however, I'm sure this is a foible of Netscape 4.08, and you shouldn't spend to much time hassling about it.

    Colin Anderson
    Ambition is a poor excuse for those without
    sense enough to be lazy.

  3. #3
    Anyone seen my cypher? OneChance's Avatar
    Join Date
    Apr 2001
    Location
    Seattle
    Posts
    281
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    First rename your css class to something else, like .selecttext. Then try putting a span tag around the select tag, as follows:
    Code:
    <span class="selecttext">
      <select class="selecttext">
        blah blah blah
      </select>
    </span>

  4. #4
    blonde.... Sarah's Avatar
    Join Date
    Jul 2001
    Location
    Berkshire, UK
    Posts
    7,442
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    OneChance - cheers that worked a treat I was all for giving up hope...

    So far it doesn't screw up any of the other browsers

    Sarah
    Regular user


Bookmarks

Posting Permissions

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