UI: border - 둥근모서리 (Rounded Corners)

웹표준/쇼케이스 2008. 3. 4. 22:20
웹 2.0 을 표방한다고 하는 많은 사이트에서 둥근모서리 영역을 많이 사용하고 있다.
일단 보기 좋기 때문에 사용할 텐데..
FireFox에서는 아래 처럼 손쉽게 적용할 수 있지만..

-moz-border-radius: 25px;

IE에서는 쉽지 않다.

CSS 만으로 사용하기에는 구조가 복잡해지거나 별도의 모서리 이미지를 사용해야 한다.
JavaScript를 이용하기에는 썩 내키지가 않다.

이에 관련된 포스트를 정리한다.

01. Liquid expandable section with rounded orners using CSS
URL:
woork.blogspot.com/2008/03/liquid-expandable-section-with-rounded.html
사용자 삽입 이미지
02. Easy Rounded Corners with Border-Radius
URL: www.cssnewbie.com/easy-rounded-corners-with-border-radius/

-moz-border-radius: 5px;
-webkit-border-radius: 5px;


03. CSS Sprites + Rounded Corners
URL: cssglobe.com/post/3714/css-sprites-rounded-corners

04. CurvyCorners
URL: www.curvycorners.net  code.google.com/p/curvycorners/

- 25 Rounded Corners Techniques with CSS
- jQuery Corner
- [Border] 12 Creative and Cool Uses for the CSS Border Property
- Best Collection of CSS Rounded Corners Tutorials
- 5 Message Boxes to Style your Notifications with CSS
- [tool] Rounded Corner Image Generator
- Creating rounded corners with CSS2 & CSS3
- 4 Ways to Get Rounded Corners Using CSS
- Rounded Corners
- border-radius and -moz-border-radius
- [CSS3] Setting CSS3 Border-Radius with Slash Syntax
- [mozilla] border-radius
- 10 jQuery Corners and Borders Plugins
- border radius
- Multiple Borders with CSS
- CSS3 Borders Preview
- How Do Browsers Render the Different CSS Border Style Values?
- Practical CSS3 tables with rounded corners 
- Code a Simple Folded Corner Effect With CSS  
- Simple yet amazing CSS3 border transition effects    
- CSS3 tucked corner   



'웹표준 > 쇼케이스' 카테고리의 다른 글

UI: 튼튼한 CSS Button 만들기  (4) 2008.03.12
이미지 갤러리  (0) 2008.03.05
UI: border - 둥근모서리 (Rounded Corners)  (0) 2008.03.04
Chart & Graph  (2) 2008.03.04
UI: 네비게이션, 메뉴 CSS  (0) 2008.02.27
UI: Table, CSS + (JavaScript)  (0) 2008.02.27

(X)HTML 태그공부 여기서 하세요.

웹표준 2008. 3. 4. 21:59
꽤 흥미로운 사이트를 발견했습니다.
XHTML 태그(tags)와 속성(attributes) 그리고 CSS 속성(properties)를 친절한 예제와 함께 학습할 수 있도록 구성한 사이트입니다. [W3C Elements]
웹표준의 기본을 공부하는데 더할 나위없이 좋은 곳이 아닐까 싶은데..^^
* [mozilla] HTML Elements

URL:
htmlplayground.com 
사용자 삽입 이미지

사용자 삽입 이미지


[하나 더!]  www.gotapi.com
사용자 삽입 이미지

[태그 공부 연습]  http://lab.xms.pl/markup-generator/

- Real-time HTML Editor
URL: http://htmledit.squarefree.com

* Periodic Table of the Elements

- 99Lime HTML KickStart




'웹표준' 카테고리의 다른 글

Equal Height Columns  (0) 2008.04.16
meta-element in (X)HTML  (0) 2008.03.12
(X)HTML 태그공부 여기서 하세요.  (0) 2008.03.04
HTML에서 더 이상 사용않는 Elements, Attributes  (0) 2008.03.04
이메일 디자인의 9가지 정석  (4) 2008.03.03
CSS Framework  (0) 2008.02.28

Chart & Graph

웹표준/쇼케이스 2008. 3. 4. 21:40
CSS + (JavaScript)로 구성한 Chart와 Graph 입니다.
Google Chart API는 유명합니다.

01. Vertical Bar Graph with CSS and PHP
URL :
www.terrill.ca/design/vertical_bar_graphs/

사용자 삽입 이미지
사용자 삽입 이미지

02. Pure CSS Data Chart
URL :
cssglobe.com/post/1272/pure-css-data-chart
사용자 삽입 이미지

03. Percentage bar (Progress bar)
URL#1 :
my-javascript-non-ajax-progress-percentage-bar-jsprogressbarhandler-02
URL#2 : livepipe.net/projects/control_progress_bar/
URL#3 : cssglobe.com/post/1468/pure-css-animated-progress-bar
URL#4 : Create Web 2.0 Progress Bars: jQuery, DHTML, JS, CSS, Photoshop
사용자 삽입 이미지

04. CSS For Bar Graphs
URL :
applestooranges.com/blog/post/css-for-bar-graphs/?id=55
사용자 삽입 이미지

05. A Definition list bar chart
URL :
www.cssplay.co.uk/menu/barchart.html
사용자 삽입 이미지

06. An Accessible bar chart
URL :
www.standards-schmandards.com/exhibits/barchart/
사용자 삽입 이미지

07. Flot (Attractive JavaScript Plotting for jQuery)
URL :
code.google.com/p/flot/
사용자 삽입 이미지

08. Emprise JavaScript Charts
URL :
www.ejschart.com
사용자 삽입 이미지

- elycharts.com

* jQuery Plugin Charts
- Highcharts:
www.highcharts.com
jqPlot (jQuery)
jGCharts (jQuery + Google Charts)
jQuery Sparklines
jQuery Visualize
- flot
- jqbargraph
- jQuery Plugin for FusionCharts Free
- Peity
- TufteGraph
- jQuery Gantt Chart
- Create An Animated Bar Graph With HTML, CSS And jQuery

* FlashCharts
- 10 Useful Flash Components for Graphing Data
- FusionChart :
www.fusioncharts.com/Free/
- Learn to Create Interactive Drill-Down Dashboards with PHP and FusionCharts
- Open Flash Chart : teethgrinder.co.uk/open-flash-chart/
- PHP/XML/SWF Chart : www.maani.us/charts/  www.maani.us/xml_charts/
- amCharts : www.amcharts.com
- Date Slider : www.measuremap.com/developer/slider/
- Astra Flash Components (chart)
- Siliverlight Charts
- ZingChart
FusionChart

FusionChart


* Java Chart
- JFree Chart 
www.jfree.org/jfreechart/
- Open Flash Chart GWT Widget Library (ofcgwt)
사용자 삽입 이미지

pChart - a PHP class to build charts
JSchart - javascript framework
CanvasGraph : Graphing in JavaScript (ie제외)
ProtoChart : Prototype + Canvas
PlotKit : JavaScript Chart Plotting

- gRaphael
- dygraphs JavaScript Visualization Library
- Protovis
- [for Excel, PPT] Excel and PowerPoint Charts
- [HTML5] RGraph: HTML5 canvas graph library based on the HTML5 canvas tag
-
HTML5 Canvas Graphing Solutions Every Web Developers Must Know
- [HTML5] AwesomeChartJS


- 20+ CSS Data Visualization Techniques
- 10 Free Chart Script
- 10 Best Free JavaScript Charts Solutions
- 16 Usable CSS Graph and Bar Chart Tutorials and Techniques
- Accessible Data Visualization with Web Standards
-
Eric Meyer's CSS Vertical Bar Graphs
- 22 Code Snippets for Creating Decent Charts
- Yahoo! UI Library: Charts
- Free Chart and Graph Solutions
- Using CSS for Bar Graphs
- 8 CSS Techniques for Charting Data
- CSS Stacked Bar Graphs
- Charts with PHP and Google Chart API
- Bluff: Beautiful graphs in JavaScript
- 14 JavaScript Resources And Plugins For Creating A Stylish Chart
- Creating Flash Charts From Google Sreadsheets
- Graph scripts - part1 - javascript
- 25 Graph and Chart Solutions for Web Developers
- [Flash] 15 Helpful Flash Components to Make Charts and Maps
- [Flash] Interactive Flash Graphs and Charts For Your Website
- [library] Jointjs: javascript diagramming library



'웹표준 > 쇼케이스' 카테고리의 다른 글

이미지 갤러리  (0) 2008.03.05
UI: border - 둥근모서리 (Rounded Corners)  (0) 2008.03.04
Chart & Graph  (2) 2008.03.04
UI: 네비게이션, 메뉴 CSS  (0) 2008.02.27
UI: Table, CSS + (JavaScript)  (0) 2008.02.27
Form CSS  (0) 2008.02.27
  • 2010.09.25 15:07 ADDR 수정/삭제 답글

    비밀댓글입니다

    • Favicon of https://kmoonki.tistory.com BlogIcon 자리끼 2010.09.28 14:53 신고 수정/삭제

      간단히 설명드리긴 쉽지 않네요.. jquery관련 책을 도서관에서 빌리시거나 구매하셔서 보시길 권해드립니다.;;

HTML에서 더 이상 사용않는 Elements, Attributes

