本記事は移転しました。 約1秒後にリダイレクトします。 リダイレクトしない場合はここをクリックしてください。
本記事は移転しました。 約1秒後にリダイレクトします。 リダイレクトしない場合はここをクリックしてください。
お客さんから送られてきた、Excelデータからせっせとリストや表のHTMLをコーディングしているあなた!そろそろ手がが疲れてきていませんか? そんなあなたは、この記事で紹介するExcelテクニックをぜひ覚えてください。 面倒な作業が、わずか数秒で終わります! Excelを使った高速HTML生成 僕たちプログラマーは、ちょっとしたコード生成に、Excelを使います! DreamweaverでもCSVファイルを取り込むことはできるのですが、<dl>タグでマークアップしたい時とか、カスタマイズしたい場合は、これから紹介するExcelを使った方法が簡単で、効果的です。 さぁ、↓のようなお客さんから送られてきたExcelデータから ... こんな感じの、<dl>タグでマークアップされたHTML生成する流れを説明します。データ数はうんざりするくらいあると思ってください。 Let's Excel 1)
今日はとっておきの裏技をお教えします。 知ってる人は知ってると思いますが、知らない人も結構多いんじゃないでしょうか。ウェブ関係の仕事をしてる人は覚えておいてソンはないと思います。 内容はいたって簡単。まずは<table>タグを使ってHTMLを作ります。たとえばこんな感じ。 <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS"> <title>table test</title> </head> <body> <table border="1"> <tr> <th>名前</th> <th>誕生日</th> </tr> <tr> <td>長島茂雄</td> <td>1936/2/20</td> </tr> <tr> <td>星野仙一</td> <td>1947/1/22</td>
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く