Skip to content

Instantly share code, notes, and snippets.

View Tiny-Giant's full-sized avatar

Tiny Giant Tiny-Giant

  • Ladysmith, BC, Canada
View GitHub Profile

"Please [edit] your question to include a [mcve]. Please actually read the preceding link and make sure that the code you post in your question is minimal (only bare minimum of code necessary to reproduce), complete (all of the code necessary to reproduce) and verifiable (we can reproduce the issue using only the code in your question). Without a proper MCVE in your question, this question is too broad for Stack Overflow.","3"

"Please [edit] your question to include a [mcve]. Without this, your question is off-topic for Stack Overflow.","3"

"Please [edit] your question to include a [mcve]. Please actually read the preceding link and make sure that the code you post in your question is minimal (only bare minimum of code necessary to reproduce), complete (all of the code necessary to reproduce) and verifiable (we can reproduce the issue using only the code in your question). Without a proper MCVE in your question, this question is off-topic for

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Full Width Slider - Jssor Slider, Carousel, Slideshow</title>
</head>
<body style="padding:0px; margin:0px; font-family:Arial, Verdana;background-color:#fff;">
<!-- it works the same with all jquery version from 1.x to 2.x -->
<script type="text/javascript" src="http://www.jssor.com/demos/../js/jquery-1.9.1.min.js"></script>
// ==UserScript==
// @name Stack Overflow CV Request Generator
// @namespace http://your.homepage/
// @version 0.1
// @description This script generates formatted close vote requests and sends them to a specified chat room
// @author @TinyGiant
// @match http://*.stackoverflow.com/questions/*
// @grant GM_xmlhttpRequest
// ==/UserScript==
// ==UserScript==
// @name Programmers CV Request Generator
// @namespace http://your.homepage/
// @version 0.1
// @description This script generates formatted close vote requests and sends them to a specified chat room
// @author @TinyGiant
// @match http://*.programmers.stackexchange.com/questions/*
// @grant GM_xmlhttpRequest
// ==/UserScript==

I'm trying to create a page with a fixed div above the main div. The main div should be below the fixed div but instead it overlaps the fixed div.

Adding margin-top positions the main div below the fixed div but, it also clips the same amount off of the bottom of the page.

What am I doing wrong?

Live Demo

// ==UserScript==
// @name Stack Exchange CV Request Generator
// @namespace http://your.homepage/
// @version 1.0
// @description This script generates formatted close vote requests and sends them to a specified chat room
// @author @TinyGiant
// @match http://*.stackoverflow.com/questions/*
// @match http://*.stackexchange.com/questions/*
// @grant GM_xmlhttpRequest
// ==/UserScript==
// ==UserScript==
// @name Stack Exchange CV Request Generator
// @namespace http://your.homepage/
// @version 1.2
// @description This script generates formatted close vote requests and sends them to a specified chat room
// @author @TinyGiant
// @match http://*.stackoverflow.com/questions/*
// @match http://*.stackexchange.com/questions/*
// @grant GM_xmlhttpRequest
// ==/UserScript==
// ==UserScript==
// @name Stack Exchange CV Request Generator
// @namespace https://github.com/SO-Close-Vote-Reviewers/
// @version 1.4.6
// @description This script generates formatted close vote requests and sends them to a specified chat room
// @author @TinyGiant
// @match http://*.stackoverflow.com/questions/*
// @match http://*.stackexchange.com/questions/*
// @match http://*.stackoverflow.com/questions/*
// @match http://*.serverfault.com/questions/*
// ==UserScript==
// @name SO Hide system message
// @namespace http://your.homepage/
// @version 0.1
// @description enter something useful
// @author You
// @match http://*.stackoverflow.com/*
// @grant none
// ==/UserScript==
// ==UserScript==
// @name SO Hide system message
// @namespace http://github.com/Tiny-Giant
// @version 0.1
// @description Hide system messages on Stack Overflow
// @author @TinyGiant
// @match http://*.stackoverflow.com/*
// @grant none
// @run-at document-start
// ==/UserScript==