任意のテキスト …… …… …… …… …… …… …… …… …… …… …… ……
…… …… …… …… …… …… …… …… …… …… …… …… …… ……
…… …… …… …… …… …… …… …… …… …… …… …… …… ……
…… …… …… …… …… …… …… …… …… …… …… …… …… ……
…… …… …… …… …… …… …… …… …… …… …… …… …… ……
…… …… …… …… …… …… …… …… …… …… …… …… …… ……
任意のテキスト …… …… …… …… …… …… …… …… …… …… …… ……
…… …… …… …… …… …… …… …… …… …… …… …… …… ……
…… …… …… …… …… …… …… …… …… …… …… …… …… ……
…… …… …… …… …… …… …… …… …… …… …… …… …… ……
…… …… …… …… …… …… …… …… …… …… …… …… …… ……
…… …… …… …… …… …… …… …… …… …… …… …… …… ……
任意のテキスト …… …… …… …… …… …… …… …… …… …… …… ……
…… …… …… …… …… …… …… …… …… …… …… …… …… ……
…… …… …… …… …… …… …… …… …… …… …… …… …… ……
…… …… …… …… …… …… …… …… …… …… …… …… …… ……
…… …… …… …… …… …… …… …… …… …… …… …… …… ……
…… …… …… …… …… …… …… …… …… …… …… …… …… ……
ホーム へ サンプルページ 文字サイズ固定 css_div01.htm
ページ全体とタイトルや見出しの、文字サイズ、フォントの指定。 ブラウザの、[表示]-[文字サイズ]-[最大] で変更してもサイズを一定に保つ。 CSS。 ページ全体や、タイトル、見出しの文字サイズなどのカスタマイズはテキストエディターなどで可。 all 対応。 コピー、編集し、簡単にWebで応用できまっ、(^ ^)。
関連・詳細情報 :CSS-Measurement and Location Sample、CSS-Measuring Element Dimension and Location
デモは、 【Internet Explorer】-[表示]-[文字サイズ]-[最大] などで。
< ご使用方法 >
・ 保存は css_div01.htm、uparrow.gif、download2.gif、wttec.gif を右クリック、【名前を付けてリンクを保存】 - <保存する場所>: ……、などで。 ※: 変わってしまった、ファイル名や、*.htm 中のパスは要修正。
・ ペーストは、css_div01.htm をテキストエディターで開き、ホームページ作成ソフトなどの ”テキストモード で、新しいページや hogehoge.htm(=任意の挿入先ファイル名) の、 <head> 〜 </head> の任意の行間に (*1) を、さらに <body> 〜 </body>の任意の行間に (*2) をペーストします。 ※: テキストモード : コード/HTMLタグ挿入/HTMLメニュー など。
・ 編集 : hogehoge.htm に テキストモードでペースト 後は、ホームページ作成ソフトのデザインや通常モード、テキストモード、テキストエディターで編集します。 下記の(例) (*1) と、(*2) を参考に太字部分の編集を任意に行います。
※: 外部ドメイン(サイト)にアップロートの画像などの使用は、非表示に注意。 画像の alt タグは不可、サイズ指定の pt などの省略は注意。 スクリプト構文中への 改行混入注意。
・ アップロードは、hogehoge.htm と同じホルダーに、使用してる 上記画像、*.js、*.css などがあればアップロードします。 別ホルダーの場合は、hogehoge.htm の該当パス注意。
・ 作動テストは Edge〜 などで。 更新の確認は、ブラウザーなどのキャッシュのクリア後に実施。 (1) [F5]キ- or Ctrl+Rキー を押し、最新データ読み込みで。 更に、(2) Edgeを全て閉じ、再起動を行い、【Edge】 - 右上 [……] - [設定] - [プライバシー、検索、サービス] - [閲覧デ-タをクリア] - [クリア-するデ-タの選択] - [v]閲覧の履歴 -[今すくクリア] をクリック。 留めに、(3) サーバーのファイルを一旦削除。
・ 関連情報 :
色記号 、RGB5 〃6 、〃8 、フォント、スタイルシートリファレンス、ホームページ開設入門、HTMLをテキストエギタ-で編集。
(*1) : css_div01.htm (例) 挿入先の <head> 〜 </head>の、〜部分にペーストします。
HTMLの編集方法 | (*1) をテキストエディターで開き、下記↓のHTMLを挿入先ファイルにペースト、太字部分を編集し使用。 |
〔この列ペースト不要〕
シフトJIS使用(削除不可) ieなどに表示するアイコンファイル名(削除可)
<style type= 〜
</style>は(削除可)
リンクを新しいWinで開くを標準(削除可)※:target= いろいろ
headline 〃
instructions 〃 group 〃 button 〃 arrow 〃 midasi1 〃 midasi2 〃 midasi3 〃 |
<meta http-equiv="Content-Type" content="text/html; charset=x-sjis"> <link REL="SHORTCUT ICON" href="favicon.ico"> <style type="text/css"><!--
<base target="_blank"> <title>サンプルページ 文字サイズ固定</title>
<style type="text/css"><!-- .headline { background-color:#B3ABBF; color: #E9FF54; font-family:MSP Gothic,MS Gothic; font-size:16pt; text-align:center; padding-top:0.5em; padding-bottom:0.5em; } .instructions { font-style:italic; text-align:right; color:gray; margin-left:.5em; } .group { font-family:Arial Unicode MS,Arial,Terminal; font-size:10pt; font-weight:bold ;margin-top:.5em; margin-left:.5em; margin-bottom:0.5em; } .button { font-family:MSP Gothic,MS Gothic; font-size:10pt; font-weight:bold; text-align:right; color:gray; cursor:hand; } .arrow { font-family:Webdings; } .midasi1 { background-color:#877B7F; font-family:MSP Gothic,MS Gothic; font-size:12pt; font-weight:bold; margin:0px; color:#CBAEEB; text-align:left; padding-top:9px; padding-bottom:4px; margin-left:4pt ;} .midasi2 { background-color:#99907B; font-family:MSP Gothic,MS Gothic; font-size:12pt; font-weight:bold; margin:0px; color:#FDF6F9; text-align:left; padding-top:6px; padding-bottom:4px; margin-left:4pt ;} .midasi3 { background-color:#E3E0DC; font-family:MSP Gothic,MS Gothic; font-size:11pt; font-weight:bold; margin:0px; color:#5C2974; text-align:left; padding-top:3px; padding-bottom:3px;} |
(*2) : css_div01.htm (例) 挿入先の <body> 〜 </body> の、〜 部分にペーストします。
HTMLの編集方法 | (*2)をテキストエディターで開き、下記↓のHTMLを挿入先ファイルにペースト、太字部分を編集し使用。 |
〔この列ペースト不要〕
テキスト 吹き出し URL
|
<body
<DIV CLASS="headline"><b> XML/XSL/DHTML/CSS/JAVA</b> <span style="font-weight: 400"><font SIZE="2"><a title="最新版の保存:右クリック → 対象をファイルに保存で。" href="http://xml-xsl.sakura.ne.jp/oritatami3c.html">Java、JavaScript、DHTMLサンプル</a> <!--webbot bot="HTMLMarkup" startspan --><img border="0" src="download2.gif" width="14" height="16" onclick="execCommand('SaveAs');" title="クリック → このファイルに名前を付けて保存できます。"><!--webbot bot="HTMLMarkup" endspan i-checksum="39469" --> <font color="#CCCCCC">作成:hogehoge</font><font color="#CCDDDD"> <!--webbot bot="Timestamp" S-Type="REGENERATED" S-Format="%Y/%m/%d %H:%M" startspan -->2002/08/09 15:44<!--webbot bot="Timestamp" endspan i-checksum="25996" --></font></font></span></DIV> </DIV> <DIV CLASS="instructions"> 任意のテキスト <a target="_self" href="#i1">見出し31 へ</a> <a target="_self" href="#i2">見出し32 へ</a> <a target="_self" href="#i3">見出し33 へ</a> … …… …… …… …… …… </DIV> <DIV CLASS="instructions"> 任意のテキスト …… …… …… …… …… …… …… …… …… …… …… </DIV> <DIV CLASS="group">xml/xsl/DHTML/css/Java <DIV CLASS="button" ID="xml/xsl/DHTML/css/Java"> <a href="http://xml-xsl.sakura.ne.jp/random_message2.hta" target="_blank" title="HTML Applications (HTA)実験">ランダムメッセージ2 - HTA</a><SPAN CLASS="arrow">4</SPAN> </DIV> </DIV> <p> <DIV CLASS="midasi1"> <font color="#970CFE"> </font>21 ここに、タイトルなどを記述するじゃ…*。 <a href="http://xml-xsl.sakura.ne.jp/css.htm" target="_blank" title="スタイルシートのタグのリファレンス-機能索引"><font face="MS Pゴシック" size="2">CSSリファレンス</font></a><font face="MS Pゴシック"> <font color="#FFFFFF"><span style="font-weight: 400"> - ここに説明文を記述します。</span></font></font></DIV> <DIV CLASS="midasi2"> 22 ここに、サブタイトルなどを記述しますだよ。 <font face="MS Pゴシック" size="2"> <a target="_blank" title="スタイルシートのタグのリファレンス-機能索引" href="http://xml-xsl.sakura.ne.jp/data_bind.htm"> DataBind</a></font><font face="MS Pゴシック"> <font color="#FFFFFF"><span style="font-weight: 400"> - ここに説明文を記述します。</span></font></font></DIV> <p> </p> <table border="1" cellspacing="0" width="100%" bordercolorlight="#FFFFFF" bordercolordark="#C7BECD" style="border-collapse: collapse" bordercolor="#111111" cellpadding="0"> <tr> <td width="100%" bgcolor="#FFFFFF"> <DIV CLASS="midasi3"> <a name="i1"></a><span style="background-color: #E3E0DC"><strong> <font size="2"> <font color="#76499A">31 ここに、見出しなどを記述しますだよ〜*。</font></font> </strong></span><a href="#top" target="_self"><img src="./uparrow.gif" border="0" alt="このページのトップへ" width="100" height="11"> </a> </DIV> </td> </tr> </table> <p>任意のテキスト …… …… …… …… …… …… …… …… …… …… …… …… </p> <p> …… …… …… …… …… …… …… …… …… …… …… …… …… …… </p> <p> …… …… …… …… …… …… …… …… …… …… …… …… …… …… </p> <p> …… …… …… …… …… …… …… …… …… …… …… …… …… …… </p> <p> …… …… …… …… …… …… …… …… …… …… …… …… …… …… </p> <p> …… …… …… …… …… …… …… …… …… …… …… …… …… …… </p> <p> </p> <table border="1" cellspacing="0" width="100%" bordercolorlight="#FFFFFF" bordercolordark="#C7BECD" style="border-collapse: collapse" bordercolor="#111111" cellpadding="0"> <tr> <td width="100%" bgcolor="#FFFFFF"> <DIV CLASS="midasi3"> <a name="i2"></a><span style="background-color: #E3E0DC"><strong> <font size="3"> <font color="#76499A">32 ここに、見出しなどを記述しますだよ〜*。</font></font> </strong></span><a href="#top" target="_self"><img src="./uparrow.gif" border="0" alt="このページのトップへ" width="100" height="11"> </a> </DIV> </td> </tr> </table> <p>任意のテキスト …… …… …… …… …… …… …… …… …… …… …… …… </p> <p> …… …… …… …… …… …… …… …… …… …… …… …… …… …… </p> <p> …… …… …… …… …… …… …… …… …… …… …… …… …… …… </p> <p> …… …… …… …… …… …… …… …… …… …… …… …… …… …… </p> <p> …… …… …… …… …… …… …… …… …… …… …… …… …… …… </p> <p> …… …… …… …… …… …… …… …… …… …… …… …… …… …… </p> <p> </p> <table border="1" cellspacing="0" width="100%" bordercolorlight="#FFFFFF" bordercolordark="#C7BECD" style="border-collapse: collapse" bordercolor="#111111" cellpadding="0"> <tr> <td width="100%" bgcolor="#FFFFFF"> <DIV CLASS="midasi3"> <a name="i3"></a><span style="background-color: #E3E0DC"><strong> <font size="3"> <font color="#76499A">33 ここに、見出しなどを記述しますだよ〜*。</font></font> </strong></span><a href="#top" target="_self"><img src="./uparrow.gif" border="0" alt="このページのトップへ" width="100" height="11"> </a> </DIV> </td> </tr> </table> <p>任意のテキスト …… …… …… …… …… …… …… …… …… …… …… …… </p> <p> …… …… …… …… …… …… …… …… …… …… …… …… …… …… </p> <p> …… …… …… …… …… …… …… …… …… …… …… …… …… …… </p> <p> …… …… …… …… …… …… …… …… …… …… …… …… …… …… </p> <p> …… …… …… …… …… …… …… …… …… …… …… …… …… …… </p> <p> …… …… …… …… …… …… …… …… …… …… …… …… …… …… </p> <p> </p> <P><HR color="#000000" size="0"><font color="black" face="MS UI Gothic" size="2">©<a href="http://www./……/xxx.html" target="_top"> 2002 hogehoge All rights reserved.</a></font><font face="MS UI Gothic"> </font> |