Html css

Simple Way To Use Anchor Links With A Fixed Header

Posted by Weston Ganger on April 30, 2014

Pros: This one works very simply and doesnt require any extra HTML

Cons: Doesnt work in IE7 or below, and relies on a specific type of block

Example for an h1:

  content: " ";
  height: 100px;
  visibility: hidden;

Posted in HTML / CSS and Tagged with css 

Want me to help develop your next project or application?

Contact Us

Specializing in Ruby-on-Rails, Javascript, Multi-Platform Electron Desktop Apps and Hybrid Cordova Mobile Apps.

Recommended Posts