473,769 Members | 2,088 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

neaten-ing Combo boxes question

I have a page where I have some combo boxes on it. A click on each one
spawns another box, and another until each area has been selected, or until
they choose to pull all items into a datagrid from that category.

For instance:

say the first combo has in it:

meat
dairy

second combo box, depending on which first one you clicked on would have:
lamb
beef
pork
fish

or
milk
butter
cheese

third one may have 10 selections in it and the 4th combo box would have say
5 in it.

I've got the items displaying in the datagrid, but the combo boxes are still
up at the top.

Is there a way to make the bottom of the combo boxes be at a certain level,
and not mess up my datagrid, and not overwrite items above it on the page?

I can hide the whole thing, but that is like a final alternative. If I
could, I'd rather shrink the box down to the selection.

The combo boxes are loaded so as to not have scrollbars in them (which is
still a requirement).

Any help appreciated.

Thanks

SC

Nov 18 '05 #1
4 1540
Steve
Why not nest the boxes in a table and set the valign = bottom for the table cell

----- Steve Chatham wrote: ----

I have a page where I have some combo boxes on it. A click on each on
spawns another box, and another until each area has been selected, or unti
they choose to pull all items into a datagrid from that category

For instance

say the first combo has in it

mea
dair

second combo box, depending on which first one you clicked on would have
lam
bee
por
fis

o
mil
butte
chees

third one may have 10 selections in it and the 4th combo box would have sa
5 in it

I've got the items displaying in the datagrid, but the combo boxes are stil
up at the top

Is there a way to make the bottom of the combo boxes be at a certain level
and not mess up my datagrid, and not overwrite items above it on the page

I can hide the whole thing, but that is like a final alternative. If
could, I'd rather shrink the box down to the selection

The combo boxes are loaded so as to not have scrollbars in them (which i
still a requirement)

Any help appreciated

Thank

S


Nov 18 '05 #2
They're already in a table, and that's kinda what I wanted them to do, but I
haven't been able to find the property on the table to do that setting with.
Was trying to get away from having to dink around in the html.

Steve
"Barry Forrest" <ba***********@ ps.net> wrote in message
news:E5******** *************** ***********@mic rosoft.com...
Steve,
Why not nest the boxes in a table and set the valign = bottom for the table cell?
----- Steve Chatham wrote: -----

I have a page where I have some combo boxes on it. A click on each one spawns another box, and another until each area has been selected, or until they choose to pull all items into a datagrid from that category.

For instance:

say the first combo has in it:

meat
dairy

second combo box, depending on which first one you clicked on would have: lamb
beef
pork
fish

or
milk
butter
cheese

third one may have 10 selections in it and the 4th combo box would have say 5 in it.

I've got the items displaying in the datagrid, but the combo boxes are still up at the top.

Is there a way to make the bottom of the combo boxes be at a certain level, and not mess up my datagrid, and not overwrite items above it on the page?
I can hide the whole thing, but that is like a final alternative. If I could, I'd rather shrink the box down to the selection.

The combo boxes are loaded so as to not have scrollbars in them (which is still a requirement).

Any help appreciated.

Thanks

SC

Nov 18 '05 #3

Nov 18 '05 #4
Steve
It doesn't get much easier than <td valign="bottom" >

----- Steve Chatham wrote: ----

They're already in a table, and that's kinda what I wanted them to do, but
haven't been able to find the property on the table to do that setting with
Was trying to get away from having to dink around in the html

Stev
"Barry Forrest" <ba***********@ ps.net> wrote in messag
news:E5******** *************** ***********@mic rosoft.com..
Steve
Why not nest the boxes in a table and set the valign = bottom for th table cell
----- Steve Chatham wrote: ----
I have a page where I have some combo boxes on it. A click on eac on spawns another box, and another until each area has been selected, o unti they choose to pull all items into a datagrid from that category
For instance
say the first combo has in it
mea dair
second combo box, depending on which first one you clicked on woul

