473,396 Members | 1,834 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,396 software developers and data experts.

<TR style="height:100px"/> ... IE bug?

Hi,

Using the script below, when you click on the radio button beside click here
.... the first row shrinks.

Has anybody else ever experienced this?
Does anybody know of a logical explaination for this?

A co-worker told me it is not valid HTML. He may be right, but we both
agree; it's odd that IE would handle it when the form is loaded, but not
when the style changes. It's as if the developers writting the parser
accounted for it, but not the style developers.

Interested in hearing your input.

Regard,
John MacIntyre
VC++ / VB / ASP / Database Developer
http://www.johnmacintyre.ca

BTW-I am using IE 5.0

-----------------------------------------------------------------------
<HTML>
<HEAD>
</HEAD>
<BODY>

<HR>
<FORM id="frmMain" name="frmMain" TARGET="_self" METHOD=POST>
<TABLE width="100%">
<!-- Problems -->
<TR style="height:100px"/>
<!-- Works fine
<TR style="height:100px"><TD></TD></TR>
-->
<TR>
<TD>
<INPUT TYPE=RADIO onclick="frmMain.TXT_TEST.className = ''"> <-- Click
here<br>
<INPUT TYPE=TEXT ID=TXT_TEST NAME=TXT_TEST>
</TD>
</TR>
</TABLE>
</form>

</BODY>
</HTML>

Jul 20 '05 #1
4 10709
Hi,

"John MacIntyre" <Pl****@reply.to.group.thx> wrote in message
news:wI*******************@news20.bellglobal.com.. .
| Hi,
|
| Using the script below, when you click on the radio button beside click
here
| ... the first row shrinks.
|
| Has anybody else ever experienced this?
| Does anybody know of a logical explaination for this?
|
| A co-worker told me it is not valid HTML. He may be right, but we both
| agree; it's odd that IE would handle it when the form is loaded, but not
| when the style changes. It's as if the developers writting the parser
| accounted for it, but not the style developers.
|
| Interested in hearing your input.

I'll be interested in seeing a reply, but I'll just note that I've
experienced a somewhat "similar" problem when defining an empty hard-sized
div with "vertical-align:middle" on an overly large window. Once I write
innerHtml to it, it doesn't change size, but it repositions itself higher on
the page, as if the positioning code is different at load than during
processing. (IE6. This can easily be avoided by increasing margins or
shrinking the window until the div is "trapped" in place.) I suspect that
you're correct that the code in different operational segments may be
somewhat different.

Joe Earnest

Jul 20 '05 #2
On 03.7.18 2:34 PM, Joe Earnest wrote:
I've
experienced a somewhat "similar" problem when defining an empty hard-sized
div with "vertical-align:middle" on an overly large window.


That's because "vertical-align" applies to table cell elements, not DIV
blocks. What did you expect?

Phil

--
Philip Ronan
ph***********@virgin.net
(Please remove the "z"s if replying by email)
Jul 20 '05 #3
Hi,
"Philip Ronan" <ph***********@virgin.net> wrote in message
news:BB3DB6A0.16D58%ph***********@virgin.net...
On 03.7.18 2:34 PM, Joe Earnest wrote:
I've
experienced a somewhat "similar" problem when defining an empty hard-sized div with "vertical-align:middle" on an overly large window.


That's because "vertical-align" applies to table cell elements, not DIV
blocks. What did you expect?


For the example given, you're right of course. But the focus of the
original post (I think) was that the code interprets and acts on these
"improprieties" differently at different points in the process.

FWIW, I stated the example erroneously (slow starting this morning). My
latest situation with this involves a DIV inside a table cell (no issue with
positioning the DIV, itself, inside the cell). In fact, it's the entire
table that repositions itself in the excessively large body, but the
triggering event is the innerHtml write to the DIV only.

Joe Earnest

Jul 20 '05 #4
"Joe Earnest" <jo********@qwest.net> wrote in message
news:ub**************@TK2MSFTNGP12.phx.gbl...
For the example given, you're right of course. But the focus of the
original post (I think) was that the code interprets and acts on these
"improprieties" differently at different points in the process.


That was my point.

Thanks for the feedback everyone. I'll know to avoid this in the future.

Regards,
John MacIntyre
VC++ / VB / ASP / Database Developer
http://www.johnmacintyre.ca


Jul 20 '05 #5

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

Similar topics

22
by: David. E. Goble | last post by:
Hi All; I have a few of these; sigsImages="sigs/finished1.jpg" sigsImages="sigs/foghorn.jpg" lower I have;
6
by: Rolf Welskes | last post by:
Hello, if I have for example: <table style="width: 100%; height: 100%;" border="1"> <tr> <td style="width: 100px">k </td> <td style="width: 100px">k </td> </tr>
5
by: Jean Pierre Daviau | last post by:
Hi to every one. How can I manage to write this kind of css in a style="". img { width: 150 px; height: 100 px; text-align: center; }
7
by: Christian Hackl | last post by:
Hi everyone, I've got a question about what makes the "img" element's width/height attributes valid HTML or XHTML. First of all, this is a rather theoretical question, but digging through the...
4
by: justice750 | last post by:
Hi All, I am using a FormView control. The allows me to update records in the database. However, when a database field is null I can not update the field on the form. It works fine when the field...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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
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
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,...

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.