|
Posted by Luminari on 02/09/07 22:05
On Feb 9, 4:42 pm, "Jonathan N. Little" <lws4...@centralva.net> wrote:
> Luminari wrote:
> > On Feb 9, 3:40 pm, Bergamot <berga...@visi.com> wrote:
> >> Luminari wrote:
> >>> On Feb 9, 2:23 pm, Bergamot <berga...@visi.com> wrote:
> >>>> Luminari wrote:
> >>>>> Broken Page:http://applicationsdev.vettro.com:8080/tmp/Table5.html
> >>>>> Working Page:http://applicationsdev.vettro.com:8080/tmp/Table3.html
> >>>> If your intent is for a table header that doesn't scroll off the page,
> >>>> then both of these are broken.
> >>> How come Table3 works as a fixed header then?
> >> Not for me, it doesn't. I'm using Seamonkey, not that it really matters.
>
> >> --
> >> Berg
>
> > It's only supposed to work for IE6, I have other implementations for
> > other browsers. All I want is to get an IE specific implementation to
> > work.
>
> Why make an IE only when your can make *one* cross-browser supported
> version and that *doesn't* rely on broken markup or JavaScript?
>
> Bergamot handed you a perfect solution:
>
> http://web.tampabay.rr.com/bmerkey/examples/nonscroll-table-header.html
>
> > Table3 works in IE6 and Table5 doesn't and I'm trying to figure out
> > why.
>
> Why bother, it is the *wrong* way to do anyway.
>
> --
> Take care,
>
> Jonathan
> -------------------
> LITTLE WORKS STUDIOhttp://www.LittleWorksStudio.com
Because I'm trying to get a consistent look across every browser. In
the implementation you linked to, depending on the browser the
scrollbar is in an entirely different location, causing an
inconsistent look and inconsistent spacing. In the IE version the
scrollbar is sitting in the middle of nowhere, and in the mozilla
version the scrollbar is crammed into the last column. Since I'm
using GWT (Google Web Toolkit) to render the output, I can change what
gets displayed based on what browser is being used, so I'm not worried
about making one hacky implementation. I already have a version of
the page that works in Mozilla (and I hope most other modern
browsers). I have an implementation which looks identical in both
major browsers, but in order to get it to work well from a reusability
standpoint, I'd like to get the Table5 version working. Table3 works
without having the scrollbar floating in space, or crammed into the
last column, I just don't know why Table5, which from all appearances
uses the same css in a slightly different way (set as javascript or as
inline styles instead of all as a css file) does not work correctly.
If I can figure out why, I can make a reusable locked header table
widget that works consistently across the browsers, and has the exact
same look in every browser as well.
- Luminari
[Back to original message]
|