Re: [css-position] sticky only along one axis

On Fri, 2014-03-14 at 12:59 -0400, Zack Weinberg wrote: 
> On Fri, Mar 14, 2014 at 12:52 PM, Viatcheslav Ostapenko
> <sl.ostapenko@samsung.com> wrote:
> > On Fri, 2014-03-14 at 12:26 -0400, Zack Weinberg wrote:
> >> I just noticed that position:sticky is currently defined to make the
> >> box stick to the viewport along *both* axes.
> >
> > Actually, it is not.
> > It is defined to make it stick to the corresponding border. You can
> > specify several borders, but usually it is single border.
> ...
> > What I see at the owlfolio page can be done for table header with:
> >
> > <thead style="position: sticky; top: 0px;">
> 
> Oh, I see.  I must have misunderstood the algorithm (prose algorithms
> are not really my friend).  If I wanted stickiness at top and left, I
> would just add "left: 0px" to the above?

Yes

Received on Friday, 14 March 2014 17:07:35 UTC

Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant