CSS
ãªã³ã¯ãã¿ã³ã®onMouseOverãCSSã«ä»»ããã¹ãä½æ¥ä¸ã aããããã¯ã¬ãã«ã¨ãwidthã¨heihtãæå®(aã®å®ä½é¨åã¯å¹ ã»é«ãæå®ããééGIFãªã®ã ããä½æ ã表示ä¸ã®é«ããããã«ä¸è´ããªãã£ãã®ã§)ããa:linkã¨a:hoverã§èæ¯åãæ¿ããæå®ãã¦ããã Safariâ¦
ããããã¿ã¼ã³ãåºèª¿ã«ãã¼ã¸ãã¶ã¤ã³ä¸ã è¦åºãã®èæ¯ã«æ·ãã¨æåãèªããªãã®ã§ãæåé¨åã ãç¡å°ãéãããã¨ç»çã h2ã«ããããã¿ã¼ã³èæ¯ç»åãh2 aã«èæ¯è²ãæå®ãã¦ã¿ã(h2ã«ã¯a[name]ã§ãããã¡ãã¥ã¼ããã®ã¢ã³ã«ã¼ãä»è¾¼ãã§ãã)ã®ã ããèâ¦
dlã使ããdtã«èæ¯è²ãæå®ãã¦è²å¸¯ã¨ç½å¸¯ã交äºã«è¡¨ç¤ºãããã¹ã¿ã¤ã«ãæ¸ããã¨ãããWinIE6ã§ã¯æåã®dtã«è²ãçããªãã£ãã åãæ¥ã空è¦ç´ ã®æ¿å ¥ã§å¯¾å¦ãããç¾ãããªããåå 調æ»äºå®ã§ä¿çã
1æã®ç»åã使ãåãã¦è§ãè½ã¨ããããã¯ã¹ãä½ããã¨æã£ã¦ãèæ¯è²ãæå®ããdivã®ä¸ã®è¦ç´ ããããã«èæ¯ç»åãæå®ãä½ç½®ãåºå®ããã éå§ä½ç½®ããã¤ãã¹æå®ããå·¦ä¸ã¯ããã¯ã¹ããåºãé¨åãé ããã¦å·§ããã¨è§ãè½ã¨ããã¦è¦ããããå³ä¸ã¯ããã¯ã¹â¦
ãã£ã¡ã«ãåå ããããã¨ã³ã¼ãã£ã³ã°ãã¦ã¿ã¦ããã®ã ããããããã¼ã¸å®æã¨åæã«é£½ããã ãããããããã«ãä¼ç¤¾ã®Webãµã¤ããçãªãã¶ã¤ã³ã¯çµé¨ãæµ ãã®ã§è²ã ã¨åèã«ãªãããèªåä¸äººã®ç°å¢ã§ã¯ãã¶ã¤ã³ã¨ã³ã¼ãã£ã³ã°ãåæé²è¡ãããã®ã§ãä»äººâ¦
Firefoxã«ã¦ã¼ã¶ã¹ã¿ã¤ã«ã·ã¼ããå½ã¦ãã å ´æã¯ã¦ã¼ã¶/ã©ã¤ãã©ãª/Application Support/Firefox/Profiles/********/chrome/ã®ä¸ãããã«ãuserContent.cssãã¨ããCSSãã¡ã¤ã«ãä½ãã ãã åãæ¢ããè¨å®ããã®ã¯textareaã®æå調æ´ãæåãµã¤ãºã種é¡ãâ¦
åå ãã¦ã¿ããç»åç¡ä½¿ç¨ãç´åªä½çãªèªã¿æãã念é ã«ç½®ãã¦ã é è²ã¯id:tanemoriæ°ã®ã¹ã¿ã¤ã«ããé ãã¦ãã(äºå¾ã§ã¯ããã御礼ç³ãä¸ãã)ããã®CSSã¯é è²ã ãã§ãªãé ç½®ãå«ãå®ã«ç§é¸ã ã¨æãã è¦å®ã«ã¼ã«ã«ã¤ã㦠大å¤ã®ä¸édivã¯ããããªãã®ããâ¦
éµä¾¿å±ã®ãã´ã«è¦ããããããªãä¸æåç®ã ãå転+2è¡æããã¿ã¼ã³ãCSSã§ãã£ã¦ã¿ããã¨èããã æåãh1ã«border-leftã§åè§é¨åãä½æãã¦padding-leftã«è² ã®å¤ãæå®ããã°ããããããªããã¨æã£ãããpaddingã¯è² ã®å¤ãåããªããæåè²ã®å¤æ´ã«ç¨ãâ¦
IEã®position/floatåãã«ã¯è²ã ã¨çå¼¾ããã£ã¦ãã©ãããããwidthã¨ã®ç¸é¢æ§ãæ·±ãã®ã ããä»ã¡ãã£ã¨positionã§ãµã¤ãã¡ãã¥ã¼ã調æ´ãã¦ããã¨ãã«å¼ã£æã£ããã°ã«ã¤ãã¦æ¸ãã¦ããã ã¡ã¤ã³ã¨ãªãé¨åãmargin-leftã§ä½ç½ãä½ããããã«position:absolâ¦
æ·±ããã£ã¬ã¯ããªæ§é ãæã¤ãããªãµã¤ãã§ãã£ã¦ããé層ã«åããã¦CSSãåãæ¿ããã¨ãããã¨ã¯ãã¾ãå¤ããªãã ãããæãã¯é¨åçã«å¤æ´ããã«ãããå ¨ä½ã¨ãã¦ã¯åºæ¬çã«åä¸ã®CSSãé©ç¨ãã¦ããã®ä¸ã§é¨åçã«å¤æ´ãå ããã®ãä¸è¬çã ã¨æãããã ãâ¦
æãã³ãããã®Webãµã¤ãä½æä½æ¥ä¸ã«ããã£ãç¾è±¡ã 段è½ã®åé ã«float:leftæå®ããç»åã表示ããã ãã®ä»£ç©ãªã®ã ããç»é¢è¡¨ç¤ºã§ã¯æ£å¸¸ã«åãè¾¼ãã§ããã®ã«ãå°å·ããã¨ä½æ ã3è¡ç®ã¾ã§ããåãè¾¼ã¾ãªããä¸èªç¶ãªã¨ããã§ä¸èªç¶ã«éã空ãã å°å·ç¨ã¹â¦
ãã¶ã¤ã³ã»ãããç¨æãã¦åãæãå¯è½ãªæ©è½ã®ãªãªã¼ã¹ãæ¥è¨ç·¨éè èªèº«ãé©ç¨ã¹ã¿ã¤ã«ãé¸ã¶ä»çµã¿ã§ãä½æãããã¶ã¤ã³ã»ããã¯å ¬éãããã¨ãã§ãããå®è³ªçã«ã¯ã¦ãªãã¼ãã¨ãã£ã¿ã¨èãã¦è¯ãã ããã è²ã æ°ã«ãªããã¨ã ãã¶ã¤ã³ã»ããä½ææã«é¸æâ¦
å¤ããµã¤ãã®æ´æ°ãæªã ã«ãã¬ã¼ã ã¡ãã¥ã¼ä½¿ç¨ã§ãæå³ããªãã¡ãã¥ã¼é¨ãç»ååããã¦ã¹ãªã¼ã´ã¡ã§å ¥ãæ¿ãã¦ããã å½æã¯ããããã®ãæµè¡ãã ã£ãã®ã ããä»ã¨ãªã£ã¦ã¯èããéãã ã å ¨é¢ãªãã¥ã¼ã¢ã«ãªããããªãã®åãæã£ã¦Validã«ãããããããæ ¹â¦
Webç³»ã®ä½æ¥ã§ã¯ãè¤æ°äººæ°ã§ãã¼ã¸ã製ä½ããã«ãããããã°ãã°é½åã«å¿ãã¦ã¹ã¿ã¤ã«ã追å ããå¿ è¦ãçãããæåãããã¡ãã¨è¨è¨å®äºãã¦ããã°ãããªå¿ è¦ãªã©ãªãã®ã ããä¸ã ããå·§ããè¡ããªãã ãã®ã¨ããå CSSã§åèªã®ã¹ã¿ã¤ã«ãã¤ã³ãã¼ãããä»â¦
å¼ç¨æã®åå¾ã«:before/:afterçä¼¼è¦ç´ ã§ä»å ãã¦ããå¼ç¨ç¬¦ãæã æå ¨ä½ãå²ãã®ã§ã¯ãªãæã®åã«çºãã¦è¡¨ç¤ºããããã¨ãããã®ã¯Firefoxã®æç»ãã¹ãã
ã¯ã¦ãªãã¼ãã°ã«ã¼ãã«ã¦ãæ°ä½ã®ã¸ã¼ã³ãºé¢¨ã¹ã¿ã¤ã«å ¬éä¸ã
tableå©ç¨æã縦æ¹åã®ä½ç½®èª¿æ´ãæªã ã«è¯ã解ããªãã è¤æ°ã®tdã並ãã ç¶æ ã§ããããã®å 容ç©ã®é«ããç°ãªãã¨ãä½ç½ã®ããã»ã«ã§ã¯ããã©ã«ãã§ä¸ä¸æ¹åã«ã¤ãã¦ä¸å¤®é ç½®ãããã ãããä¸ä»ãã«ããå ´åãHTMLãªãã°td valign="top"ã§å¯è½ã ã£ãã®ã ãâ¦
ãµã¨-moz-border-radiusã«æ ããªãè§ã®ä¸¸ãæ¹ï¼ä½ãä¸é¨ã®ã¿ï¼ãæãã¤ããã®ã§http://css.g.hatena.ne.jp/DocSeri/20060227ã«è¨ãã
ã©ãããã°ã«ã¼ãããã©ã«ãã¹ã¿ã¤ã«ã¸ã®zen-makieé©ç¨æã«ã°ã«ã¼ãã«ã¬ã³ãã¼ãé»åé»èæ¯ã«ãªã£ã¦ãã¾ãã¨ããåé¡ããããããã¨ãããã¨ã§ãããè¨ãã°ã°ã«ã¼ãã®åä½ãã¹ãã失念ãã¦ãããã¨ã«æ°ä»ãæ©éãã¹ããéå§ããã以åä½ã£ã確èªç¨CGIãä½æ â¦
赤æ¼ãã¿ã¼ã³ã¨å¯¾ãæãã¹ã¿ã¤ã«ãå½åã¯å¾®å¦ã«ç»åé©ç¨ä½ç½®ãªã©ããããã¦ããã®ã ããçµå±çµ±ä¸ãããã¨ã«ããã
zen-sumieããåã«ä½ãå§ããªããçºã¾ããæªããªãªã¼ã¹ã§ããªãã£ãæ¼å¡ãã¹ã¿ã¤ã«2種ã«ç®å¦ãã¤ããã®ã§ãthemeã°ã«ã¼ãã§å ¬éãæåè²ãªã©ã®èª¿æ´ãæ½ãã¦ãªãªã¼ã¹äºå®ã
HTMLã¯ã¹ã¿ã¤ã«ã·ã¼ãã«ãã£ã¦æè»ãªè¡¨ç¾åãåããããæ®å¿µãªããæªã ä¸ååãªã¨ãããå¤ã ãããåçå²ä»ãç¶ããå¤æ®µçµç¶ãã ä¸ã§ããæ¥æ¬èªè¡¨ç¾ä¸æ¬ ãã¹ãããããã®ã§ãããªãã対å¿ã®é²ã¾ãªããã®ã®ä¸ã¤ãã«ãã§ãããã IEã¯ç¬èªã®å è¡å®è£ ã¨ãã¦rubâ¦
ã³ã¡ã³ãé¨åã®ã¯ãªãã¯ã§ç·¨éå¯è½ã«ãªã£ãé¢ä¿ã§ãèæ¯ã«ã¯ãªã¼ã è²ãè¨å®ããCSSãèªåæ¿å ¥ãããããã«ãªã£ã模æ§ã ããããããã¹ã¿ã¤ã«ã«é¢ãããæ¿å ¥ããã¦ããã®ã§ãä¾ãã°æãèæ¯ã«ã¯ãªã¼ã è²ã®æåãè¨å®ãã¦ãã人ã¯å°ã£ããã¨ã«ãªãããããªãâ¦
ãã¼ãå©ç¨ã®ä¸ã§ã¡ãã£ã¨ããã«ã¹ã¿ãã¤ãºã試ã¿ã人ã¯å¤ãã¨æãããã¯ã»ã®ãããã¼ããå©ç¨ãã¦ãããããã¨ãªããªãå·§ããããªããã®ã ã ãã®ã¦ã¼ã¶ã¼ãCSSãHTMLã«ã¤ãã¦å¤å°ãªãã¨ãç¥èãæã£ã¦ããå ´åã¯è¯ãããããã§ãªãå ´å説æèªä½ãé£ãããâ¦
Blogpetãæ°ãããªã£ã¦ä¸ã«åºåãã¤ãããã«ãªã£ãã ç¡æã§å©ç¨ãã¦ãã以ä¸æå¥ãè¨ããªãããæ£ç´é¬±é¶ããäºãã®ä¸ãªãã ããã§ãã¹ã¿ã¤ã«ã·ã¼ãã使ã£ã¦ãããè¦ãé ãã¦ãã¾ããã¨æãã Blogpetã®ã½ã¼ã¹ã³ã¼ã Blogpetã¢ã¸ã¥ã¼ã«ã¯JavaScriptã«ãã£ã¦â¦
ããã¯ãã¼ãä½æè ã«ã¨ã£ã¦ã¯é大ãªãã¥ã¼ã¹ã§ããã ç§ã¨ãã¦ã¯ãã®æ¹åæ§ã«å対ãããã以ä¸ã«ãã®çç±ãè¿°ã¹ãã è¦æ ãã®å´©ã ã¯ã¦ãªã®ãã¼ããå½¢ä½ããã¹ã¿ã¤ã«ã·ã¼ããã¯ãHTMLãã¡ã¤ã«ã®æ§é ãå ã«ãã¶ã¤ã³ããããåä¸ã®æ§é ãä¿æãããªããã°ããâ¦
ãã¼ããã¼ã¯ã¯æç« è¡¨ç¾ã§å©ç¨é »åº¦ã®æ¯è¼çé«ãããªè¨å·ã ããå®ã¯æ©ç¨®ä¾åæåãªã®ã§ç°å¢æ¬¡ç¬¬ã§ã¯æ£å¸¸ã«è¡¨ç¤ºãããªãã ããã§é常ã¯ãâãã¨ããvããªã©ã§ç½®ãæããã®ã ãããã®æ¹æ³ã§ã¯ãã¥ã¢ã³ã¹ãæ£ç¢ºã«ä¼ããã«ä¸è¶³ãããã å®ä½åç §♥ã¯æ¦ãæâ¦
æ¼ã¨èçµµãã©ããçºã¾ããªããh2ãh3ãmoduletitleãªã©ã«ã¢ã¯ã»ã³ããã¤ãããã®ã ãããªã«ãå ¥ãã¦ãä»ã²ã¨ã¤æ§ã«ãªããªãã®ã§ããã å ã ãæ¼å¡ãã®è£½åã¯é常ã«ã·ã³ãã«ãªãã®ãå¤ããå½¢ããã¥ã¼ãã©ã«ã§ãããã1è²ã¾ãã¯2è²ã§å¡ãåããç¨åº¦ã®è£½åãæ®â¦
http://theme.g.hatena.ne.jp/DocSeri/ã«ã¦å風ã¹ã¿ã¤ã«å ¶ã®å£±:ã墨絵ããå ¬éãåç´ã«å¢¨ã§ç·ãå¼ããã¤ã¡ã¼ã¸ã®ãã¶ã¤ã³ãåã«åãã¦å¢¨ãçµµãã§ã¯ãªãããã©ãããã¯ãæå¬ã ç¹å¾´çãªã®ã¯ãµã¤ããã¼ã§ãæ¬æå¹ ã«çããmargin-leftãè¨å®ãã¦ããã ãã§å¹ ãâ¦
CSSã°ã«ã¼ãã®ãã¼ãä½æã³ã³ãã¹ãç¨ã«ãã¹ã¿ã¤ã«ã·ã¼ãé©ç¨æã®ã¤ã¡ã¼ã¸ã確èªããããã®CGIãä½ã£ãã®ã ããã©ãããªããããã¼è²ãåãæ¿ããããããã«ãããã¨æãã¤ã¤è²ã³ã¼ãç½®ãæãé¨åã§æ«ææ°å³ããã¹ã¦ã®ãããã¼ã«ã©ã¼ã表示ãã¦ã¯è©²å½ããè²â¦