TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Learn CSS Positioning

107 pointsby r11tover 15 years ago

9 comments

unignorantover 15 years ago
Important to know, I suppose...<p>But if you are building a quick app or prototype, I've found frameworks like blueprint (<a href="http://www.blueprintcss.org/" rel="nofollow">http://www.blueprintcss.org/</a>) to be quite helpful.
评论 #1127357 未加载
评论 #1127058 未加载
volomikeover 15 years ago
Don't forget to add a doctype. It can make the difference of night and day.
评论 #1127478 未加载
scorxnover 15 years ago
If you need your columns to be equal height (eg: full-height backgrounds) try <a href="http://www.alistapart.com/articles/holygrail/" rel="nofollow">http://www.alistapart.com/articles/holygrail/</a>
Groxxover 15 years ago
For a quick overview / intro, this is excellent. Fast, to the point, and clean. I wish I had this when I started.<p>Of course, with only 9 effective steps of a single demonstration, it's rather lacking in completeness. But that's not its point, and I love all the links in this thread. Loads of good stuff :)
verdantover 15 years ago
I read this tutorial a long time ago for a basic app I was working on and found it quite helpful. It was my first brush with css positioning
callmeedover 15 years ago
Awesome because #4 clears up some confusion I've had lately.
rbrcurtisover 15 years ago
Needs position:fixed
telover 15 years ago
Step 11 should be: If you don't have an element to clear out the bottom, you can get limited functionality by applying<p><pre><code> overflow: hidden </code></pre> to the containing element. In most cases this will cause it to extend and prevent the inner elements from bleeding out. In some edge cases it will cause them to be hidden, though.
评论 #1127424 未加载
obeattieover 15 years ago
Yay! Just what the readers of Hacker News love to read… basic CSS tutorials! Can we have a "how to get amazing mouse cursors with JavaScript" one, too?
评论 #1127269 未加载
评论 #1127171 未加载
评论 #1127121 未加载
评论 #1128949 未加载