css を使用して PHP オリジンの文字列を配置する方法を知りたいのですが、ユーザーが特定の場所でユーザー名を表示したいダッシュボードに誘導された後、ログイン フォームを作成しました。
これは私のコードです:
CSS
// font to decorate the username string
@font-face {
font-family: 'chunkfiveroman';
src: url('chunkroman/chunkfive-webfont.eot');
src: url('chunkroman/chunkfive-webfont.eot?#iefix') format('embedded-opentype'),
url('chunkroman/chunkfive-webfont.woff') format('woff'),
url('chunkroman/chunkfive-webfont.ttf') format('truetype'),
url('chunkroman/chunkfive-webfont.svg#chunkfiveroman') format('svg');
font-weight: normal;
font-style: normal;
}
#postioner
{
position:absolute;
left:100px;
top:100px;
}
PHP
<?php
session_start();
$_SESSION['var'] = $username;
?>
$username
また、css フォントを使用してスタイルを設定する方法を知りたいです。:)