hello hylsan,
try to close your CSS code
try like this:
/* CSS Document */
<STYLE type="text/css">
{
body
{
font-family: Verdana;
font-size: 10px;
padding: 0;
margin: 0;
}
td
{
font-family: Verdana;
font-size: 10px;
}
tr
{
font-family: Verdana;
font-size: 10px;
}
</style>
or what if you will use internal cascading like this:
<html>
<head>
<title>Untitled</title>
<STYLE type="text/css">
{
body
{
font-family: Verdana;
font-size: 10px;
padding: 0;
margin: 0;
}
td
{
font-family: Verdana;
font-size: 10px;
}
tr
{
font-family: Verdana;
font-size: 10px;
}
</style>
</head>
<body>
<?php
include 'connect.php';
# Här kan man trixa med databasen
// HTML-tabellens formatering - tabellstart
echo "<table id='historik_table'>";
echo "<tr bgcolor='#cccccc'><td>Transnr</td><td>Datum</td><td>typ</td><td>Antal</td><td>Sign</td><td>Referens</td></tr>";
# Hämtar all info från artikel
$artikel = mysql_query("SELECT * FROM historik ORDER BY transnr ASC") or die(mysql_error());
while($row = mysql_fetch_array( $artikel ))
{
#skriver ut innehåller radvis
echo "<tr><td>";
echo $row['transnr'];
echo "</td><td>";
echo $row['datum'];
echo "</td><td>";
echo $row['typ'];
echo "</td><td>";
echo $row['antal'];
echo "</td><td>";
echo $row['sign'];
echo "</td><td>";
echo $row['referens'];
echo "</td></tr>";
#echo "<BR />";
}
or visit this link--->
http://www.w3schools.com/css/default.asp
_________________________________________
.::If you quit you loss, If you survive you win::.
.::JHANNY::.