web,direction,planning,graphicdesign

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

を実行

フォロワー