XML/XSL/DHTML/CSS/JAVA Java、JavaScript、DHTMLサンプル   作成:hogehoge 2010/11/17 12:02
任意のテキスト   見出し31 へ   見出し32 へ   見出し33 へ … …… …… …… …… ……  
任意のテキスト   …… …… …… …… …… …… …… …… …… …… ……
xml/xsl/DHTML/css/Java
ランダムメッセージ2 - HTA4

 21 ここに、タイトルなどを記述するじゃ…*。  CSSリファレンス - ここに説明文を記述します。

 

 22 ここに、サブタイトルなどを記述しますだよ。 DataBind - ここに説明文を記述します。

 

 

 

 31   ここに、見出しなどを記述しますだよ〜*。  このページのトップへ       

任意のテキスト …… ……  …… …… …… …… …… …… …… …… …… ……  

…… ……  …… …… …… …… …… …… …… …… …… …… …… …… 

…… ……  …… …… …… …… …… …… …… …… …… …… …… …… 

…… ……  …… …… …… …… …… …… …… …… …… …… …… …… 

…… ……  …… …… …… …… …… …… …… …… …… …… …… …… 

…… ……  …… …… …… …… …… …… …… …… …… …… …… …… 

 

 

 

 32    ここに、見出しなどを記述しますだよ〜*。  このページのトップへ       

任意のテキスト …… ……  …… …… …… …… …… …… …… …… …… ……  

…… ……  …… …… …… …… …… …… …… …… …… …… …… …… 

…… ……  …… …… …… …… …… …… …… …… …… …… …… …… 

…… ……  …… …… …… …… …… …… …… …… …… …… …… …… 

…… ……  …… …… …… …… …… …… …… …… …… …… …… …… 

…… ……  …… …… …… …… …… …… …… …… …… …… …… …… 

 

 

 

 33    ここに、見出しなどを記述しますだよ〜*。  このページのトップへ       

任意のテキスト …… ……  …… …… …… …… …… …… …… …… …… ……  

…… ……  …… …… …… …… …… …… …… …… …… …… …… …… 

…… ……  …… …… …… …… …… …… …… …… …… …… …… …… 

…… ……  …… …… …… …… …… …… …… …… …… …… …… …… 

…… ……  …… …… …… …… …… …… …… …… …… …… …… …… 

…… ……  …… …… …… …… …… …… …… …… …… …… …… …… 

 

 

 

 

 


© 2002 hogehoge  All rights reserved.

 

 

 

ホーム へ       サンプルページ  文字サイズ固定css_div01.htm

ページ全体とタイトルや見出しの、文字サイズ、フォントの指定。   ブラウザの、[表示]-[文字サイズ]-[最大] で変更してもサイズを一定に保つ。      CSS。     ページ全体や、タイトル、見出しの文字サイズなどのカスタマイズはテキストエディターなどで可。    Internet Explorer4.x〜 対応。    コピー、編集し、簡単にWebで応用できまっ、(^ ^)。   関連・詳細情報 :CSS-Measurement and Location SampleCSS-Measuring Element Dimension and Location

デモは、 【Internet Explorer】-[表示]-[文字サイズ]-[最大] などで。

 

< ご使用方法 >

・ ローカル(=PC)への保存は、css_div01.htm、〔任意 : uparrow.gifdownload2.gif〕 を右クリック、[対象をファイルに保存] - 【ファイルのダウンロード】、【ファイル名を付けて保存】 - <保存する場所>: ……、などで。    ※: 【Internet Explorer】 - [ファイル] - [名前を付けて保存]−[ファイルの種類] ”Webページ、完全” ……、などで変わってしまったファイル名や、*.html 中のパスは要修正。

・ このCSSの実装方法は、css_div01.htm をテキストエディターで開き、ホームページ作成ソフトなどのHTML挿入/編集メニューなどを使って、新しいページ 1 や hogehoge.html(=任意の挿入先ファイル名) の、<head> 〜</head>の任意の行間に (*1) を、さらに <body> 〜</body>の任意の行間に (*2) をペーストします。