웹표준 2008. 3. 4. 21:14
[ Deprecated HTML Elements ]라는 제목으로 W3C에서 더 이상 사용하지 말아야 하는 항목을 정리했습니다.  W3C 내용 참고하면서 정리하면 좋겠습니다.
[
HTML 4.01 elements ] [ HTML 4.01 attributes ]

  • The FONT and BASEFONT tags
  • The CENTER tag and ALIGN attribute
  • The U, S and STRIKE elements
  • The BACKGROUND and BGCOLOR attribute
  • The BORDER attribute
  • The TEXT, LINK, ALINK and VLINK attributes
  • The HPSACE and VSPACE attributes
  • The LANGUAGE attribute
  • The CLEAR attribute
  • The WIDTH and HEIGHT attributes
  • The TYPE attribute for lists
  • The START and VALUE attributes for lists
  • The COMPACT attribute for lists
  • The APPLET element
  • The DIR and MENU elements
  • The ISINDEX element
  • The NOSHADE and SIZE attributes for HR
  • The NOWRAP attribute
  • The VERSION attribute 



  • '웹표준' 카테고리의 다른 글

    meta-element in (X)HTML  (0) 2008.03.12
    (X)HTML 태그공부 여기서 하세요.  (0) 2008.03.04
    HTML에서 더 이상 사용않는 Elements, Attributes  (0) 2008.03.04
    이메일 디자인의 9가지 정석  (4) 2008.03.03
    CSS Framework  (0) 2008.02.28
    CSS Techniques (Tips, Hacks)  (0) 2008.02.27

    이메일 디자인의 9가지 정석

    웹표준 2008. 3. 3. 19:02
    [ 9 Best practices for email design ] 의 내용을 정리합니다.
    사용자에게 발송하는 이메일의 디자인을 참고할 수 있습니다.
    [ A Guide to CSS Support in Email: 2007 Edition ] 에서는 여러항목을 비교해서 보여주고 있네요. 우선 아래 내용을 본 후 데이터를 보시면 도움되겠네요.

    01. Go old school with your HTML
    outlook express, thunderbird 등 이메일 리더가 최근 CSS를 지원하지 않을 가능성이 있기 때문에 Table을 이용한 Layout를 이용하세요.  예전에 사용하는 방식으로 작업하세요..

    02. Use inline style tags
    대부분의 이메일 리더는 HTML의 <head>내 정의한 내용을 반영하지 않습니다. 그렇기 때문에 Style을 head내에 정의하기 보다는 <body>내의 태그에 직접 style을 기술하는 inline 방식으로 적용하세요.

    03. Don't rely on using background images
    중요한 의미를 갖는 이미지는 background-image 형식으로 삽입하지 마세요. 이메일 리더에 따라서 반영하지 않는 경우가 있습니다. (outlook 2007이나 gamil의 경우가 해당됩니다.)

    04. Consider your images blocked by default
    이메일 리더는 보안을 이유로 이메일에 삽입된 이미지를 Blocking하니 중요한 메시지를 이미지로 만드는 것은 피하는 것이 좋습니다.

    05. Use the ALT attribute for images
    이미지가 안나오는 경우를 대비하여 image 태그의 alt 속성을 정의하세요.

    06. Use absolute paths
    이미지 경로는 상대경로(relative paths)가 아닌 절대경로(absolute paths)로 표기하세요.

    07. Be considerate of file sizes
    많은 이미지를 사용하거나 큰 이미지일 경우에 Loading time이 많이 걸릴 수 있습니다.

    08. Avoid rich media and forms
    Flash 등의 멀티미디어 파일의 사용을 가급적 피하세요.
    파일사이즈가 커질 수 있으며, 보안문제로 제대로 동작이 안될 수 있습니다.

    09. Design for smaller spaces
    이메일 리더의 screen 영역이 제한적이므로 800px(750px 추천)이하로 페이지 폭을 잡으세요.


    * Templates
    - Free HTML Email Templates  
    - 17 Newsletter Templates for Free
    - 30 free HTML email templates to get you started
    - 34+ free HTML newsletter templates for startups
    - 15+ Free Newsletter Templates
    - Free Templates Just For You
    - TEMPLATES: 100+ free HTML email templates
    Free HTML Newsletter Templates
    HTML Email Boilerplate
    10 Popular Layouts for HTML Email
    15+ Free HTML Newsletter Templates
    - [zurb]
    Responsive Email Templates  
    - [zurb] Ink - Quickly create responsive HTML emails





    • Favicon of https://gjstory.tistory.com BlogIcon 세계의빛 2008.03.04 09:51 신고 ADDR 수정/삭제 답글

      결국 이메일은 내용만 간단히 보내라는 뜻?
      이메일에서의 웹표준은 더욱 요원하군요.

      • Favicon of https://kmoonki.tistory.com BlogIcon 자리끼 2008.03.04 11:10 신고 수정/삭제

        간단한 내용이 주된 형식이였기 때문인지 브라우저 만큼 지원하지 않는것 같네요..

    • Favicon of http://ryupang.hosting.paran.com/wp BlogIcon 치프 2008.11.16 02:47 ADDR 수정/삭제 답글

      좋은 정보 감사드립니다.
      글내용을 제 블로그 링크메뉴에 링크로 연결을 해놨는데
      혹시, 원치않으신다면 바로 삭제하도록 하겠습니다.

    CSS Framework

    웹표준 2008. 2. 28. 03:00
    [ CSS Frameworks Roundup (and some thoughts) ] [ CSS Frameworks ] 라는 글을 옮겨 적는다.
    CSS Frameworks은 CSS의 기본적인 Typography, Form Styling, Grid/Simple Layout, Reset 등의 모음(Collection)으로 매번 새롭게 작성해야할 귀찮음을 없앨 수 있고 기본적인 틀을 제공한다는 점에서 이용할 만 하다.

    01. Blueprint  code.google.com/p/blueprintcss/
    Blueprint CSS Cheat Sheet
    - The Blueprint CSS Framework Tutorials How-to Guides and Tools

    02. LogicCSS  code.google.com/p/logicss/ 

    03. Elements 
    elements.projectdesigns.org

    04. YAML (Yet Another Multicolumn Layout)  www.yaml.de/en/ 

    05. ESWAT 
    eswat.ca

    06. YUI Grids CSS  developer.yahoo.com/yui/grids/

    07. 960 Grid System  960.gs
    - 960 CSS Framework - Learn the Basics
    - Design A Fresh Blog Theme On The 960 Grid
    - The 960 Grid System Toolbox & Resources
    - A Detailed Look at the 960 CSS Framework
    - Mastering th e960 Grid System

    08. SenCSS 
    URL:
    kilianvalkhof.com/2008/css-xhtml/introducing-sencss/

    09. Formy CSS
    URL: http://code.google.com/p/formy-css-framework/

    10. xCSS : Object-Oriented CSS Framework
    URL: http://code.google.com/p/xcssframework/

    11. 기타
    01) WYMstyle 
    www.wymstyle.org/en/
    02) Content With Style's CSS Framework  www.contentwithstyle.co.uk/Articles/17/a-css-framework/
    03) Tripoli  http://devkick.com/lab/tripoli/
    04) Emastic (grid framework)
    05) MALO
    06) Better Web Readability Project - CSS Library
    07) Blue Trip CSS Framework
    08) Content with Style
    09) Elastic CSS Framework
    10) Baseline
    11) MarkerCSS: for web layout code
    12) 52Framework: first ever html5 and CSS3 framework
    13) Less Framework: An HTML5-powered CSS framework
    - Using the LESS CSS Preprocessor for Smarter Style Sheets
    14) The Square Grid
    15) FEM CSS Framework
    16) 978 Grid System
    17) columnal
    18) 1140 CSS Grid
    19) negative grid


     

    UI: 네비게이션, 메뉴 CSS

    웹표준/쇼케이스 2008. 2. 27. 19:32
    네비게이션(Navigation) Sample List
    [
    www.smileycat.com/design_elements/navigation/ ],
    [
    6 Keys To Understanding Modern CSS-Based Layouts ],
    120 Excellent Examples of CSS Horizontal Menu ] 참고하세요.

    01. Digg-Like
    URL#1 :  
    digg-like-navigation-bar-using-css 
    URL#2 :
    Simple CSS vertical menu Digg-like

    사용자 삽입 이미지

    02. Circular Menu  [
    자료]
    사용자 삽입 이미지


    03. Attention Menu
    [자료]
    Advanced CSS Menu Trick
    사용자 삽입 이미지


    04. Traditional Menu
    HTB (horizonal, top to bottom), HBT, VLR (vertical, left to right), VRL 4종류
    [자료]
    aplus.co.yu/adxmenu/
    [자료] Free CSS Drop-Down Menu Framework
    사용자 삽입 이미지


    05. Animated Tab Menu
    URL :
    www.dynamicdrive.com/style/csslibrary/item/animated_horizontal_tabs/
    사용자 삽입 이미지

    06. Drop-Down Menu
    URL :
    www.stunicholls.com/menu/pro_dropdown_2.html
    사용자 삽입 이미지

    07. Treeview Menu
    URL :
    bassistance.de/jquery-plugins/jquery-plugin-treeview/
    URL#2: Best JavaScript Tree Widgets
    사용자 삽입 이미지

    08. Menu - Sprite
    URL :
    www.mattvarone.com.ar/2008/06/css-text-based-navigation-bar-with-images/
    사용자 삽입 이미지
    사용자 삽입 이미지

    09. Sliding Menu
    URL :
    www.leigeber.com/2008/05/sliding-javascript-menu-highlight-1kb/
    사용자 삽입 이미지

    10. Glass Button Navigation
    URL :
    www.13styles.com/css-menus/gloss/
    사용자 삽입 이미지

    11. Sprite + jQuery
    URL:
    www.alistapart.com/articles/sprites2
    URL: snook.ca/archives/javascript/jquery-bg-image-animations/
    URL: Animated Navigation Bar Using jQuery  
    URL: Sliding single-level menu  
     

    사용자 삽입 이미지


    - 30 Examples of Attractive Nav
    -
    10 Image Free Sexy CSS Menu and How to Greate One
    -
    Navigation Menu: Trends and Examples, Smashing Magazine
    - 10 Brilliant Multi Level Navigation Menu Techniques
    - [site] 13 Styles dot com
    - [site] patternTap
    - [site] styledmenus
    - [site] Free CSS Menu
    -
    List of JavaScript Tab Navigation Scripts
    - 8 web menus you just can't miss
    - CSS-Based Navigation Menus: Modern Solutions
    - 13 Awesome JavaScript CSS Menus
    - Top 71 CSS Menus Navigation Tabs
    - 10 JavaScript Ajax Tabs
    - 10 CSS Navigation Menus
    - 37+ Great Ajax, CSS Tab-Based Interfaces
    - 14 Free Vertical CSS Menus
    - nice-list-of-open-source-fish-eye-menu
    - [디자인] 45 Photoshop Tutorials for Better Navigation
    - Sliding Doors of CSS
    - Sliding JavaScript Menu Highlight 1kb
    -
    71 CSS menus for Web Designer
    - 13 Awesome JavaScript CSS Menus
    - Pastel color menu with dynamic submenu using CSS  Horizonatal-DropDown Menu
    - Using CSS And GIF's To Animate A Menu
    - Top 10 Navigation Menus
    - 25 Examples of Creative Navigation
    - 13 hand-picked Vertical and horizontal CSS Menu
    - How-to: DropDown CSS Menu
    - 300+ JQuery, CSS, MooTools and JS navigation menus
    - 20 Wonderful Photoshop Tutorials for Designing Professional Navigation Menu
    - 50+ Gorgeous Navigation Menus
    - Best 20 Website Navigation Menu
    - 30 Excellent CSS Based Navigation and Buttons Tutorial
    - 25 jQuery Tutorials for Improved Navigation Menus
    - 50 Beautiful And User-Friendly Navigation Menus
    - 25 jQuery Plugins for Navigation
    - 30+ Beautiful menus examples
    - 37 Examples of Unique Navigation
    - 36 Eye-Catching jQuery Navigation Menus
    - Showcase Of Modern Navigation Design Trends
    - [jQuery] 45 jQuery Navigation Plugins and Tutorials
    - 20 Useful CSS3 Menu and Navigation Tutorials
    - Fresh Set of CSS-only Menus
    - CSS3 jQuery Dropdown Menus Collection
    - Sexy CSS3 menu
    - 15 Fresh jQuery Menu Plugins and Tutorials
    - 100 Great CSS Menu Tutorials
    - 40+ Beautiful Navigation Menu Using CSS/CSS3 and jQuery
    - [CSS3] Cool CSS3 navigation menu
    - 50 Interesting Navigation Menus



    '웹표준 > 쇼케이스' 카테고리의 다른 글

    UI: border - 둥근모서리 (Rounded Corners)  (0) 2008.03.04
    Chart & Graph  (2) 2008.03.04
    UI: 네비게이션, 메뉴 CSS  (0) 2008.02.27
    UI: Table, CSS + (JavaScript)  (0) 2008.02.27
    Form CSS  (0) 2008.02.27
    UI: Layout CSS  (0) 2008.02.26

    UI: Table, CSS + (JavaScript)

    웹표준/쇼케이스 2008. 2. 27. 18:09
    Table과 관련된 Deign View 리스트이다.
    더 이상 웹페이지의 Layout은 Table로 만들지 않는다. [참고]
    Table tag의 용도는 Data View 이다. 쓰임새에 맞는 태그를 사용하는 것이 웹표준의 시작이다.
    [참고] 7 Ways to sort tabledata with JavaScript

    01. Tablecloth 
    URL  
    cssglobe.com/lab/tablecloth/
    마우스 롤오버에 따라 영역이 selection 됨.
    사용자 삽입 이미지


    02. Airline Flights Schedule and pricing matrix 
    URL 
    www.askthecssguy.com/2007/09/sangeeta_asks_the_css_guy_how_1.html
    사용자 삽입 이미지


    03. 선택된 Column이 눈에 잘 띄이도록 구성
    URL
    www.askthecssguy.com/examples/crazyegg/example10.html
    사용자 삽입 이미지


    04. Zebra Tables
    URL  
    www.alistapart.com/articles/zebratables/
    사용자 삽입 이미지

    - Zebra-striping Tables with CSS3



    - Terrific Tables with CSS
    - Top 10 CSS Table Design
    -
    Pricing Tables (28 examples) - Elements of Design
    - CSS Table Gallery
    - Styling Table Columns with CSS
    -
    21-fresh-ajax-css-tables
    - Ask The CSS Guy - like airline flights scheduling and pricing matrix
    - Ask The CSS Guy - table
    - CSS-based-tables-modern-solutions
    - Row Locking with CSS and JavaScript
    - How to Create Super-Simple Data Grids With CSS
    - Sortable Table
    - [issue] the big table issue
    - Table Layouts vs. Div Layouts: From Hell to... Hell?
    - 15 Great jQuery Plugins For Better Table Manipulation
    - Data Tables In Modern Web Design
    - Take Your HTML Tables to a new level with javascript framework
    - 20 Amazing CSS Ajax Tables
    - 40 Excellent jQuery Plugins To Work Data Presentation and Grid Layout
    - jQuery HTML Table ToolBox
    - Enhance Tables Using One of 30 Functional jQuery Plugins
    - Pricing Page And Plan Comparison Tables: Tips, Tricks, Advices and Showcases 
    - Better UI Design: Proper Use of Tables
    - Zebra-striping rows and columns
    - Useful jQuery Plugins to Enhance HTML Tables
    - 50 Product comparison tables in web design
    - CSS Data Table Techniques and Resources
    - 9 Timeless Techniques for User-Friendly Tables
    - Are CSS Tables Better Than HTML Tables?
    - Practical CSS3 tables with rounded conrners
    - CSS Tables and Responsive Design   



    '웹표준 > 쇼케이스' 카테고리의 다른 글

    Chart & Graph  (2) 2008.03.04
    UI: 네비게이션, 메뉴 CSS  (0) 2008.02.27
    UI: Table, CSS + (JavaScript)  (0) 2008.02.27
    Form CSS  (0) 2008.02.27
    UI: Layout CSS  (0) 2008.02.26
    CSS List - OL, UL, LI  (0) 2008.02.26

    CSS Techniques (Tips, Hacks)

    웹표준 2008. 2. 27. 15:24
    CSS와 관련된 재미있고 요긴하게 사용될 방법을 Listup 한다.

    01. CSS 초기화 방법
    브라우저별로 정의된 Default CSS가 조금씩 다를 수 있어 동일한 CSS 코드지만 달리 보여질 수 있다.
    그래서 CSS 초기화를 통해 모든 브라우저의 Default Setting 을 맞춰주는 것이 좋다.
    01)
    Eric Meyer's Reset.css
    02) YUI Reset CSS
    03) Ed Eliot's Reset
    [참고] Reseting Browser Defaults (reset.css)

    02. 브라우저 특성
    브라우저에 따라 제공하는 Selectors 사용방법이 다를 수 있다.

    03. Link에서 클릭시 점선으로된 아웃라인(dotted outline) 없애기  [참고]
    Firefox 만 적용. a { outline:none } , a:active, a:focus { outline:none }

    03-01. Prevent line breaks in links
    a { white-space:nowrap }


    04. display속성을 이용해서 Inline 요소와 Block 요소 특성을 바꿀 수 있다.
    -
    display: inline-block

    05. 고정폭 Block Element의 가운데 정렬(centering) 하기  [자료] [자료2] [자료3]
    #wrapper {
        margin:auto;
        position:relative;
    }

    05-01. line-height를 이용한 Vertical centering  [참고] [참고]
    HTML :
         <div><p>vertically Centered content</p></div>
    CSS :
         
    div { height:100px }
          div * { margin:0 }
          div p { line-height:100px }

    - 6 Methods For Vertical Centering With CSS

    06. 이미지 교체(replacement) 기술
    Header를 이미지로 만들 때 텍스트와 함께 사용하는 방법으로 SEO에 도움이 된다. [자료]

    HTML:
       
    <h1><span>Main heading one</span></h1>
    CSS:
        h1 { background:url(heading-image.gif) no-repeat }  
        h1 span { position:absolute;text-indent:-5000px }


    07. min-width로 최소 너비값 설정
    IE에서 지원않음.  %(percentage)를 설정된 flexible template에서 유용
    * Hacks in IE [
    자료]
    div { width:expression(333 + "px"); }
    div { width:333px }

    div { /* max-width 설정시 */
        width:expression( document.body.clientWidth > 776 ? "777px" : "auto" );
        max-width:777px;
    }
    div { /* min-height 설정시 */
        height: expression( this.scrollHeight < 334 ? "333px" : "auto" );
        min-height:333px;
    }

    08. 수평 스크롤바 없애기
    body { overflow-x:hidden }

    08-01. Firefox 스크롤바 보이기
    html { overflow:-moz-scrollbars-vertical }

    08-02. IE에서 textarea 스크롤바 없애기
    textarea { overflow:auto }

    09. 투명처리하기 (Opacity)
    #transdiv {
        filter: alpha(opacity=75);
        -moz-opacity: .75;
        opacity: .75;
    }

    * IE의 경우 영역을 나타내는 요소와 함께 사용(width, height 등)하거나 display 요소 사용
    - [참고] Manipulating Opacity
    - CSS Transparency Issue
    - CSS Opacity: A Comprehensive Reference

    10. Block 요소 내부에서 Floating 될 경우 영역이 벗어나는 문제  [
    참고] [참고]
    <div style="clear:both;"></div>를 대체할 수 있는 방법
    #floatElement { float:left }
    #containerDiv { overflow:auto } /* 해결 */


    11. Sprites
    하나의 이미지로 두개 이상의 변화된 모습을 나타낼 수 있는 방법으로 Image Preloading 효과도 함께 가질 수 있다. 
    - CSS Sprites: Image Slicing's Kiss of Death
     

    - 6 Keys To Understanding Modern CSS-Based Layouts (sprites)
    - Animated GIF For CSS Sprites
    - How to Preload Images When You Can't Use CSS Sprites

    사용자 삽입 이미지

    Google.com


    12. Transparent PNG's
    IE에서 PNG 타입을 사용할 수 있는 방법  [
    참고]

    13. Printing할 때 페이지를 강제로 나누는 방법
    h2 { page-break-before:always }

    14. IE Doubled Float-Margin Bug
    float요소에 display:inline 추가  [
    참고] [참고]

    15.
    Fixing the IE6 White-Space Bug
    List와 anchor를 함께 사용할 경우  [참고]
    - 모든 공백을 삭제한다.
    - Anchor Tags(<a>)를 Floating 한다.
        
    ul a {
             display: block;
             float: left;
            clear: left; }
    - Bottom Border를 추가한다.
         ul li { border-bottom: 1px solid #666; }
    - Display: inline; 으로 바꿔준다.
        ul li { display: inline; }


    16. clear float
    - A new micro clearfix hack
    - Force Element To Self-Clear its Children
    - Clearing floats
    - How To Clear Floats Without Structural Markup


    - [Hacks] Using CSS to Fix Anything: 20+ Common Bugs and Fixes
    - 8 Premium One Line CSS Tips
    - maxdesign articles and presentations
    - Using Javascript to Fix12 Common Browser Headaches
    - 70 Expert Ideas For Better CSS Coding
    - 35 Designers X 5 Questions
    - 15 CSS Tricks That Must Be Learned
    - CSS Best Practices
    - 25 Advanced CSS Techniques
    - 100+ Massive CSS ToolBox
    - 6 Keys To Understanding Modern CSS-Based Layouts
    - The 6 Most Important CSS Techniques You Need To Know
    - 101 CSS Techniques Of All Time [Part1] [Part2]
    - Using CSS to Do Anything: 50+ Creative Examples and Tutorials

    - 53 CSS - Techniques You Couldn't Live Without
    - Top reasons your CSS columns are messed up
    - Understanding CSS Positioning part 2 , part 1 , part 3
    - Most Useful 50 CSS Tips And Tools For Webmasters
    - Powerful CSS-Techniques For Effective Coding
    - 10 Must use CSS and Coding Techniques
    - 30 Exceptional CSS Techniques and Examples
    - [hacks] Solving 5 Common CSS Headaches
    - [hacks] 10 Best CSS hacks
    - [hacks] CSS Hacks & Issues
    - [hacks] Most used CSS tricks
    - [hacks] The 7 CSS Hacks that we should use
    - css-tricks.com/examples/
    - 5 Useful CSS Tricks
    - 10 Useful CSS tricks to conquer the world!
    - CSS Browser Hacks For Firefox, Opera, Safari & Internet Explorer
    - CSS Best Practices
    - 10 Dirty CSS Tips and Tricks
    - Defensive coding and CSS: Preventing the most common bugs
    - [IE] Consistent Border Weight in Internet Explorer
    - Ten Important things to know about CSS
    - A Quick Selection of CSS Tips
    - 84 Amazingly Useful CSS Tips & Resources
    - [Tip] High quality CSS thumbnails in IE7
    - 15 Effective Tips and Tricks from the Masters of CSS
    - 50 New CSS Techniques For Your Next Web Design
    - 15+ CSS Tips and Tricks
    - 25 Incredibly Useful CSS Tricks You Should Know
    - 15 CSS Tricks That Must be Learned
    - CSS Wishlist: New Ideas, Debates and Solutions
    - Mega CSS Resources Roundup
    - CSS Techniques web developer should use
    - 5 Simple, But Useful CSS Properties
    - Top 10 CSS Gotchas
    - 50+ Fresh CSS Techniques, Tutorials and Resources
    - 50 Useful Coding Techniques (CSS Layouts, Visual Effects and Forms)
    - 5 Useful Coding Solutions For Designers And Developers
    - Forget About Photoshop: Five CSS Hacks to Help You Stop Using Images
    - CSS hacks
    - don't use @import
    - 10 CSS Essential Skills Save Your Time
    - 10 Useful CSS Skills Maybe You Don't Know
    - 50 New Useful CSS Techniques, Tools and Tutorials
    - 7 Quick CSS Enhancements for Better User Experience
    - 50 New Useful CSS Techniques, Tutorials and Tools
    - Five Useful CSS Properties
    - 100 Exceedingly Useful CSS Tips and Tricks
    - 10 Random CSS Tricks You Might Want to Know About
    - CSS performance: UI with fewer images
    - The Shapes of CSS
    - [border] CSS Border Tricks with Collapsed Boxes
    - 40 Essential CSS Templates, Resources and Downloads
    - Powerful New CSS Techniques and Tools
    - In defense of CSS hacks - introducing "safe CSS hacks"
    - Speed up CSS Prototyping 
    - 25 Useful CSS Tutorials to Boost Your Skills  
    - TroubleShooting CSS   
    - Optimize CSS delivery   


    2008/02/25 - [웹표준] - CSS 토픽 (Topics)
    2008/05/03 - [javascript] - javascript snippets
    2009/10/01 - [tool] - Snippets 정리하기
    2008/02/23 - [웹표준] - CSS를 잘 쓰기 위한 아이디어..
    2009/09/16 - [web/tips] - IE6 Hack & Tip
    2009/05/12 - [web] - Filter & Transition, IE
    2009/02/12 - [웹표준] - 이젠 IE6을 버릴때가 왔다. 
    2011/09/27 - [웹표준] - CSS snippets 



    Form CSS

    웹표준/쇼케이스 2008. 2. 27. 14:49
    456 Berea Street 의 [ Styling Form Controls with CSS ] 라는 Form(폼) 관련 CSS를 잘 정리한 글이 있어 리스트를 옮겨놓습니다.
    - Form design guidelines crib sheet 


    - 47+ Excellent Ajax CSS Forms
    -
    Beautiful CSS Form
    - JotForm.com
    - Using Ajax to Validate Forms
    - Interesting html FORM Validators for web developers
    - 45+ Really Essential Free HTML[Form] Enhancements
    - 20+ HTML Forms Best Practices for Beginners
    - 20+ Resources and Tutorials for Creative Forms using CSS
    - Prettier Accessible Forms
    - how to create xhtml forms
    - Textarea Tricks
    - Customize Textarea Resizing with CSS
    - CSS Form Templates, Tools & Service
    - Useful Idea And Guidelines For Good Web Form Design
    - 35 Beautiful Contact Form Designs 
    - 10 things every designer needs to know about forms 




    '웹표준 > 쇼케이스' 카테고리의 다른 글

    UI: 네비게이션, 메뉴 CSS  (0) 2008.02.27
    UI: Table, CSS + (JavaScript)  (0) 2008.02.27
    Form CSS  (0) 2008.02.27
    UI: Layout CSS  (0) 2008.02.26
    CSS List - OL, UL, LI  (0) 2008.02.26
    UI: image  (0) 2008.02.25

    웹접근성 (Web Content Accessibility Guidelines)

    웹표준 2008. 2. 27. 12:38
    모든 사람들(신체적, 환경적으로 불편이 있는)이 웹에 접근할 수 있기 위해 지켜야 할 내용을 정리한 것이 웹 접근성 지침이다.  [ Web Accessibility Initiative(WAI), W3C ]
    Web Content Accessibility Guidelines(WCAG) 2.0
    How to Meet WCAG 2.0 (quick reference)
    W3C 지침 원문
    http://www.w3.org/TR/WAI-WEBCONTENT/
    W3C 지침 번역문 http://gregshin.pe.kr/wcag/
    W3C Accessible Rich Internet Applications(WAI-ARIA)
    Aaron Cannon's Web Accessibility Checklist  
    센스리더  


    1999년 Recommendation된 W3C의 WAI 1.0 은 이미 오래된 문서가 되었고 2.0은 아직 개발중에 있어 새로운 요구사항과 환경을 반영하기 어렵게 되었다. 이에 WCAG Samurai에서 Web Content Accessibility Guidelines 1.0 확장 수장판을 발표했다.  이에 이 내용을 정리한다. (정리중)
    http://wcagsamurai.org/errata/errata.html (2008년 2월 26일 ver1.0)

    W3C의 웹 접근 이니셔티브(WAI, Web Accessibility Initiative)에 의해 개발된 최신 가이드라인 버전은 권고를 보다 단순화하고, 확장하였다. 권고안은 4가지 분야로 나뉘는데, 세부 목적은 아래와 같다. 
    [NDSL 동향분석]

    - 인지할 수 있는(perceivable) 웹페이지 개발 : 이 부분의 지침 내용은 웹 콘텐츠를 Braille이나 보다 큰 유형 또는 크게 읽을 수 있도록 여타 포맷으로 어떻게 웹페이지에 구현할지에 대해 설명한다. 

    - 운영할 수 있는(operable) 웹페이지 개발 : 이 부분의 지침 내용은 용이하게 내비게이션할 수 있는 웹페이지를 어떻게 구축할지에 대한 지침을 설명한다. 

    - 이해할 수 있는(understandable) 웹페이지 개발 : 이 부부분의 지침은 용이하게 이해할 수 있는 웹 콘텐츠에 대한 팁을 제공한다. 

    - 견고한(robust) 웹페이지 개발 : 향후 개발가능한 부가적인 기술의 개발을 충분히 포괄할 수 있는 미래 지향적인 웹페이지 개발에 대한 지침을 설명한다. 

    다음은 [ 11 Accessibility Tips ] 에서 소개한 내용이다.

    01. Structure your document so it can be read without stylesheet
    02. Separate your links
    03. Meaningful links
    04. Include skip to content link
    05. Provide text equivalent for non-text data
    06. Image links
    07. Tables
    08. Client Scripting
    09. Color
    10. Link to accessible version of your page
    11. Validate



    - [site] 웹 접근성 연구소
    - 웹 접근성 향상을 위한 국가표준 기술 가이드라인 발표(2009-03-17)
    - [nhn] NHN Web Content Accessibility Guidelines  
    - [NHN] Firefox addon - N-WAX(NHN Web Accessibility eXtension)
    - 2011년도 하반기 웹접근성 품질마크 기준(안)
    - [정부] 브라우저에 상관없이 전자정부서비스 이용확대
    - Introduction to Web Accessibility (WebAIM)
    -
    To Hell with WCAG 2, A List Apart
    - WCAG 2.0 finally a W3C Recommendation
    - Section 508
    - Accessible Web Design - The Whats and Whys
    - Accessibility Internet Rally (AIR) : 홈페이지 웹 접근성 경진대회
    - 대통령자문 양극화, 민생대책본부
    - 한국정보문화진흥원(KADO)
    - 정보통신 접근성 향상 표준화 포럼(IABF)
    - [news]
    장애인 웹 "문턱" 여전히 높다.  디지털타임스
    - 장애없는 사이버세상 웹 접근성 향상 캠페인
    - 2009년 웹접근성 10대 뉴스 (http://jhyun.wordpress.com)
    - Accessibility 101: An Introduction
    - [blog] 성민장군
    - [blog] 양군팩토리
    - [site] 충북대학교 김석일 교수
    - 한국형 웹 콘텐츠 접근성 지침 2.0 국가표준(2010.12.31)
    - 시각장애인을 위한 크롬(chrome) 확장기능 3종
    - [웹접근성연구소] 웹 접근성을 고려한 콘텐츠 제작 기법 2.0 
    - 웹접근성(WA) 표준인증마크  [WebWatch-사단법인 한국장애인권포럼]



    '웹표준' 카테고리의 다른 글

    CSS Framework  (0) 2008.02.28
    CSS Techniques (Tips, Hacks)  (0) 2008.02.27
    웹접근성 (Web Content Accessibility Guidelines)  (0) 2008.02.27
    투명처리 가능하고 압축률 우수한 PNG 쓰세요..  (0) 2008.02.26
    CSS 토픽 (Topics)  (0) 2008.02.25
    브라우저 (Browser)  (0) 2008.02.25

    UI: Layout CSS

    웹표준/쇼케이스 2008. 2. 26. 22:46
    CSS의 주요 이슈중의 하나가 Grid, Column, Layout Design입니다.
    기존의 Table 태그를 이용한 틀 대신 Div (Block 요소)를 이용하여 만들게 됩니다. 테이블은 원래의 목적대로 Data View를 위한 목적으로 사용하도록 합니다. 이에 주로 사용하는 패턴을 정리합니다.
    [참고] [ Web Design 101: Floats ] [ Web Design 101: Positioning ]  
    [ Grid Framework - Emastic ] [ The Grid System ] [ the-golden-grid ]

    * Fixed : pixel width로 정의된 Layout
    * Fluid/Flexible : percentage(%) width로 정의된 Layout
    * Font-based : em size 활용
    * Elastic : flexible container + fixed width (em + max-width 활용)

    01. Layouts.IronMyers.com  layouts.ironmyers.com

    02. Layout Template  www.mycelly.com
    사용자 삽입 이미지

    03. Layout Gala 
    blog.html.it/layoutgala/
    사용자 삽입 이미지

    04. CSS Layouts - 750px, 950px, 100%  
    layouts.ironmyers.com/950_pixel_Layouts/
    사용자 삽입 이미지

    05. Code Sucks 
    http://www.code-sucks.com/css%20layouts/
    사용자 삽입 이미지

    06. CSSeasy.com  csseasy.com
    사용자 삽입 이미지

    07. Grid Designer
    URL#1 :
    grid.mindplay.dk
    URL#2 : golden ratio
    사용자 삽입 이미지

    08. Grid and Column Design  grid-and-column-designs
    사용자 삽입 이미지


    - A Guide on Layout Types in Web Design
    - CSS Layouts: 40+ Tutorials, Tips, Demos and Best Practices
    - Applying Divine Proportion To Your Web Designs

    - Layout Gala
    - 9 Timeless 3 Column Layout Techniques
    - Cross-browser transparent columns
    - Box Design
    - Fixed or Fluid width? Elastic!
    - Elastic Design
    - Cross-browser transparent columns
    - Why tables for layout is stupid
    - Perfect multi-column CSS liquid layouts - iPhone compatible (예제 Good)
    - Creating CSS Layouts: The Best Tutorials on Converting PSD to XHTML
    - 27 Best Photoshop Web Layout Design Tutorials to Design Decent Web Layouts  [Part2]
    - [예제] Float-less CSS 3-column layout!
    - [예제] Absolute Columns
    - Golden Ratio in modern CSS
    - [tool] golden ratio calculator
    - [tool] ruler image  Layout Grid Bookmarklet  Layout backgroud-image Grid
    - Fluid Grids - A List Apart
    - Grid design basics: Grids for Web page layouts - dev.opera.com
    - 60 Layout design tutorials
    Layout examples - YAML
    - Fluid Multi-Column, iPhone Friendly CSS Layouts
    - Markup Hierarchy - Advantages in SEO
    - 6 Flexible jQuery Plugins To Control Webpage Layouts Easily
    - 15 Extremely Useful CSS Grid Layout Generator For Web Designers
    - Fixed vs. Fluid vs. Elastic Layout: What's The Right One For You? 
    - Adaptive CSS-Layouts: New Era In Fluid Layouts?
    - Free Typographic XHTML/CSS Layouts For Your Designs
    - Sticky (Fixed) SideNav Layout with CSS
    - 45+ CSS Grid Systems, Layout Generators and Tutorials that every Designer should know
    - [tool] Five Awesome On-Screen Rulers
    - 15 jQuery Plugins for Better Web Page Element Layouts
    - 50 Useful Coding Techniques (CSS Layouts, Visual Effects and Forms)
    - 10 Really Outstanding and Useful CSS Grid Systems
    - 13 Excellent tools and Systems for CSS Grid Based Layouts
    - Modern CSS Layouts: The Essential Characteristics
    - Modern CSS Layouts, Part2: The Essential Techniques
    - Liquid, Fluid and Elastic Layout Templates, Tools and Frameworks 
    - [site] Primary: 22 css layout that always work
    - Ultimate multi-column liquid layouts
    - 70+ Essential Resources For Creating Liquid And Elastic Layouts
    - StackLayout: A flexible width, component based CSS layout system
    - [library] treesaver: creating magazine-style layouts
    - Coding A HTML5 Layout From Scratch
    - [W3C] Grid Layout - 7 april 2011
    - Pros And Cons Of 6 CSS Layout Patterns: Part1  [Part2]
    - The future of CSS layouts
    - Bread-and-butter Layouts and Inspiration
    - Web Page Anatomy
    - Resizing: Fixed, Fluid, or Responsive Layouts
    - Create Columns Easily With The CSS3 Multi-Column Layout Module
    - Essential Elements of a Design Agency Website Layout (with 30 examples)
    - [jQuery] 15 Great Examples of Websites using jQuery Masonry
    - Masonry Layout
    - Six CSS Layout Features To Look Forward To  
    - [site] Learn CSS Layout   


    2008/08/01 - [웹표준/쇼케이스] - Web Page Templates
    2008/01/07 - [web/사이트] - [사이트] 웹표준 코드제공 상용 서비스 (PSD to XHTML)
    2008/01/08 - [web] - [즐겨찾기] 웹디자이너를 위한 링크 모둠
    2008/06/05 - [web/디자인] - [사이트] 웹디자인 리소스
    2011/07/23 - [웹표준] - UI: Grid

    '웹표준 > 쇼케이스' 카테고리의 다른 글

    UI: Table, CSS + (JavaScript)  (0) 2008.02.27
    Form CSS  (0) 2008.02.27
    UI: Layout CSS  (0) 2008.02.26
    CSS List - OL, UL, LI  (0) 2008.02.26
    UI: image  (0) 2008.02.25
    UI: 회전목마(Carousel) 형 주요 콘텐츠 보여주기  (0) 2008.02.25

    투명처리 가능하고 압축률 우수한 PNG 쓰세요..

    웹표준 2008. 2. 26. 20:30
    Digital Web magazine 에서 [ Creative Use of PNG Transparency in Web Design ] 이란 내용이 있어 요약합니다.

    웹 디자인시에 이미지의 형식은 GIF, JPG, PNG를 사용하고 있습니다.
    색상표현은 약하지만 압축률이 좋고(이미지 용량이 작고) 투명 처리가 가능하기 때문에 GIF 형식을 많이 사용하고 있으며, 사진 형태는 색상표현이 높은 JPEG을 사용하고 있습니다.
    그러나 PNG 형식은 우수함을 갖췄음에도 GIF, JPEG에 비하여 사용율이 떨어졌는데, 최근 IE7에서 PNG를 완벽하게 지원하고 PNG를 사용한 여러가지 흥미로운 방법이 소개되면서 주목받고 있다.

    01. [이름] Portable Network Graphic (PNG)의 약자이며, "ping" 이라고 발음.

    02. [무손실 압축] 압축시 Quality를 떨어뜨리지 않는 무손실 이미지 형식 (a losslessly compressed bitmap image format)

    03. [무료사용] 특허가 있는 GIF 형식을 대체하기 위한 목적(무료사용)으로 개발 (GIF/LZW 특허는 현재 종료됨)

    04. [표준] ISO (ISO IEC 15948:2003)과
    W3C에 표준으로 등록

    05. [GIF보다 강점]
      01) 압축률이 높다.
      02) 지원하는 컬러수가 많다. (GIF 256-color, PNG true-color(48 bits))
      03)
    Alpha-Channel Transparency 지원 (GIF는 Binary Transparency만 지원)

    * Alpha-Channel Transparency [자료]
    부분적으로 투명(transparency) 처리를 하기 위해 background와 image를 결합하는 과정을 alpha composition이라 하고 색상정보를 갖는 RGB 채널외에 투명/반투명 처리를 위해 마련된 channel을 알파채널(alpha-channel)이라 함.
    * Binary Transparency [
    자료]
    어떤 픽셀(pixel)은 완전히 투명하고 또 어떤 픽셀은 완전히 불투명하게 나타나는 것을 말함.

    06. [GIF보다 약점]
      01) Animation을 지원하지 않음 (Multiple-image Network Graphics (MNG)에서 관련표준안이 있지만 브라우저에 반영이 아직 안됨)
    * 10 Free to Download GIF Animators

     * PNG보다 GIF가 사용빈도가 높은 이유
    - Internet Explorer에서 투명한 PNG 처리를 지원하지 않는다는 오해가 있었음.
    - Animation 지원 여부 (animation 기능은 Flash 등으로 옮아가 GIF-animation의 이득이 없게 됨)

    07. [JPEG 비교]
      01) JPEG은 손실압축으로 사진이미지 형태를 editing 하기에 최적
      02) 사진이미지는 JPEG이 효과적, 그 외 이미지 형태는 PNG가 효과적

    08. [활용 예]
      01) HTML 반투명 Overlay : 겹침이미지 형태로 자막등 용도로 활용
      02) Watermark : 겹침이미지 형태로 워터마크를 표시
      03) Mask : 겹침이미지로 Viewing 영역만 투명처리
      04) Color-Changing Icon : 투명처리 아이콘 제작후 background-color를 변환시켜 작업





    '웹표준' 카테고리의 다른 글

    CSS Techniques (Tips, Hacks)  (0) 2008.02.27
    웹접근성 (Web Content Accessibility Guidelines)  (0) 2008.02.27
    투명처리 가능하고 압축률 우수한 PNG 쓰세요..  (0) 2008.02.26
    CSS 토픽 (Topics)  (0) 2008.02.25
    브라우저 (Browser)  (0) 2008.02.25
    CSS 프린트  (0) 2008.02.25

    CSS List - OL, UL, LI

    웹표준/쇼케이스 2008. 2. 26. 19:44
    List 태그는 컨텐츠를 나열(enumerate, iterate)하기 위한 태그로 순서가 있는 OL (ordered list)와 순서가 없는 UL (unordered list)로 나눈다.  OL, UL 태그 내부에 LI를 사용해 컨텐츠를 표현한다. Block Level Element 이기도 하다.  자주 이용되는 형태로는 Navigation 이 있다.


    01. 기본기  How to Create Beautiful and Elegant HTML Lists Using CSS
    사용자 삽입 이미지


    02. 트리형태로 만들기  Turning Lists into Trees
     
    사용자 삽입 이미지


    03. 박스형태 만들기  List Boxes

    사용자 삽입 이미지


    - Continuing an Ordered List  





    '웹표준 > 쇼케이스' 카테고리의 다른 글

    UI: Table, CSS + (JavaScript)  (0) 2008.02.27
    Form CSS  (0) 2008.02.27
    UI: Layout CSS  (0) 2008.02.26
    CSS List - OL, UL, LI  (0) 2008.02.26
    UI: image  (0) 2008.02.25
    UI: 회전목마(Carousel) 형 주요 콘텐츠 보여주기  (0) 2008.02.25

    CSS 토픽 (Topics)

    웹표준 2008. 2. 25. 21:45
    CSS와 관련해서 자주 등장하는 토픽을 List up 합니다.
    주요 교재의 목차이기도 합니다.
    가령, [
    CSS in 10 minutes ]

    01. CSS 기초

    01) What CSS ?
    02) Why CSS ?
    03) Cascading, Specificity, Inheritance ?
    * Specificity
    브라우저가 적용하는 CSS rule로 적용되는 순서(weight)를 나타냄
    [w3c] [
    자료] [자료] [자료] [자료]
    (Inline Styles → IDs → Classes, attributes, pseudo-classes → Elements and pseudo-elements)
    [Specificity Calculator]

    02. CSS Rules
    01) HTML Code 설명 (XHTML, DocType, etc)
    02) Selectors (Type, ID, Classes etc) [Best Practice for ID and Class Names]
    03) Styles 적용 (internal, external)
    04) Shorthand Rule [참고] [참고]
    05) 복수선언 (Multiple Declarations, Multi class Elements)
    06) Media Type (all, print, screen)

    03. Box Model
    01) Inline vs. Block Level Elements
    02) Padding vs. Margin
    03) Border
    04) Center Align (horizontal, vertical)

    04. Background Images
    01) 투명한 PNG 형식을 이용한 겹침효과(layered effect) 만들기 [샘플]

    05. Text
    01) Serif vs. Sans Serif
    02) Monospace Font (고정폭 폰트) vs. Variably Spaced Font (가변형 폰트)
    03) Base line
     
    06. Links
    01) Pseudo-Classes
    02) LoVe-HAte (link, visited, hovor, active)

    07. Images
    01) Shadow-images
    02) Hover Image-View (Image replacement technique)
    03) Image Gallery (lightbox [참고] etc)
    04) Image Replacement [example]

    [자료] 30 Scripts For Galleries, Slideshows and Lightboxes

    08. Block Quote
    [자료] Better Blockquotes with CSS

    09. Data Table
    01) table view [자료] [자료]

    10. Color


    11. Navigation
    01) List & link

    12. Round-Cornered Box
    CSS만을 이용하거나 JavaScript를 사용하여 좀 더 다양한 Display 가능
    [자료] CSS Rounded Corners "Roundup"
    [자료] www.roundedcornr.com

    13. Positioning
    01) Float & Clear
    02) Position (absolute, relative)
    03) Horizontal Centering
    04) Vertical Centering
    - line-height (div height = line-height) [sample]

    14. Layout & Formatting
    01) Column

    15. Printing
    01) mediaType
    @media print {
       .accordion div{
          display: block !important;
          height: auto !important
       }
    }

    * Safe CSS Defaults

    - Opera Web Standards Curriculum
    - List of Really Useful Tools for CSS Developers
    - Designing For Every Browser: How To Make Your Site Fully Cross Browser Compatible
    - CSS Specificity: Things You Should Know, smashingmagazine
    - SitePoint CSS Reference
    - css.maxdesign.com.au
    - www.cbel.com/style_sheets/
    - 100 CSS Galleries You Need to Check Out
    - 8 Premium One Line Css Tips
    - 5 Great Uses for the CSS Display Property
    - Fonts and the Web
    - 9 Top CSS Essential Skills That Every Web designer Should Learn
    - CSS Fonts, CSS Typography
    - 70 Expert Ideas For Better CSS Coding
    - 10 Cross-Browser CSS Properties You're Probably Forgotten
    - 100+ Massive CSS Toolbox
    - 10 HTML Tag Crimes You Really Shouldn't Commit
    - CSS Box Model: The Foundation For Improving Your CSS
    - Top 10 CSS Gotchas
    - [content] CSS Content
    - [Opacity] CSS Opacity: A Comprehensive Reference
    - List of Cross-Browser CSS Properties
    - The !important CSS Declaration: How and When to Use It
    - CSS: CamelCase Seriously Sucks!
    - [site] CSSATOMS.com
    - Specifics on CSS Specificity  
    - 12 Little-Known CSS Facts   



     

    '웹표준' 카테고리의 다른 글

    웹접근성 (Web Content Accessibility Guidelines)  (0) 2008.02.27
    투명처리 가능하고 압축률 우수한 PNG 쓰세요..  (0) 2008.02.26
    CSS 토픽 (Topics)  (0) 2008.02.25
    브라우저 (Browser)  (0) 2008.02.25
    CSS 프린트  (0) 2008.02.25
    CSS 레퍼런스 모둠  (0) 2008.02.25

    브라우저 (Browser)

    웹표준 2008. 2. 25. 21:37


    01. Microsoft Internet Explorer (IE)

    URL: http://www.microsoft.com/windows/products/winfamily/ie/
    - MSDN
    [HowTo] IE Script Debugger
    - Internet Explorer 9 Guide for Developers
    - Internaet Explorer Comman-Line Options  [blog]
    - beautyoftheweb.com


    02. Firefox
    URL: http://www.mozilla.com
    [참고] 8 Great tips to reduce Firefox 3 memory usage

    03. Google Chrome
    URL: http://www.google.com/chrome
    [Extensions] https://chrome.google.com/extensions
    cf. ChromePlus

    04. Opera
    URL: http://www.opera.com
    - How to Create an Opera Extension from Scratch

    05. Safari
    URL: http://www.apple.com/safari/
    - [apple] Safari Developer Library
    - 5 Unofficial Extensions For The New Sarari 5 Browser

    06. Netscape Navigator
    2008년 3월 1일 이후 공식적인 지원 없음. (개발중단)
    URL : http://browser.netscape.com/

    07. CAMINO
    Macitosh 用. Mozilla 재단에서 개발.  Mac Style의 Firefox라 불린다. Firefox처럼 Gecko Rendering Engine를 쓰고 Look and Feel이 Macitosh을 연상케해서 붙여진 것이다.
    URL : http://caminobrowser.org

    08. Konqueror
    URL : http://www.konqueror.org

    09. UBrowser
    3-D 브라우저
    URL : http://ubrowser.com


    * For Mobile


    01. Opera Mini
    URL : http://www.operamini.com

    02. Microsoft Pocket Internet Explorer
    URL : http://www.microsoft.com/windowsmobile/

    사용자 삽입 이미지

    [자료] Browser Market Share for February, 2008


    사용자 삽입 이미지

    - 모바일 웹브라우저, 스마트폰 따라 입맛대로


    [Browser Testing]
    - Collection of Web Developer Tools, per Browser
    - 15 Helpful In-Browser Web Development Tools
    - [tool] browserling
    - 10 Essential Online Screen Capture Services for Browser Compatibility Testing
    -
    Multiple IE   2008/05/14 - [Web] - IE6, IE7 동시에 사용하는 방법
    - browsershots.org
    - litmusapp.com
    - spoon, Browser Sandbox - Run any browser from the web
    - Adobe BrowserLab
    - BrowserCam - Cross Browser Compatibility Testing Tools
    - www.crossbrowsertesting.com
    - IE NetRenderer  (IE 5.5, 6, 7 Test)
    - 10 Helpful Resources for Cross Browser Testing
    - 7 Awesome Resources to Test Cross Browser Compatibility of Your Website
    - 10 Common CSS Browser Compatibility Issues/Bugs You Must Know
    - Useful Tools for Testing Cross Browser Compatibility
    - [library] ie7-js: JavaScript library to make MSIE behave like a standard-compliant browser
    - 15 Highly-Useful Resources for Cross Browser Testing
    - Free The Foxes: browser detect script
    - [tool] Detecting A User's Browser From PHP
    - Learning JavaScript and DOM with Console
    - 차세대 웹브라우저 전쟁
    - [tool] screenfly: test any website at a multitude of common screen resolutions
    - Review Of Cross-Browser Testing Tools
    - Reliable Cross-Browser Testing, Part1: Internet Explorer  
    - BrowserStack   


    - Internet Archive: archive.org
    -
    Cross Browser Testing (PC)
    - www.browsrcamp.com
    - Designing For Every Browser: How To Make Your Site Fully Cross Browser Compatible
    - [블로그]
    2차 웹 브라우저 전쟁, 관전 포인트는?, 윤석찬
    - [뉴스] 오페라의 비밀 프로젝트 "잠자리 Dragonfly", 정체는?, 블로터닷넷
    - [뉴스]
    MS 익스플로러 점유율 75%대로 추락
    - [뉴스] "인터넷 익스플로러 8 vs 파이어폭스 3" 리턴매치, 조선일보
    - [뉴스] 파이어폭스, MS 추격 무섭다.
    - Web Browser Elements (Design Resources)
    - Cutting Edge Browsers and Their Development Tools
    - Differences between IE8 Compatibility View and IE7
    - Making IE8 Emulate IE7
    - 9 Must have IE and Mozilla add-ons
    - 8 Online Screen Capture Services for Consistent HTML CSS Layout
    - [chrome] Developer Extensions For Chrome
    - Internet Explorer8 document and browser modes
    - 12 Alternative Web Browsers You Should Try
    - Standards Documentation for IE7 and IE8
    - 15+ Techniques And Tools For Cross Browser CSS Coding
    - Cross-Browser Testing: A Detailed Review Of Tools And Services
    - How Browsers Work: Behind the Scenes of Modern Web Browsers
    - The Evolution of The Web
    - How to view Firefox's default internal CSS stylesheet
    - website-dimensions 
    - Getting to Grips with HTML5 Browser Compatibility 
    - [NHN] 브라우저는 어떻게 동작하는가? 
    - [tool] Browse Happy - 최신브라우저 정보  
    - Webkit for Developers   



    '웹표준' 카테고리의 다른 글

    투명처리 가능하고 압축률 우수한 PNG 쓰세요..  (0) 2008.02.26
    CSS 토픽 (Topics)  (0) 2008.02.25
    브라우저 (Browser)  (0) 2008.02.25
    CSS 프린트  (0) 2008.02.25
    CSS 레퍼런스 모둠  (0) 2008.02.25
    CSS를 잘 쓰기 위한 아이디어..  (0) 2008.02.23

    UI: image

    웹표준/쇼케이스 2008. 2. 25. 21:29
    롤오버(Roll Over)시 등 이미지 노출에 대한 Show Case
    [참고] [Web Design 101: Backgrounds]

    01. 롤오버 처리
    [자료]
    Taking Control of Image Rollovers
    [예제] css-tricks.com/examples/ImageRolloverIdeas/
    [참고] Image Rollover Borders That Do Not Change Layout

    사용자 삽입 이미지

    [자료]
    CSS Swap Hover Effect
    사용자 삽입 이미지

    02. 마우스오버시 Image의 position(상하 혹은 좌우)을 조작하여 다른 형태를 보여준다.
    [자료] CSS Rollovers 
    www.kirupa.com/css/css_rollovers.htm 
    사용자 삽입 이미지

    03. Frame(액자) 형태를 이용하거나, Shadow Image를 이용하여 이미지에 입체감을 준다.
    [자료]
    5 CSSriffic Treatments to Make Your Images Stand Out
    사용자 삽입 이미지
    ① 사진원본
    ② 사진 + Frame(border), border의 top-left, right-bottom 쌍의 색상을 달리해 입체감 줄 수 있음
    ③ 사진 + Shadow, Shadow는 CSS만을 이용하거나 shadow를 위한 이미지를 이용해 처리


    04. 자르지 않고 사이즈 작은 이미지 만들기
    background-image의 position, width, height를 이용하거나 overflow 등을 이용
    [자료] Create Resizable Images With CSS
    사용자 삽입 이미지

    05. 부분적으로 투명처리하기
    Opacity 속성을 이용하거나 PNG의 특성을 이용하거나 두 개의 Background-image를 이용하여 작업
    [자료] Partial Opacity
    사용자 삽입 이미지

    06. Frame을 이용한 Layered Image 만들기
    [자료] Baseball Card Image Captions with CSS and JavaScript
    사용자 삽입 이미지

    07. Hover시 이미지 영역 일부 교체 
    [자료] CSS Sprites: Image Slicing's Kiss of Death
    [참고] Fast Rollovers Without Preload
    [참고] CSS Image Replacement
    사용자 삽입 이미지

    08. 부드러운 모서리 만들기 (CSS+JavaScript)
    [자료] Soft Edge Technique: Soft Edges and Opacity Gradients for Images
    사용자 삽입 이미지

    09. Overflow 속성을 이용한 Thumbnail 사이즈 조절
    [자료] Create Resizing Thumbnails Using Overflow Property
    사용자 삽입 이미지

    #2 Thumbnail Hover
    http://www.sohtanaka.com/web-design/fancy-thumbnail-hover-effect-w-jquery/

    10. Layered Images 만들기
    [자료] How to Recreate Silverback's Parallax
    사용자 삽입 이미지

    11. Image Decoration
    [자료] CSS Decorative Gallery
    사용자 삽입 이미지


     

    '웹표준 > 쇼케이스' 카테고리의 다른 글

    UI: Table, CSS + (JavaScript)  (0) 2008.02.27
    Form CSS  (0) 2008.02.27
    UI: Layout CSS  (0) 2008.02.26
    CSS List - OL, UL, LI  (0) 2008.02.26
    UI: image  (0) 2008.02.25
    UI: 회전목마(Carousel) 형 주요 콘텐츠 보여주기  (0) 2008.02.25

    CSS 프린트

    웹표준 2008. 2. 25. 21:14
    CSS를 사용하는 잇점중의 하나가 Media(Screen, Print)별로 Style을 나누어 적용할 수 있습니다.
    특히 Print의 경우에는 Screen에 보여지는 Fancy용 이미지까지 프린트할 필요가 없으며, 그래서 프린트용으로 페이지를 다시 정의할 수 있게 됩니다.  이에 관련된 내용을 요약합니다.

    01. media 속성을 이용해 CSS를 정의하세요.
    참고로 Media Types은 screen, print, projection (for presentation of kiosk), all 등이 있습니다.
    <link rel="stylesheet" href="screen.css" media="screen" />
    <link rel="stylesheet" href="print.css" media="print" />

    <style type="text/css">
        @import url("css/printstylesheet.css") print;
    </style>

    <style type="text/css">
      @media print {
        h1 { color: black; }
        h2 { color: gray;  }
      }
    </style>

    02. print시 필요없는 영역이 출력되지 않도록 하세요.
    필요없는 영역은 Navigation System, Background Images, Background Colors, 중요하지 않은 images 가 있습니다.  사이트 로고는 반드시 넣어 주세요.
    #navigation, #필요없는 영역 {
         display:none;
    }


    03. Font-size와 Line-height를 비슷하게 맞추세요.
    body {
        font-size: 120%;
        line-height: 130%;
    }

    04. Serif 형 글꼴을 적용하세요. (바탕, 바탕체)
    출력물에서는 serif 형 글꼴이 읽기 편합니다.  낮은 해상도의 모니터에서나 글자 사이즈가 작을 경우의 Serif 형 글꼴은 다소 또렷하지 않을 수 있습니다.

    05. 출력물에서 사용하는 Inches와 Point 단위로 전환해서 생각하세요.
    스크린에서는 Pixel 단위가 사용하기 편리하나 출력물에서의 단위체계는 아닙니다.  따라서 출력물에서 사용하는 inches, centimeters, millimeters, points 등으로 단위체계를 바꿔서 작성하세요.
    body {
        font-family: 바탕, Georgia, "Times New Roman", serif;
        font-size: 12pt;
        line-height: 18pt;
    }
    body #container {
        margin: 1in 1.2in .5in 1.2in;
    }

    06. 프린트 버튼은 [javascritp:window.print()] 식으로 처리하세요.
    JavaScript 기능이 Off 될 경우를 생각해서 동적으로 버튼을 만들지 마세요.

    07. 출력되는 페이지 단위를 고려하세요. (page breaks)
    page-break-before: always

    - PRINT.CSS 프린트 스타일 - 일모리와 웹표준 
    - Printing the Web: Solutions and Techniques
    - www.printer-friendly.com
    -
    15 Tools to Make Your Site Printer Friendly
    - CSS Printing Guide
    - 7 Tips for Great Print Style Sheets
    - Print-friendly CSS and usability
    - How to create an unobtrusive print this page link with JavaScript
    - CSS Styling for Print and Other Media
    - CSS Design: Going to Print
    - Printer-Friendly Web Pages Made Easy
    - A Default Print Stylesheet Template
    -. Designing for Print - Setting Up Crops and Bleed
    - How to Make Printer-Friendly Pages ~~
    - [Framework] Hartija - CSS Print Framework
    - Handy Tips for Creating a Print CSS Stylesheet
    - 10 Tips for Better Print Style Sheets
    - How To Set Up A Print Style Sheet
    - HTML5 Element Printing in Internet Explorer



    '웹표준' 카테고리의 다른 글

    CSS 토픽 (Topics)  (0) 2008.02.25
    브라우저 (Browser)  (0) 2008.02.25
    CSS 프린트  (0) 2008.02.25
    CSS 레퍼런스 모둠  (0) 2008.02.25
    CSS를 잘 쓰기 위한 아이디어..  (0) 2008.02.23
    HTML 지대로 사용하기  (0) 2008.01.04

    CSS 레퍼런스 모둠

    웹표준 2008. 2. 25. 19:23
    CSS 레퍼런스(references), Tutorials 등 CSS를 사용법과 관련된 링크를 소개한다.

    01. CSS HOME  www.w3.org/Style/CSS/
    01) Casecading Style Sheets, Level 1
    02) Casecading Style Sheets, Level 2
    03) Casecading Style Sheets, Level 3 [current work]
    - Default style sheet for HTML4

    02. CSS Reference 
    01) Xhtml.com xhtml.com/en/css/reference/
    각 항목에 대한 상세한 소개와 풍부한 예제를 볼 수 있다.
    02) htmlPlayground.com  htmlplayground.com
    학습하기 좋은 형태로 화면구성
    03) gotAPI.com  www.gotapi.com
    04) sitepoint 
    reference.sitepoint.com/css
    05) Valid CSS and Accessibility 
    06) CSS Property Index
    07) [한글] Trio  www.trio.co.kr
    08) [한글] Hooney.net  hooney.net/docs/Css/DocumentsIndex
    09) [properties] CSS Infos  [Webkit Styles Attributes]
    10) [safari] Introduction to Safari CSS Reference
    11) [MDN] CSS Reference
    *
    InstaCSS
    * dochub

    03. CSS Cheat Sheet
    01)
    lesliefranke.com/files/reference/csscheatsheet.html
    02) YUI Library: CSS Reset, Base, Fonts, and Grids

    - CSS Codes: CSS Code Snippets for Web Designers & Developers
    - 10 Useful code snippets for web developers
    - [site] CSS-Tricks Code Snippets






    '웹표준' 카테고리의 다른 글

    브라우저 (Browser)  (0) 2008.02.25
    CSS 프린트  (0) 2008.02.25
    CSS 레퍼런스 모둠  (0) 2008.02.25
    CSS를 잘 쓰기 위한 아이디어..  (0) 2008.02.23
    HTML 지대로 사용하기  (0) 2008.01.04
    [교안] 웹표준 및 CSS 목차 참고  (0) 2008.01.04

    UI: 회전목마(Carousel) 형 주요 콘텐츠 보여주기

    웹표준/쇼케이스 2008. 2. 25. 17:58
    콘텐츠중 주목되는 내용을 보여주는 형식으로 회전목마(Carousel) 형태로 바뀌면서 보여주는 것이 있다.
    플래시나 자바스크립트를 이용해서 시간에 따라 자동으로 다른 항목으로 바뀌게 하거나 이미지나 글자로된 힌트(clue, hint) 영역을 클릭(마우스오버) 하여 다른 주요컨텐츠를 보여주게 된다.

    [사이트 참고]
    http://www.smileycat.com/design_elements/carousels/


    사용자 삽입 이미지
    사용자 삽입 이미지

    - 5 Big Usability Mistakes Designers Make on Carousels
    - 25 Superb jQuery Slideshow Plugins with Tutorials

    - Step Carousel Viewer, DynamicDrive
    -
    Carousel SlideShow, DynamicDrive
    - Carousel SlideShow2, DynamicDrive
    - jCarousel
    - iCarousel
    - Make a Featured Content Slider for Your Site
    - Sldiers and Carousels in Web Design, Best Practices, Scripts and Showcases
    - Best jQuery Carousels plugins
    - Agil Carousel

    2008/02/04 - [JavaScript] - Best of Ajax, DHTML, JavaScript ..
    2008/03/05 - [웹표준/쇼케이스] - 이미지 갤러리
    2008/08/28 - [웹표준/쇼케이스] - Horizontal Scroll & Single Page
    2008/05/08 - [웹표준/쇼케이스] - Sliders, Scrollers and Scrollbars


    '웹표준 > 쇼케이스' 카테고리의 다른 글

    UI: Table, CSS + (JavaScript)  (0) 2008.02.27
    Form CSS  (0) 2008.02.27
    UI: Layout CSS  (0) 2008.02.26
    CSS List - OL, UL, LI  (0) 2008.02.26
    UI: image  (0) 2008.02.25
    UI: 회전목마(Carousel) 형 주요 콘텐츠 보여주기  (0) 2008.02.25