Sha256: 36f892c48e1b49223d58563c23b961e44d54ff33374851af4cf1add9f867cc55

Contents?: true

Size: 473 Bytes

Versions: 102

Compression:

Stored size: 473 Bytes

Contents

<html>
<head>
  <style>
    header { height: 45px; position: fixed; top: 0; background-color: red; width: 100%;}
    footer { height: 45px; position: fixed; bottom: 0; background-color: red; width: 100%;}
    #main { margin: 45px;}
    #tall { display: block; height: 2000px;}
  </style>
</head>
<body>
  <header>My headers</header>
    <div id="main">
      <div id="tall">A tall block</div>
      <a href="/">Go to root</a>
    </div>
  <footer>My footer</footer>
</body>

Version data entries

102 entries across 87 versions & 3 rubygems

Version Path
capybara-3.13.0 lib/capybara/spec/views/with_fixed_header_footer.erb
tdiary-5.0.11 vendor/bundle/gems/capybara-3.6.0/lib/capybara/spec/views/with_fixed_header_footer.erb
tdiary-5.0.11 vendor/bundle/gems/capybara-3.12.0/lib/capybara/spec/views/with_fixed_header_footer.erb
capybara-3.12.0 lib/capybara/spec/views/with_fixed_header_footer.erb
capybara-3.11.1 lib/capybara/spec/views/with_fixed_header_footer.erb
capybara-3.11.0 lib/capybara/spec/views/with_fixed_header_footer.erb
capybara-3.10.1 lib/capybara/spec/views/with_fixed_header_footer.erb
capybara-3.10.0 lib/capybara/spec/views/with_fixed_header_footer.erb
capybara-3.9.0 lib/capybara/spec/views/with_fixed_header_footer.erb
capybara-3.8.2 lib/capybara/spec/views/with_fixed_header_footer.erb
capybara-3.8.1 lib/capybara/spec/views/with_fixed_header_footer.erb
capybara-3.8.0 lib/capybara/spec/views/with_fixed_header_footer.erb
capybara-3.7.2 lib/capybara/spec/views/with_fixed_header_footer.erb
capybara-3.7.1 lib/capybara/spec/views/with_fixed_header_footer.erb
capybara-3.7.0 lib/capybara/spec/views/with_fixed_header_footer.erb
capybara-3.6.0 lib/capybara/spec/views/with_fixed_header_footer.erb
capybara-3.5.1 lib/capybara/spec/views/with_fixed_header_footer.erb
capybara-3.5.0 lib/capybara/spec/views/with_fixed_header_footer.erb
capybara-3.4.2 lib/capybara/spec/views/with_fixed_header_footer.erb
capybara-3.4.1 lib/capybara/spec/views/with_fixed_header_footer.erb