Niestety nie mogę sobie poradzić. Kiedy wrzucam php do html, to moj formularza automatycznie znika, i na jego miejsce pojawia się php, ale nie posiada ono w dalszym ciągu stylów css... NIe wiem co robię źle..

Poniżej wrzucam kod.
Kod
<front class="midiwhite">
<?php
if (isset($_POST['message']))
{
$message=$_POST['message'];
$time = date('h:i');
$content = '<' . $time . '>' . $message;
$content = trim( $content, "\r\n") . "\r\n";
$loc="sss.txt";
$file = fopen($loc, "a");
fwrite($file, $content);
fclose($file);
}
echo '<textarea cols=41 rows=7>';
if (file_exists('sss.txt'))
{
echo file_get_contents('sss.txt');
}
?>
<div id="chatek">
<form action="#" method="POST">
<textarea name="teskt" cols="110" rows="10"></textarea>
<br />
<input type="text" name="wiadomosc" />
<input type="submit" value="Wyślij" />
<br />
<br />
<br />
</form>
</div>
Kod
#chatek {
border: 20px;
border-bottom-color:#FF00FF;
position: absolute; left: 360px; top: 1100px; z-index: 1s;
}