ホームページを作り始めて8年近く経ち、たくさん作った方が上達するという思いもあって、今まで数多くのサイトを作ってきましたそんなサイトたちを改めて見直してみて、「何か古い感じがするな~」と思ったコードを挙げてみます。 完全にこれがダメと言っているのではなく、個人的な好みもあるので、温かい目で見てもらえればと思います。 1. フレームを使っている ホームページを作りはじめの頃、サイドにあるメニューが1つ増えるたびにすべてのページで変更しなくてはならず、すごい手間でした。 で、サイドのメニューとメインのコンテンツをフレームで分けて表示していました。 しかし、HTML4.01ではフレームは非推奨で、設定する場合の条件として、文書型宣言(DTD)にFrameset を指定しなくてはいけません。
CSS フレームワークを再認識 CSS フレームワークって、名前だけは知っていましたが、どういうものなのか全く知りませんでした。次の記事を読むまでは。 404 Not Found - ゆーすけべー日記 確かに、これは便利そうですね! さっそく、CSS フレームワークを導入してみます。 BlueTrip を導入 CSS フレームワークはいろいろありますが、今回は先の記事で紹介されていた BlueTrip を導入してみます。 次のページからアーカイブをダウンロードし、解凍して css ファイルと画像を static フォルダに配置。 BlueTrip CSS Framework | A beautiful and full-featured CSS framework HTML の head 部に、下記を追加。 <link rel="stylesheet" href="css/screen.c
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く