Variable length scrolling <div> or <iframe>?

R

Roland Hall

: "Randy Webb" wrote:
: : > Opera has a problem with border-collapse: collapse. It doesn't
collapse
: the
: : > border on the right side of a table.
: : > http://www.meyerweb.com/eric/css/tests/css2/sec17-06.htm
: : >
: : > I'm testing with Opera 7.23 Build 3227, Mozilla 1.6, IE
: : > 6.0.2800.1106.xpsp2.030422-1633
: : >
: : Yeah, but Opera and Mozilla get the first table right, IE gets it
: : horribly wrong.
:
: I go to comparison sights and they state Opera supports border-collapse:
: collapse fully but it was 7.1. Perhaps something has changed?!
:
: You should check out this page with all 3. IE has two errors and that is
: captions left and right are not supported. Opera doesn't work with most
on
: the page. I think it was on Eric Meyer's site that I read how wonderful
: Mozilla and Opera are with DHTML but I'm missing it.
:
: Opera doesn't like <tr height=320> inside a <tbody> element. When you
have
: this, the <tfoot> displays right below the <thead> instead of below the
: <tbody> as it should however it scrolls.
:
: Mozilla doesn't show a scrollbar unless you set overflow: scroll and then
it
: just stretches rather than overflowing. Left/right scrollbars work but
: Up/Down do not.
:
: I've even changed from a nested table to SPANs and ONLY IE works.
: Mozilla is off in left field and cannot assign a width to a SPAN.
: Opera screws up as before. However, if I remove the <tfoot> entry, then
: Opera works as it should.
: Mozilla still has issues.
:
:
http://web.archive.org/web/20030608...r/HTMLJavascriptCSS/ScrollingTableInMSIE.html
:
: The above link is not apples to apples. It's a table above a scrollable
DIV
: and there is NO footer.
: The other issue is since overflow is set on the outside, with the div, the
: left/right scrollbars are now present, even though they are not needed.
:
: Here is where I'm testing: http://kiddanger.com/lab/test/scrolltable.html

I forgot to supply you with this link:
http://www10.brinkster.com/doctorunclear/HTMLJavascriptCSS/DynamicTableFormatting.html

--
Roland Hall
/* This information is distributed in the hope that it will be useful, but
without any warranty; without even the implied warranty of merchantability
or fitness for a particular purpose. */
Technet Script Center - http://www.microsoft.com/technet/scriptcenter/
WSH 5.6 Documentation - http://msdn.microsoft.com/downloads/list/webdev.asp
MSDN Library - http://msdn.microsoft.com/library/default.asp
 
R

Randy Webb

Roland said:
:
: Roland Hall wrote:
: > "Randy Webb" wrote:
: > : Bob Barrows wrote:
: > :
: > : <--snip-->
: > :
: > : > Never mind. I found out I just had to remove the "px" from the row
and
: > div
: > : > height settings to make it work in Mozilla. I haven't been able to
test
: > it
: > : > in Opera ...
: > :
: > : Glad you got it work.
: > :
: > : As written, it scrolls in Opera 7, without stacking anything.
: >
: > It appears the bar is moving.
:
: Which "bar"? I am looking at the page now, and its working perfectly in
: Opera 7.

Which page are you looking at?

