Warnung: file_put_contents(/home/www/web1/html/php_dev/test.txt) [function.file-put-contents]: failed to open stream: Permission denied in /home/www/web1/html/php_dev/sys/lib.activity.php (Zeile 58)
Schriftformatierung [Archiv] - PHP-Scripte PHP-Tutorials PHP-Jobs und vieles mehr
ebiz-webhosting
- Ad -
php-resource




Archiv verlassen und diese Seite im Standarddesign anzeigen :
Schriftformatierung


 
pave
02-08-2002, 22:55 
 
Hi, ich lasse mir das aktuelle Datum durch php anzeigen, aber wie kann ich die Schift, die durch echo ausgegeben wird formatieren?
Danke schon mal im vorraus:D

 
goth
02-08-2002, 23:02 
 
<font> ???

 
pave
02-08-2002, 23:04 
 
So geht`s nicht
<?
$timestamp = time();
$uhrzeit = date("H:i:s",$timestamp);
echo "<font face="terminal">$uhrzeit</font>"
?>

 
hand
02-08-2002, 23:09 
 
Ansich schon ...

<?
$timestamp = time();
$uhrzeit = date("H:i:s",$timestamp);
print '<h1 style="font-family:Verdana,Arial; font-weight:normal">$uhrzeit</h1>';
?>

 
pave
02-08-2002, 23:31 
 
Mmmh, dann erscheint:"$uhrzeit"

 
hand
02-08-2002, 23:40 
 
Sorry, small mistake

<?
$timestamp = time();
$uhrzeit = date("H:i:s",$timestamp);
print "<h1 style=\"font-family:Verdana,Arial; font-weight:normal\">$uhrzeit</h1>";
?>

 
pave
02-08-2002, 23:52 
 
Cool das geht schon mal, nur leider wird jetzt die Zeile meiner Tabelle höher, sonst hat sie sich immer angepasst?:
<tr >
<td bgcolor="#FFFFFF">
<?
$timestamp = time();
$datum = date("d.m.y",$timestamp);
print "<h1 style=\"font-family:terminal;
font-weight:normal;font-size:1pt\">$datum</h1>";
?>
</td>
<td bgcolor="#FFFFFF">
<?
$timestamp = time();
$uhrzeit = date("H:i:s",$timestamp);
print "<h1 style=\"font-family:terminal; font-weight:normal;
font-size:1pt\">$uhrzeit</h1>";
?>
</td>
<td align="left" bgcolor="#FFFFFF">
<font face="terminal">
design&nbsp;and&nbsp;content&nbsp;by&nbsp;pave&nbsp
</font>
</td>
</tr>

 
pave
03-08-2002, 00:03 
 
Man bin ich blöd, hab schon, danke, schaut mal auf www.formicarium.de vorbei:D

- -

Alle Zeitangaben in WEZ +2. Es ist jetzt 21:35 Uhr.