CSS – Formular 2

CSS – Formular mit Hintergrundgrafik

In diesem Tutorial wird beschrieben wie wir Formularen eine Hintergrundgrafik oder ein Hintergrundbild zuweisen. Zunächst erstellen wir eine Hintergrundgrafik und speichern diese im Ordner images als background.gif ab. Nun kopieren wir folgenden

Code:

<html>
<head>

<style type="text/css">
form{
background-image: url(images/background.gif);
}
</style>
</head>
<body>
<table width="300" border="1" cellspacing="1" cellpadding="1">
<tr>
<td>

<form name="form1" method="post" action="">
</form>

</td>
</tr>
</table>
</body>
</html>

Hinterlasse eine Antwort

Users on page
Now online: 0
Overall: 3450643