The one I was looking at was the one the code was posted for, I think we
were looking at two different pages :-(
: > Wondering why anyone would support a browser that requires you to pay to
remove advertising.
:
: Perhaps because it doesn't have security patches come out once a week
: (exaggeration but I hope you get my point) and has better standards
: compliance than IE does? Its actually *easier* to support it than IE is.

You don't get fame by going after unknowns, now do you?

I dont want fame to start with.

Nor do I want to get into a "which browser is best" argument, it has no
end, nobody is right, nobody is wrong because its subjective.
 
R

Roland Hall

: Roland Hall wrote:
:
: > : Which "bar"? I am looking at the page now, and its working perfectly
in
: > : Opera 7.
: >
: > Which page are you looking at?
:
: The one I was looking at was the one the code was posted for, I think we
: were looking at two different pages :-(

Perhaps but I was looking for you to reference a link. Please do so I can
test it myself.

: > : > Wondering why anyone would support a browser that requires you to
pay to
: > remove advertising.
: > :
: > : Perhaps because it doesn't have security patches come out once a week
: > : (exaggeration but I hope you get my point) and has better standards
: > : compliance than IE does? Its actually *easier* to support it than IE
is.
: >
: > You don't get fame by going after unknowns, now do you?
:
: I dont want fame to start with.
:
: Nor do I want to get into a "which browser is best" argument, it has no
: end, nobody is right, nobody is wrong because its subjective.

I think they each have their pros and cons and we all usually like best what
we're used to but that was not what I meant. Perhaps I didn't state it
clearly.

My comment: "You don't get fame by going after unknowns, now do you?" was
not directed at you but in reference to your comment re: "Perhaps because it
doesn't have security patches come out once a week..." meaning Microsoft is
a target, IMHO, for two reasons:

1. They're commercial and proponents of open systems don't like paying for
anything. I put that in a category all by itself. Jes' sayin'...
2. You get more attention finding a security flaw in Microsoft's code than
you do finding one in Opera or Mozilla, etc.

I haven't seen code yet that actually uses:

<table>
<thead>
<tfoot>
<tbody>
<tr>
<td>
....
</table>
and see it work properly in Mozilla and Opera. That is what I'm testing.

To give the table height, the <tr height=320> was used but then Opera has an
issue because it puts the footer under <thead> instead of <tbody>. And to
be completely honest, the scroll in not attached to the table anyway. It's
the DIV that scrolls. Using the above, the DIV is set to 100%, inside the
<tr height=320> so it expands within that parent. Then a nested table,
which I have changed to SPANs scrolls within that when the DIV is given
overflow: auto. However, Mozilla doesn't like spans and does not set the
width= to the SPANs. In the immortal words of Gilda Radner, "It's always
something."

If you set the overflow: scroll, then Mozilla is happy but only with the
nested table, not the SPANs but it doesn't scroll, it stretches the
container to fit the elements within it.

And, regarding standards, no browser is 100% compliant with ALL standards so
I think that is a weak argument although I agree Microsoft needs a kick in
the pants. Microsoft does come up with some good functions, that IMHO,
should be standards, like overflow-x and overflow-y or perhaps overflow
should be modified to support: { overflow: xy | x y } where we could have
what we have now: overflow: hidden, inline, none so current working code
works, as is but additional functionality could overcome some issues like
when you do not want both scrollbars.

{ overflow: xy } - scroll, hidden, visible, auto (current)
{ overflow: x y } - scroll, hidden, visible, auto (proposed) both must be
set. If you only want one then:
{ overflow: hidden auto }

Then we don't need a new attribute: overflow-x or overflow-y to get the same
results. I think the standards committee missed simple issues like this
because you can set border: {1,4} but you can't do it with scrollbars?
Clearly someone was asleep here.
I was originally using overflow-y and when I changed it to just overflow,
Opera was happy, at least for the scrolling.

--
Roland Hall
/* This information is distributed in the hope that it will be useful, but
without any warranty; without even the implied warranty of merchantability
or fitness for a particular purpose. */
Technet Script Center - http://www.microsoft.com/technet/scriptcenter/
WSH 5.6 Documentation - http://msdn.microsoft.com/downloads/list/webdev.asp
MSDN Library - http://msdn.microsoft.com/library/default.asp
 
R

Roland Hall

: I haven't seen code yet that actually uses:
:
: <table>
: <thead>
: <tfoot>
: <tbody>
: <tr>
: <td>
: ...
: </table>
: and see it work properly in Mozilla and Opera. That is what I'm testing.
The above should be div instead of td.

: what we have now: overflow: hidden, inline, none so current working code

The above should be:

what we have now: { overflow: scroll | hidden | visible | auto } so current
working code

--
Roland Hall
/* This information is distributed in the hope that it will be useful, but
without any warranty; without even the implied warranty of merchantability
or fitness for a particular purpose. */
Technet Script Center - http://www.microsoft.com/technet/scriptcenter/
WSH 5.6 Documentation - http://msdn.microsoft.com/downloads/list/webdev.asp
MSDN Library - http://msdn.microsoft.com/library/default.asp
 
D

Dave Anderson

Roland Hall said:
Wondering why anyone would support a browser that requires
you to pay to remove advertising.

Over here we're wondering why anyone would support a browser that allows
ActiveX controls and unrequested pop-ups.



--
Dave Anderson

Unsolicited commercial email will be read at a cost of $500 per message. Use
of this email address implies consent to these terms. Please do not contact
me directly or ask me to contact you directly for assistance. If your
question is worth asking, it's worth posting.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top