・ 編集方法は、hogehoge.html を WordPad や SmipleText などのテキストエディター、あるいは ”FrontPage Express” などのホームページ制作ソフトのHTMLタグ挿入/編集メニュー で開き編集します。    下記の(例) (*1) と、 (*2) を参考に太字部分の編集を任意に行います。   classは取捨選択使用可。※: テキストエディターによる編集は、HP制作ソフトとの互換性の問題を生じません(HP制作ソフト間は少し生じる)。

・ 作動テストは、ローカル(PC)に保存し、 Internet Explorer 4.x〜 などで開いて。    更新の確認は、ieやサーバーからのキャッシュデーター更新を、目的のページを表示し ieで [F5]キー を押し最新データ読み込みで行います(≠再アクセス)。

・ アップロードや作動テストは、hogehoge.html と同じ階層〔ホルダー/ディレクトリー〕に、使用する画像〔uparrow.gif、download2.gif〕なども転送/配置し実施。  ※:別ディレクトリーに配置時は、*.html 中のパスは要修正。   FTPなどで変わったファイル名は要修正。    スクリプト構文中への改行混入は非作動原因。

・ 関連情報 : 色記号62スタイルシートリファレンスホームページ開設入門が便利!。   Web& Internet SamplesWeb DevelopmentXMLDHTMLとは?ColorTableHTMLの色指定色見本

 

(*1) css_div01.htm (例)         挿入先の  <head> 〜 </head>の、部分にペーストします。

HTMLの編集方法   (*1) をテキストエディターで開き、下記↓のHTMLを挿入先ファイルにペースト、太字部分を編集し使用。
〔この列ペースト不要〕

シフトJIS使用(削除不可)

ieなどに表示するアイコンファイル名(削除可)

<style type 〜 </style>は スタイルシート・CSS

マウスオーバー時のテキスト  背景色 下線表示

 

非マウスオーバー時の下線非表示(逆も可)

以下、classは取捨選択使用可。

ページ全体のフォント指定

 

body 部の指定

headline  〃

 

instructions  〃

group  〃

button  〃

arrow  〃

midasi1  〃

midasi2  〃

midasi3  〃

リンクを新しいWinで開くを標準(削除可)※:target= いろいろ

同じフレーム target="_self"
ページ全体  target="_top"
親フレーム  target="_parent"

お気に入り、タスクバーに表示するページ名(≠ファイル名)

 

<meta http-equiv="Content-Type" content="text/html; charset=x-sjis">

<link REL="SHORTCUT ICON" href="favicon.ico">

<style type="text/css"><!-- A:hover {

COLOR: #8000e2; BACKGROUND-COLOR: #f3edee; TEXT-DECORATION: underline

}

A {

TEXT-DECORATION: none

}

font {

font-family: "MSPゴシック", "MSゴシック"; font-size: 12px; line-height:13px;

}

body{ font-family: "MSPゴシック", "MSゴシック"; font-size: 12px; line-height:13px;}

.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:#E8E6F2; 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;}

-->

</style>

<base target="_blank">

<title>サンプルページ  文字サイズ固定</title>

 

(*2) css_div01.htm (例)        挿入先の  <body> 〜 </body> の、 部分にペーストします。

HTMLの編集方法   (*2)をテキストエディターで開き、下記↓のHTMLを挿入先ファイルにペースト、太字部分を編集し使用。
〔この列ペースト不要〕

※:<body> 部の編集 背景 リンク 表示済みリンクンク アクティブリンクの各色(任意値)

テキスト 吹き出し URL

 

 

 

 

 

 

<body bgcolor="#F8F5F5" link="#54006C" vlink="#62000D" alink="#00FFFF">

 

<DIV CLASS="headline"><b> &nbsp;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>&nbsp;&nbsp;

<a target="_self" href="#i2">見出し32 へ</a>&nbsp;&nbsp;

<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: #E8E6F2"><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">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</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: #E8E6F2"><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">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</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: #E8E6F2"><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">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</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">&copy;<a href="http://www./……/xxx.html" target="_top"> 2002 hogehoge All rights reserved.</a></font><font face="MS UI Gothic">

</font>

 

< 補足 >    適時参照あれ!。

・ Wordpad によるHTMLソース(タグ)を見ながらの直接編集方法。