HELP !!!! Sizing HTML Drop-Drowns with CSS doesnt work in NS


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: HELP !!!! Sizing HTML Drop-Drowns with CSS doesnt work in NS

  1. #1
    Biswa Guest

    HELP !!!! Sizing HTML Drop-Drowns with CSS doesnt work in NS


    I am trying to make a uniform look and feel for all list boxes in
    my site, so I created styles for Drop-down listboxes...but it
    seems that NS does noot care about sizes .... it is taking the
    length of the longest text entry in the list.

    The code is as follows :

    .LongListBox
    {
    FONT-FAMILY: Verdana, Tahoma;
    FONT-SIZE: 8pt;
    WIDTH: 230px
    }
    .ShortListBox
    {
    FONT-FAMILY: Verdana, Tahoma;
    FONT-SIZE: 8pt;
    WIDTH: 90px
    }
    .MediumListBox
    {
    FONT-FAMILY: Verdana, Tahoma;
    FONT-SIZE: 8pt;
    WIDTH: 138px
    }

    Any suggestions would be appreciated.
    Thanks in Advance.

    Biswa.


  2. #2
    Neo Guest

    Re: HELP !!!! Sizing HTML Drop-Drowns with CSS doesnt work in NS


    Hi biswa,
    i`ll give u two options to select from:
    1) try removing " px / pt " and use simple numeric form. (might work)

    -=- or -=-

    2) try opening the page in front page or some editor and create a drop down
    and locally / manually drag it and size it to ur needs and then preview it
    in NS; if it worx use the same property in CSS (" most probably point 1 would
    refer to point 2 / just for verification of point 1 use point 2 instead ");

    Posted by Neo;
    bye n' Enjoy

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