X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   drop down menu css problem (https://forum.x-cart.com/showthread.php?t=4475)

wild boar 09-25-2003 01:46 AM

drop down menu css problem
 
Ok, I am trying to use drop down menus on my header for easy navigation to categories.

I added DropDown to my css file and added it to the drop down menu part and it STILL won't work

my page is located at www.illinoiswinecellar.com/shop/customer

the code on there is
Code:

select name=namehere class=DropDown>

and the code on my css file is

Code:

}
.DropDown {
        COLOR: #006AB4; TEXT-DECORATION: none; FONT-SIZE: 9px; FONT-FAMILY: Arial;
}


I've spent over an hour trying to figure this out

shan 09-25-2003 02:01 AM

try this

the code on there is
Code:

select name=namehere>

and the code on my css file is

Code:

}
.select {
        COLOR: #006AB4; TEXT-DECORATION: none; FONT-SIZE: 9px; FONT-FAMILY: Arial;
}


wild boar 09-25-2003 02:03 AM

I think your post didn't go through or something

shan 09-25-2003 02:07 AM

na, was justtoo lazy to type and edited yours :wink:

wild boar 09-25-2003 02:16 AM

thanks, but it don't work..

I tried different things on both menus..

Code:

  <select name="qt" id="wideSearchField" class="select">
<option value="value" selected>Find Wine By Winery</option>
          <option>------------------------------</option>
          </select></td>
          <td width="21%" height="26">
          <select name=namehere>
          <option>Find by Varietal / Type</option>
          <option>------------------------------</option>
          </select></td>


css file
Code:

}
.select {
        COLOR: #006AB4; TEXT-DECORATION: none; FONT-SIZE: 9px; FONT-FAMILY: Arial;
}


wild boar 09-25-2003 02:18 AM

ignore the id and name thing.. I just coppied that from source on some other page.. it won't work cause I haven't set up those proper values.. I just need it to connect to the css file properly before I make it work..

It's making me really mad.. it's been 2 hours on this already..

and I know it's something simple.. I just don't know css worth a crap

shan 09-25-2003 02:28 AM

sorry, this will do it

Code:

select {
        font-family: Arial, Helvetica, sans-serif;
        font-size: 9px;
        background-color: 006AB4;
}


.select is not select :wink:

wild boar 09-25-2003 02:31 AM

don't be sorry for anything.. it's not your fault I'm having problems..

thanks for helping me, I'll try it out

wild boar 09-25-2003 02:33 AM

took the dot out... still doesn't work

shan 09-25-2003 02:40 AM

that should go in the css file and then any drop down menus will have those properties. dont assign any class values to the drop downs. they will be assigned automaticaly


All times are GMT -8. The time now is 09:46 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.