Need some help to figure a block

Hi all,

I am having a hard time trying to figure why the dropdown box is going way off the block.

I have attached two screen shots. You can also at my site at http://premnagar.com

I am an old school guy, so any help is really appreciated. Thanks in advance folks.

Cheers

screen1.PNG · 103.9K · 320 views
screen2.PNG · 180.7K · 315 views
Quote · 18 Dec 2012

increase the right column size in page builder.

Quote · 18 Dec 2012

Thanks, I tried doing that before, it was making it look big. I am puzzled as to why the above dropdown list is normal and just these one are huge. Shouldn't they be the same width as above? That's my puzzle!!

Quote · 18 Dec 2012

The width of them depends on the content.

Example if all of the words are short.

The
If
he
she
male
female

Then the width will be narrow.

Add a longer item to that list for example

aerothermodynamics

Than the drop down will widen to fit the width of the longest word.

https://www.deanbassett.com
Quote · 18 Dec 2012

Thanks, I tried adding  longer word, and it pushed it out the page. Any thoughts??

Quote · 18 Dec 2012

 

Thanks, I tried adding  longer word, and it pushed it out the page. Any thoughts??

 
I think you misunderstood.

Adding a longer word is what will make it longer then the other one. I was trying to explain why one in your first image is shorter than the other one. The length of the words will change the width of the drop downs.

https://www.deanbassett.com
Quote · 18 Dec 2012

 You know common sense is not common Wink

 

Thanks, I tried adding  longer word, and it pushed it out the page. Any thoughts??

 
I think you misunderstood.

Adding a longer word is what will make it longer then the other one. I was trying to explain why one in your first image is shorter than the other one. The length of the words will change the width of the drop downs.

 

so much to do....
Quote · 18 Dec 2012

 

Thanks, I tried adding  longer word, and it pushed it out the page. Any thoughts??

 If there is CSS controlling it you can set the width of the input box to a fixed width that will display correctly on the page.  When you click the drop-down it will display the whole width so you can read the entries.  Make a selection and it will show truncated in the input box but be completely selected.  This is old school stuff so is nothing new.

Geeks, making the world a better place
Quote · 18 Dec 2012

OK, I played with this a bit.  The select tag is held in a division; my guess is to apply some "prettiness" to it.  The select tag is already in a table cell so there is really no need for the division expect to play with how it appears.  How much do you know about HTML and CSS?  Because you will need to know both to fix the problem. 

OK, two things you can do to help fix this.  First, change "Choose Your Religion" to just "Religion" as it is self evident that is what they are doing; that will save you some space for the input tag.  Now in the CSS and I have no idea which style sheet at the moment; you need to find the CSS that is controlling the division that the select tag is sitting in.  That is:

.form_input_file, .form_input_select, .form_input_select_multiple, .form_input_select_box, .form_input_slider, .input_wrapper_select_box .form_input_text {
    background-color#FFFFFF;
    border1px solid #999999;
    margin-bottom1px;
    width198px;
}
 
Note the red text above: In playing with this I changed it to 150px and I changed "Choose Your Religion" to just "Religion".  Oh, I did that by using the firebug plugin for FireFox browser; it is a handy tool for seeking out these kinds of problems.  If that CSS is used by other select boxes that you don't want changed, then you need to create your own CSS entry and apply it to that select box only which will mean editing the file that holds that bit of code.
Geeks, making the world a better place
Quote · 18 Dec 2012

If you notice in the CSS code, they are controlling several different classes with one entry.  What I would do would be to pull out the input_wrapper_select_box and add it below the others so that I am only changing that one and not all of them.  Multiple classes are group that way when you want to control all with a single bit of CSS; but it means changing anything changes it for all.

.input_wrapper_select_box {

    background-color#FFFFFF;

    border1px solid #999999;

    margin-bottom1px;

    width150px;
}
Geeks, making the world a better place
Quote · 18 Dec 2012

Thanks folks, I took your advice and managed to fix it. Geek_girl, many thanks to you too. You were right the CSS stuff. I don't have much clue about fixing CSS and your example's was perfect. Thanks all once again.

Cheers

Quote · 18 Dec 2012
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.