Dieses CSS in eine Datei custom.css im Verzeichnis css schreiben:
img.customimg {
width: 10%;
height: auto;
}
Diese Datei in der HTML-Datei einbinden:
<link rel="stylesheet" type="text/css" href="css/normalize.css" />
<link rel="stylesheet" type="text/css" href="css/demo.css" />
<link rel="stylesheet" type="text/css" href="css/dragdealer.css" />
<link rel="stylesheet" type="text/css" href="css/component.css" />
<link rel="stylesheet" type="text/css" href="css/custom.css" /> <!-- dieses einfuegen -->
<script src="js/modernizr.custom.js"></script>
</head>
Das HTML für das Einbinden des Bildes, wie Du siehst, habe ich dem Bild die Klasse "customimg" gegeben, damit man es zweifelsfrei identifizieren kann.
<div class="content" data-content="content-2">
<h2>Round Table <span>King Arthur's creative team
techniques</span></h2>
<img class="customimg" src="img/buttonpause.png">
<p>Passing by the rugged Socotra, we soon sighted
the mountainous southern coast of Arabia, and by
midday on January 20 we were focussing our binoculars on the picturesque gate of the Indian
Ocean, Aden. Curious it is how Britain has secured all the great strategical points of the
world—Gibraltar, Suez, Aden, Singapore, Thursday Island, the Cape of Good Hope, and the rest.
And one has only to see Aden, with its rocky peaks piercing the skyline, to realize how strong
it is, and how futile would be any effort to capture it. For all the defences of Aden seem to be
hewn out of solid granite.</p>
Alles anzeigen