Skip to content

Instantly share code, notes, and snippets.

View mediafreakch's full-sized avatar

Edgar Schnüriger mediafreakch

  • Zug, Switzerland
View GitHub Profile
@mediafreakch
mediafreakch / gist:8037497
Created December 19, 2013 10:53
==Trennlinie durchgehend==
<hr style="border-width:1px;">
@mediafreakch
mediafreakch / gist:8037485
Last active December 31, 2015 19:59
==Hervorgehobene Box mit Hintergrundfarbe, rechts (mit Text und Bild gemischt)==
<div style="clear:both;float:right;width:40%;background-color:#333333;color:white;padding:10px;overflow:hidden;margin-left:10px;margin-bottom:10px;">
<div style="max-width:100%;margin-bottom:10px;">
[picture1]
</div>
<p>
Ich bin eine fliegende Box. Ich bin immer rechts ausgerichtet.
Der Text fliesst aber linksbündig.
</p>
<span style="font-size: 1.2em; margin-top: 10px; margin-bottom: 10px; display: block;">
@mediafreakch
mediafreakch / gist:8037472
Created December 19, 2013 10:50
==Fliegende Box rechts (für ein Bild)==
<div style="clear:both;float:right;width:40%;padding:10px;overflow:hidden;margin-left:10px;margin-bottom:10px;">
<div style="max-width:100%;margin-bottom:10px;">
[picture1]
</div>
</div>
@mediafreakch
mediafreakch / gist:8037462
Last active December 31, 2015 19:59
==Fliegende Box rechts (für Text)==
<div style="clear:both;float:right;width:40%;padding:10px;overflow:hidden;margin-left:10px;margin-bottom:10px;border-color:#c5c5c5;border-width:1px;border-style:dashed;">
<p>
Ich bin eine fliegende Box. Ich bin immer rechts ausgerichtet.
Der Text fliesst aber linksbündig.
</p>
<span style="font-size: 1.2em; margin-top: 10px; margin-bottom: 10px;display:block;">
Dies könnte ein Untertitel sein
</span>
<ul>
@mediafreakch
mediafreakch / gist:8037388
Last active December 31, 2015 19:59
==Individuelle Fusszeile==
<div style="clear:both;margin-top:20px;margin-bottom:20px;">
<hr style="border-width:3px;">
<div style="background:transparent;padding:10px;text-align:center;float:right;margin-left:50px;width:200px;">
<img src="//www.ricardo.ch/ImgWeb/2/V3/header/logo.gif">
</div>
<p>
Muster GmbH<br>
6300 Zug