Hacker News new | ask | show | jobs
by rudasn 5530 days ago
Any reason for using height:101% instead of overflow-y:auto for scrollbars?

Also, shouldn't the utf-8 declaration be at the top before a massive block of commented text? Though in practice I'm not sure if it matters much either way.

Thanks

1 comments

overflow-y, although relatively stable, has only been officially proposed in CSS3. So I could (and might) use overflow-y, but the height:101%; is a hangover from when overflow-y was a non-standard bit of CSS.

I don't dislike the overflow-y method, I just used the one I've used for year. I might update inuit.css to use the more obvious overflow-y property soon though.

Good spot on the charset declaration though. Thank you very much. I'll update on my lunch break or something :)

Thanks, H