web,direction,planning,graphicdesign

2010年11月29日月曜日

携帯サイト 罫線について

hrタグの表示が3キャリアで違う
ほぼ同じように表示するには

<hr size"1" style="width:100%;height:1px; margin:2px 0;padding:0;color:色指定;background:色指定;border:1px solid 色指定;" />

■spacer.gifをつかって1pxの線を表示

<div style="background-color:色指定;" />
<img src="spacer.gif" width="1" height="1" />
<br />
<div />

携帯サイト制作テンプレート

■iモード

<?xml version="1.0" encoding="Shift_JIS"?>
<!DOCTYPE html PUBLIC "-//i-mode group (ja)//DTD XHTML i-XHTML(Locale/Ver.=ja/2.3) 1.0//EN" "i-xhtml_4ja_10.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="ja" xml:lang="ja">
<head>
<meta equiv="Content-Type" content="application/xhtml+xml; charset=Shift_JIS">
<meta equiv="Content-Style-Type" content="text/css">
<meta equiv="pragma" content="no-cache">
<meta equiv="cache-control" content="no-cache">
<meta equiv="expires" content="-1">
<meta name="robots" content="index,follow">
<meta name="keywords" content="">
<meta name="description" content="">
<title>wagaco</title>
<style type="text/css">
<![CDATA[ a:link{} a:focus{} a:visited{} ]]>
</style>



■au(DOCTYPEが違います)

<!DOCTYPE html PUBLIC "-//OPENWAVE//DTD XHTML 1.0//EN" "http://www.openwave.com/DTD/xhtml-basic.dtd">

■SoftBank

<!DOCTYPE html PUBLIC "-//J-PHONE//DTD XHTML Basic 1.0 Plus//EN" "xhtml-basic10-plus.dtd">

2010年10月15日金曜日

illustrator CS5 遠近グリット

● 遠近グリッドツール(ショートカット)=Shift+P
● 解除(ショートカット)= Ctrl + Shift + I

利用方法
http://tv.adobe.com/jp/watch/learn-illustrator-cs5/6615/

2010年9月8日水曜日

CSS:プロパティの指定順序についてのメモ

.name {
/* 表示・配置に関する設定 */
display: ;
position: ;
top: ;
right: ;
bottom: ;
left: ;
z-index: ;
float: ;
clear: ;
overflow: ;
visibility: ;

/* 大きさ(ボックス)に関する設定 */
min-width: ;
width: ;
max-width: ;
min-height: ;
height: ;
max-height: ;
vertical-align: ;
margin: ;
padding: ;
border: ;

/* テキスト・背景に関する設定 */
color: ;
font-family: ;
font-style: ;
font-weight: ;
font-size: ;
text-indent: ;
text-align: ;
text-decoration: ;
letter-spacing: ;
line-height: ;
background: ;
}

2010年7月12日月曜日

WordPress3.0 page.phpのthe_content()が記事の投稿内容をとってきてしまう

page.phpを作成
ページの投稿内容を表示させるためpage.phpを下記のように作成

<?php
/**
honyarara
*/
get_header(); ?>
<?php get_sidebar(); ?>
<div id="page-container">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<?php the_content(); ?>
<?php endwhile; endif; ?>
</div>
<?php get_footer(); ?>

こうすると、ページの投稿記事ではなく、投稿メニューの新規追加で投稿した記事の内容をとってきました。。


<?php
/**
honyarara
*/
get_header(); ?>
<div id="page-container">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<?php the_content(); ?>
<?php endwhile; endif; ?>
</div>
<?php get_sidebar(); ?>
<?php get_footer(); ?>


<?php get_sidebar(); ?>の記述位置を変えたら、ちゃんとページの投稿記事を表示してくれました。
ちょっと詳細はワカラナイです。。

2010年5月18日火曜日

ActionScript  ランタイムエラー

TypeError: Error #1009: null のオブジェクト参照のプロパティまたはメソッドにアクセスすることはできません。

とでました。

「表示オブジェクトが表示リストに追加されていない場合、stage プロパティは null に設定されます。」

http://help.adobe.com/ja_JP/AS3LCR/Flash_10.0/flash/display/DisplayObject.html#stage

だそうです。

stage.stageWidth
stage.stageHeight

を数値化しました。


追記

数値化ではなく解消方法

http://www.inazumatv.com/contents/archives/177


完璧に解決でした。すごい。

2010年2月1日月曜日

Macの不可視ファイルを表示

ターミナルから

defaults write com.apple.finder AppleShowAllFiles TRUE
kill all Finder

を実行

追記

ターミナルをごにょごにょしないでも

Mac上の様々な設定を自由にカスタマイズする事が出来るフリーウェア。

http://www.bresink.com/osx/TinkerTool.html

ダウンロード↓
http://www.bresink.com/osx/0TinkerTool/download.php5

MacのFinderにファイルパスを表示させる

ターミナルから

defaults write com.apple.finder _FXShowPosixPathInTitle -bool YES
killall Finder

を実行

フォロワー