lingenplayer
Neues Mitglied
Hallo alle in der community, ich habe mich mal versucht am html und css allerdings bekomme ich es nicht hin ein Titelbild einzufügen. Ich weiß das dass html das ich benutze schon älter ist(html 5) ,aber davon sind mehr Sachen im netz :) naja zum Fall zurück! ich schreibe die Daten hier drunter und hoffe das ihr mir erklären könnt was ich falsch mache das Titelbild(Get2Craft.jpg) soll oben in der Mitte sein :) ps ist zwar noch nicht viel aber ich bin stolz drauf
und jetzt css

Code:
<!DOCTYPE html>
<html>
<head>
<title>Get2Craft Home</title>
<meta charset="ISO-8859-1"/>
<meta name="description" content=""/>
<meta name="author" content=""/>
<meta name="keywords" content=""/>
<link href="stylesheet.css" type="text/css" rel="stylesheet" />
<link href="style.css" type="text/css" rel="stylesheet">
</head>
<table align="center">
<tr>
<td>
<div id="root_site"></div>
<div class="header_backround"></div>
</td>
</tr>
</table>
<body>
</body>
</html>
und jetzt css
HTML:
/* HTML Get2craft stylesheet Script 1.0*/
/* Autor lingenplayer*/
Body
{
background: url(images/background.jpg)no-repeat;
}
a
{
}
a:hover
{
}
a img
{
}
/* root_site setup */
#root_site
{
margin-top: 250px;
width: 860px;
height: 600px;
background-color: hsla(0, 0%, 50%, 0.5);
}
.header_backround
{
height: 220px;
width: 840px;
background: url(images/Get2Craft.jpg)no-repeat;
background-position: bottom;
}
Zuletzt bearbeitet: