Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    Regular Coder
    Join Date
    Dec 2009
    Posts
    243
    Thanks
    7
    Thanked 0 Times in 0 Posts

    Just Checking If This Is Possible

    Alright Guys

    I am just checking too see if this is possible please

    I have just added a drop down menu to my website http://www.supreme-host.com/web/categories.php under the product search box on the right hand side..

    My query is can I set the length of the drop down menu to be 176px automatically without adding any sub menus to it?

  • #2
    New Coder
    Join Date
    Mar 2005
    Location
    Croatia
    Posts
    20
    Thanks
    1
    Thanked 1 Time in 1 Post
    It's most likely related to font-size parameter. I don't think so mate.

  • #3
    Regular Coder
    Join Date
    Dec 2009
    Posts
    243
    Thanks
    7
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by fixie View Post
    It's most likely related to font-size parameter. I don't think so mate.
    Eh? Are you saying that the only way we can do if I change the size of the font??

    Or do I need to add some text that is the same lenght? Because I will be adding some more categories to it, but I want to make certain that the length of the drop down menu box is a certain size. and doesnt get any bigger or smaller...

  • #4
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    Yes you can do it however some categories will be cut off if they go passed the width. Add this to your CSS
    Code:
    .rightbox #select {
    width:176px;
    }
    ||||If you are getting paid to do a job, don't ask for help on it!||||


  •  

    Posting Permissions

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