How do I control the Style of a ListBox?


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 4 of 4

Thread: How do I control the Style of a ListBox?

  1. #1
    Zack Guest

    How do I control the Style of a ListBox?


    Hello,

    I have a listbox and I want to control the font and size. I tried to use
    the CSSCLASS property but it doesn't seem to work. Any suggestions?

    I have not used CSS before.

    Thanks
    Zack

  2. #2
    Constance J. Petersen Guest

    Re: How do I control the Style of a ListBox?

    Hi Zack,

    "Zack" <zack_attack190@yahoo.com> wrote in message
    news:3df0c88a$1@tnews.web.devx.com...
    > I have a listbox and I want to control the font and size. I tried to use
    > the CSSCLASS property but it doesn't seem to work. Any suggestions?


    The following article discusses using CSS to style form elements including a
    SELECT box with OPTIONs (i.e., a ListBox).

    > I have not used CSS before.


    You should read up on CSS. There's a lot to learn--especially if your Web
    application will be available to a variety of browser/versions.
    --
    Constance Petersen, DevX newsgroup section leader
    Build a great Web site: http://www.smartisans.com/
    Learn ASP.NET: "Programming the Web with Visual Basic .NET"
    http://amazon.com/exec/obidos/ASIN/1...tancepeterseA/
    --
    Please reply in the newsgroup so everyone can benefit



  3. #3
    Phil Weber Guest

    Re: How do I control the Style of a ListBox?

    > The following article discusses using CSS to style form
    > elements including a SELECT box with OPTIONs.


    Constance: Which article is that? ;-)
    --
    Phil Weber



  4. #4
    Constance J. Petersen Guest

    Re: How do I control the Style of a ListBox?

    Hi Phil,

    > Constance: Which article is that? ;-)


    Oops... <g>

    Here's the article: http://www.mako4css.com/cssforms.htm

    --
    Constance Petersen, DevX newsgroup section leader
    Build a great Web site: http://www.smartisans.com/
    Learn ASP.NET: "Programming the Web with Visual Basic .NET"
    http://amazon.com/exec/obidos/ASIN/1...tancepeterseA/
    --
    Please reply in the newsgroup so everyone can benefit
    "Phil Weber" <pweber@nospam.fawcette.com> wrote in message
    news:3df368e6$1@tnews.web.devx.com...



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
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center