torek, 08. november 2011

CSS

" <html>
   <head>
               <style type="text/css">
                                                   p{
                                                      color:black;
                                                      text-align:left;}
                                                   div.ex{
                                                              width:300px;
                                                              padding:15px;
                                                              border:5px solid white;
                                                              margin:0px;}
                                                    h1{
                                                          color:#FFFFFF;
                                                          background-color:#9400D3;
                                                          text-decoration:underline;
                                                          font-size:30px;}
                                                   body{
                                                            background-color:#7B68EE;}
                                                   img.slika{
                                                                   height: 400px;
                                                                   width: 400px;}

</style>
</head>

<body>
<h1>Osebna izkaznica</h1>
<div class="ex">Ime: Nastja<br/>
Priimek: Germovšek<br/>
Naslov: Cesta 4. julija 127<br/>
Kraj: Krško<br/></div>
<br/>
<img class="slika" src="Slika.jpg"/>
</body>
</html> "

Ni komentarjev:

Objavite komentar