HTML Serverstatus anfragen?

online.css

CSS:
*

.offline {
    display: none;
      
}


.online {
    display: inline;
    
}

offline.css

CSS:
* {
    margin: 0px;
    padding: 0px;
    border: none;
}

html {
    background-color: #fff;
    color: #111;
    font-family: Verdana, Helvetica, Arial, sans-serif;
}


.online {
    display: none;
    
}

index.html

HTML:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de">
    <head>
              <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>Willkommen</title>
        <link type="text/css" rel="stylesheet" media="screen" href="offline.css" />
        <link type="text/css" rel="stylesheet" media="screen" href="http://server.de/online.css" />
    </head>
    <body>
    
<div class="offline">
              
<p>Offline</p>
    
</div>   
    
<div class="online">
              
<p>Online</p>
    
</div>

    </body>
</html>


Funktioniert, Besten Dank an Alle (y)
 
Zurück