have lam
bee
por
fis
o mil
butte
chees
third one may have 10 selections in it and the 4th combo box woul

have sa 5 in it
I've got the items displaying in the datagrid, but the combo boxe
are stil up at the top
Is there a way to make the bottom of the combo boxes be at a certai
level and not mess up my datagrid, and not overwrite items above it on th page I can hide the whole thing, but that is like a final alternative. I

could, I'd rather shrink the box down to the selection
The combo boxes are loaded so as to not have scrollbars in the
(which i still a requirement)
Any help appreciated
Thank
S

Nov 18 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
3862
by: Dr John Stockton | last post by:
What are the best ways of returning multiple results from a subroutine ? I've been using ... return } which is inelegant. I'm used to Pascal's procedure X(const A, B : integer; var C, D : byte) ; where A, B are inputs only, and C, D are in/out.
9
2247
by: Rick Cook | last post by:
I would like to do a response form on one of my sites instead of posting an e-mail address for spammers. I've taken a couple of examples from sites, but the code looks clunky and non-conformant to my inexperienced eye. Also, on the sites I've found you can get the e-mail address simply by viewing the page source. It seems to me there should be a way to hide that, but as I say I'm hardly an expert. Can anyone recommend a good site to...
9
4216
by: Aaron Gray | last post by:
Hi, I am after a free or open source C++ code reformatter. Basically to change tabs from 3 to 2 and use spaces instead of tabs. And hopefully to neaten up code. Aaron
3
2641
by: Lee Dilworth | last post by:
Simple example how can I produce a list of tables and their indexes in this format: Col1 Col2 Tab1 Index1forTab1 Index2forTab1 Index3forTab1 Tab2 Index1forTab2
4
1988
by: Alexander Gorshenev | last post by:
I am looking for an elegant solution for the following problem: I have two projects for which I have to create a kind of bridge or translator between. For each of the projects there exist a set of headers included by practicaly all of the member .c files. For my bridge I would be using all those "main" headers from both of the projects included together. But unfortunately, due to historical reasons, those headers conflict in many...
6
1076
by: Craig Lister | last post by:
I am trying to get a list of all files in a directory (Recursivly). The way I am trying to do it, it looks like I need to add an array of items to an array of items. The way I am ACTUALLY doing it doesn't work... The code where I *attempt* to add the two arrays together is wrong... it's just code to show what I am trying to do.. Also, is this a good way to do what I am attempting to do ? The 'ClassFiles' class isn't shown in this...
1
2311
by: rajesh | last post by:
var fixedX = -1 // x position (-1 if to appear below control) var fixedY = -1 // y position (-1 if to appear below control) var startAt = 0 // 0 - sunday ; 1 - monday var showWeekNumber = 0 // 0 - don't show; 1 - show var showToday = 1 // 0 - don't show; 1 - show var imgDir = "images/" // directory for images ... e.g. var imgDir="/img/" var gotoString = "Go To Current Month" var todayString = "Today is"
4
1334
by: bmgz | last post by:
I have a simple DHTML gallery: <script> viewPhoto(thumb){ function viewPhoto(thumb){ document.getElementById('mainPhoto').src=thumb.href; return false; } </script>
4
1438
by: Andrew Bullock | last post by:
Hi, I've made my own class (we'll call it myClass) to simply store some data. I'm storing multiple instances myClass in a list: List<myClass> myList = new List<myClass>(); myList.Add(new myClass(somedata)); myList.Add(new myClass(somemoredata)); I'm then iterating over myList using a for loop. To neaten my code i
4
1884
by: 4zumanga | last post by:
I have a bunch of really horrible hacked-up bash scripts which I would really like to convert to python, so I can extend and neaten them. However, I'm having some trouble mapping some constructs easily, and was wondering if anyone know of a guide to mapping simple uses of command line programs to python. For an example, the kind of thing I am thinking of are things like (yes, this is horrible code). # These are a run of a program I...
0
10216
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10049
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9997
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
6675
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5310
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5448
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3965
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3565
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2815
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.