473,320 Members | 1,979 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Trouble with sizing a select box

Hey guys, first of all, I hate JSPs.

Anyway, I need to changed the height of the select box. Do I need to add a CLASS name to the SELECT tag or something? Here is part of my code:


.roomsToAdd { position:absolute; left:465; top:72; height:200; }
.selectRoom { position:absolute; left:170; top:72; height:200; font-family:arial; }

...

<div ID=addRoomPanel CLASS=panel>
...
<div ID=roomProduct CLASS=selectProduct>
Product to apply:<br><select NAME=selectProduct onChange=validateProduct()></select>
</div>
..
<div CLASS=roomsToAdd>Rooms to add:<br>
<select NAME=roomsToAdd MULTIPLE SIZE=20><option>None</option></select>
</div>
</div>

As you can see, setting the height attribute to the name itself does nothing.
Can someone PLEASE tell the proper way on setting the bloody height to both SELECT tags.
Mar 9 '07 #1
2 1209
Ok, I found the answer. Silly me. The quick fix is to alter the "SIZE" attribute within my SELECT tag.


Thanks anyway.
Mar 9 '07 #2
r035198x
13,262 8TB
Hey guys, first of all, I hate JSPs.

Anyway, I need to changed the height of the select box. Do I need to add a CLASS name to the SELECT tag or something? Here is part of my code:


.roomsToAdd { position:absolute; left:465; top:72; height:200; }
.selectRoom { position:absolute; left:170; top:72; height:200; font-family:arial; }

...

<div ID=addRoomPanel CLASS=panel>
...
<div ID=roomProduct CLASS=selectProduct>
Product to apply:<br><select NAME=selectProduct onChange=validateProduct()></select>
</div>
..
<div CLASS=roomsToAdd>Rooms to add:<br>
<select NAME=roomsToAdd MULTIPLE SIZE=20><option>None</option></select>
</div>
</div>

As you can see, setting the height attribute to the name itself does nothing.
Can someone PLEASE tell the proper way on setting the bloody height to both SELECT tags.
When you said height of the select box, well first time I read that I didn't think you were referring to elements of the select ...

Silly me too, I guess.
Mar 9 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Brian Vallelunga | last post by:
Greetings, I'm attempting to create a tabbed box with CSS and Javascript and am having some problems. I have three tabs and three tab content areas. When the page is loaded, two of the three...
11
by: N. Graves | last post by:
I have checked the "Alignment and Sizing" toolbar but when I want to use in on aligning several form object the toolbar buttons stay grayed out. What am I missing. Thanks! N. Graves
6
by: Terry | last post by:
I have a very basic program, but for some reason I can't get it to behave properly. What I want is a basic form with a TabControl that fills the entire form. The tab control should have 4 tabs...
0
by: eBob.com | last post by:
Here's how I insert and size pictures in an Excel spreadsheet which I create via a VB.NET program (commentary follows): 'add thumb nail objSheet.Rows(XLRow.ToString).rowheight =...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.