Skip to content

Instantly share code, notes, and snippets.



Created Oct 24, 2011
What would you like to do?
<?xml version="1.0"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
<html xmlns="">
<style type="text/css"><![CDATA[
body {
font-family: Georgia;
.container {
position: relative;
.container-inner {
overflow: auto;
height: 14em;
padding-top: 3em;
.floater {
background: white;
position: absolute;
top: 0;
left: 0;
right: 0;
line-height: 2em;
height: 2em;
border: 1px solid black;
<div class="container">
<div class="container-inner">
<div class="floater">Floater</div>
<!-- vim:se sts=4 sw=4 et: -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.