473,513 Members | 2,428 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Header And Combo Box

2 New Member
Hi,

I have created a table, which has a stable header and a scroller for data. One of my data field has a combo box... Everything works fine but the combo moves over the header when scrolled...

Can anyone help me out?

The code is...

<HTML>
<DIV style="width: 180 px;height:200 px;overflow:scroll">
<TABLE style="border: #003399 1px solid;background-color: #003399">
<tr style="position:relative;top: expression(ignoreme=this.offsetParent.scrollTop-3);background-color: #003399;font-family:

Verdana, Tahoma, Arial, "Sans Serif", "Times New Roman";font-size: 8pt;font-weight: bold;color: #ffffff;height: 24px;">
<td align="center">Name</td>
<td align="center">Age</td>
<td align="center">Location</td>
</TR>
<tr style="color: #000000;background-color: #e4e4d7;font-family: Verdana, Tahoma, Arial, "Sans Serif", "Times New

Roman";font-size: 8pt;font-weight: normal;height: 20px">
<td align="center">abc</td>
<td align="center">12</td>
<TD width = "30%">
<SELECT Name ="hi">
<OPTION SELECTED value = 23>
</OPTION>
</SELECT>
</TD>
</tr>
<tr style="color: #000000; background-color: #f4f4e7; font-family: Verdana, Tahoma, Arial, "Sans Serif", "Times New Roman";

font-size: 8pt; font-weight: normal; height: 20px">
<td align="center">def</td>
<td align="center">13</td>
<td align="center">loc2</td>
</tr>
<tr style="color: #000000;background-color: #e4e4d7;font-family: Verdana, Tahoma, Arial, "Sans Serif", "Times New

Roman";font-size: 8pt;font-weight: normal;height: 20px">
<td align="center">ghi</td>
<td align="center">13</td>
<td align="center">loc3</td>
</tr>
<tr style="color: #000000; background-color: #f4f4e7; font-family: Verdana, Tahoma, Arial, "Sans Serif", "Times New Roman";

font-size: 8pt; font-weight: normal; height: 20px">
<td align="center">jkl</td>
<td align="center">14</td>
<td align="center">loc4</td>
</tr>
<tr style="color: #000000;background-color: #e4e4d7;font-family: Verdana, Tahoma, Arial, "Sans Serif", "Times New

Roman";font-size: 8pt;font-weight: normal;height: 20px">
<td align="center">mno</td>
<td align="center">15</td>
<td align="center">loc5</td>
</tr>
<tr style="color: #000000; background-color: #f4f4e7; font-family: Verdana, Tahoma, Arial, "Sans Serif", "Times New Roman";

font-size: 8pt; font-weight: normal; height: 20px">
<td align="center">pqr</td>
<td align="center">16</td>
<td align="center">loc6</td>
</tr>
<tr style="color: #000000;background-color: #e4e4d7;font-family: Verdana, Tahoma, Arial, "Sans Serif", "Times New

Roman";font-size: 8pt;font-weight: normal;height: 20px">
<td align="center">stu</td>
<td align="center">16</td>
<td align="center">loc6</td>
</tr>
<tr style="color: #000000; background-color: #f4f4e7; font-family: Verdana, Tahoma, Arial, "Sans Serif", "Times New Roman";

font-size: 8pt; font-weight: normal; height: 20px">
<td align="center">vwx</td>
<td align="center">17</td>
<td align="center">loc7</td>
</tr>
<tr style="color: #000000;background-color: #e4e4d7;font-family: Verdana, Tahoma, Arial, "Sans Serif", "Times New

Roman";font-size: 8pt;font-weight: normal;height: 20px">
<td align="center">y</td>
<td align="center">18</td>
<td align="center">loc8</td>
</tr>
<tr style="color: #000000; background-color: #f4f4e7; font-family: Verdana, Tahoma, Arial, "Sans Serif", "Times New Roman";

font-size: 8pt; font-weight: normal; height: 20px">
<td align="center">z</td>
<td align="center">19</td>
<td align="center">loc9</td>
</tr>

</TABLE>
</DIV>
</HTML>

Thanks,
Guitar
May 18 '07 #1
3 4294
drhowarddrfine
7,435 Recognized Expert Expert
Validate and fix your html and css errors.
May 18 '07 #2
guitar
2 New Member
Validate and fix your html and css errors.
Hi,

I dont find what the error is. Can you just tell me what to do?

Thanks,
Guitar
May 21 '07 #3
drhowarddrfine
7,435 Recognized Expert Expert
Read the article in the "Articles" section about validating.
May 21 '07 #4

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

Similar topics

3
4289
by: vgrssrtrs | last post by:
<html> <head> <script language="JavaScript"> <!-- /* *** Multiple dynamic combo boxes *** by Mirko Elviro, 9 Mar 2005 *** ***Please do not remove this comment
4
4247
by: Heather | last post by:
Hi I am desparately looking for advice in relation to storing the results after selecting items from two combo boxes on a Referral form. The first combo box 'ctl Type' displays a full list of...
2
2147
by: Jeff Mason | last post by:
I'm observing some strange behavior when I use a bound combo box in conjunction with the combo's anchor property. I define a form which contains just a textbox and a combo box. The text box is...
9
6742
by: Edwinah63 | last post by:
Hi everyone, Please let there be someone out there who can help. I have two BOUND combo boxes on a continuous form, the second being dependent on the first. I have no problem getting the...
2
2427
by: kiranmn75 | last post by:
I want to dynamically populate a combo box through javascript. Data is coming from a array. Sometimes data list may contain items in excess of 2000. Explorer takes more than 5 seconds to...
16
2064
by: wdh3rd | last post by:
Hi everyone. I'm new to C and I have a few questions: I am making files for permutations and combinations. Files to be made are perm.c, perm.h, combo.c, and combo.h. Since both combinations...
6
3667
by: Dave | last post by:
I want to put the information that the user selects in my combo boxes into a subform that lies on the same form as the combo boxes. Thanks for your help already, Dave
2
7017
by: biganthony via AccessMonster.com | last post by:
Hi, I decided to install Office 2003 Service Pack 3 on my home computer to test (in full knowledge that there may be some issues with it). After installation, I have noticed that with a small...
0
7160
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7384
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,...
0
7537
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...
1
7099
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...
0
5685
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4746
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...
0
3222
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1594
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 ...
1
799
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.