Advertisement:

Author Topic: width of selectors  (Read 927 times)

tiger855

  • Newbie
  • *
  • Posts: 22
width of selectors
« on: April 07, 2014, 08:12:34 am »
Hi everybody !
I tried to change width of selectors but i can't, it don't change...
I tried it :
div.selector select {width: 230px;}, it doesn't work.

it just show it by element.style (you can see it on my print screen).

Is there a solution about it ?

Thanks a lot.

PS: Sorry for my english, i 'm french ^^

frosticek

  • Hero Member
  • *****
  • Posts: 3948
Re: width of selectors
« Reply #1 on: April 07, 2014, 02:08:13 pm »
@tiger855
If this is in style attribute, it is probably done by jQuery. You can try to suppress your code using jQuery too ;)

calinbehtuk

  • Sr. Member
  • ****
  • Posts: 450
Re: width of selectors
« Reply #2 on: April 07, 2014, 07:26:31 pm »
It can be done but you have to change several lines of code.
Find the next file in js folder "jquery.uniform.js". Change the following line in this file selectAutoWidth:!0 to this selectAutoWidth:!1.
Now we need to select a width for each box on each page.
« Last Edit: December 11, 2015, 11:07:11 am by garciademarina »

frosticek

  • Hero Member
  • *****
  • Posts: 3948
Re: width of selectors
« Reply #3 on: April 08, 2014, 11:48:57 am »
@calinbehtuk
Nice tip, thanks ;)