반응형
반응형

Mobilizing websites with responsive design and HTML5

12.16.2012
| 1211 views |

 

http://css.dzone.com/articles/mobilizing-websites-responsive

 

This is a blog post series tutorial for adapting your existing websites for mobile devices without building a separate mobile site. It shows, with examples, how with little changes in your HTML, CSS and Javascript code you can deliver much nicer user experience for small screen and mobile devices. You can make existing HTML designs more mobile friendly with selective CSS loading and HTML5 tags. Selective CSS loading with CSS3 media queries allow you to change layout depending on the browser screen size: this kind of layout is called responsive design.

The tutorial is divided to several, functionality specific, blog posts, each with screenshot examples, explanations and links for more in-depth information.

The tutorial was written in a conjunction with a consulting project for a Finnish public sector organization. As the one of the funding sources is Finnish tax money, including some of my very own pennies, it was a common interest to get the information born in the consultation project published.

Below is an example what one can accomplish.

The site landing page before any mobilization was done; the site is using the default desktop styles on mobile devices:

The site after HTML and CSS adjustments:

1. Prerequisites

Prerequisites for understanding this tutorial are

2. Table of contents

The tutorial contents is outlined below. I’ll keep linking to new blog posts as I finish writing them. Stay tuned, by following the RSS feed or Twitter.

Published at DZone with permission of Mikko Ohtamaa, author and DZone MVB. (source)

(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)

The HTML5 Zone is brought to you with the partnership of Microsoft and includes content on HTML5, CSS3, SVG, and Other Emerging Web Standards or JavaScript technologies that improve the web as a platform for application development.
반응형
반응형

백슬래쉬(Backslash) 문자란, "Reverse Solidus" 라고 불리기도 합니다. 좌측으로 기울어진 빗금입니다. 참고로 그냥 "슬래쉬(Slash)"는 / 이렇게 우측으로 기울어진 작대기입니다.

한글 윈도우에서는 백슬래시(\)가 원화(₩)기호로 나타납니다. 일본어판 윈도우에는 엔화(¥)기호로 나옵니다.

한글 폰트 자체가 그렇게 되어 있기에 그렇게 나오는 것인데,

다음의 방법을 사용하면, 한글 윈도우에서 백슬래시를 어느 정도 표현할 수 있습니다.


원화를 백슬래쉬로: 영문폰트 사용하여


한글 글꼴이 아닌 영문 폰트를 사용하는 것입니다. 영문 전용 폰트에는 원화 기호가 없기에 오리지날 백슬래시가 잘 나옵니다. 웹문서라면 다음과 같은 태그를 사용하여 폰트를 지정하면 됩니다:

HTML 코드

한글 폰트: 굴림
<span style="font-family:Gulim">C:\Program Files\Common Files\Adobe</span>

<br /><br />

영문 폰트: Arial
<span style="font-family:Arial">C:\Program Files\Common Files\Microsoft Shared</span>





HTML 출력 결과:

한글 폰트: 굴림
C:\Program Files\Common Files\Adobe

영문 폰트: Arial
C:\Program Files\Common Files\Microsoft Shared


패스 문자열 속의 백슬래쉬들이 깨끗하게 표현되었습니다.



원화를 백슬래시로: 전각문자 사용하여


전각문자로 된 백슬래시를 사용하는 것입니다. (▶▶ 컴퓨터용어] 반각 문자 / 전각 문자;(半角/全角)의 의미, 차이점- Half-Width / Full-Width Character 참고)

"\" <- 바로 이것이 백슬래쉬의 전각문자 버전입니다. 이것은 한글 폰트 속에 들어 있기에 한글 윈도우에도 잘 나옵니다.

위의 전각문자를 카피하여 문서에 붙여넣고 사용하시면 됩니다.

단, 전각문자 백슬래쉬는, 진짜 백슬래시 즉 반각문자 백슬래쉬와는 코드 번호가 다릅니다. 모양은 같지만, 컴퓨터는 전각 백슬래쉬를 백슬래쉬로 인식하지 못하는 경우가 대부분입니다. 따라서 "\" 이것을 워드프로세서 문서 속에서 사용한다든지 하는 것은 괜찮지만, 프로그래밍 등에서 진짜 백슬래쉬 대신으로 사용하면 안됩니다.

반응형
반응형

https://drupal.org/

 

http://drupal.kldp.net/about-drupal

 

드루팔은 PHP로 작성된 오픈 소스 콘텐츠 관리 프레임워크, 콘텐츠 관리 시스템, 블로그 엔진이다. 처음에는 게시판으로 만들었으나 여러 가지 유용한 기능을 추가하여 현재의 모습을 가지게 되었다

 

드루팔(Drupal)은 개인 또는 커뮤니티가 웹사이트의 다양한 자료들을 손쉽게 관리, 조직, 출판할 수 있도록 다양한 기능을 제공하는 오픈소스 프로그램입니다. 세계의 수많은 사용자들과 조직들이 드루팔을 사용하고 있습니다.

드루팔을 활용할 수 있는 사이트의 종류는 다음과 같습니다

  • 커뮤니티 포탈,토론 사이트
  • 협동 웹사이트/인트라넷 포탈
  • 개인 웹사이트
  • 팬 사이트
  • 전자 상거래 어플리케이션
  • 리소스 디렉토리

드루팔은 다음과 같은 기능을 갖고 있습니다. 모듈을 통해 더 다양한 기능들이 개발되어 사용되고 있습니다.

  • 컨텐츠 관리 시스템 (CMS, Contents Management System)
  • 블로그
  • 공동 집필 환경
  • 포럼
  • 뉴스레터
  • 사진 갤러리
  • 파일 업로드 및 다운로드

드루팔은 GPL 라이센스의 오픈소스 소프트웨어입니다. 수천명의 사용자와 개발자로 이루어진 커뮤니티에 의해 개발되고 유지되고 있습니다. Drupal은 자유롭게, 그리고 무료로 다운로드 받아 사용할 수 있습니다. 만일 Drupal이 제공하는 기능에 만족한다면, 당신의 요구사항에 더욱 적합하게 Drupal을 확장시키고 다듬는데 동참할 수도 있습니다.

반응형
반응형

웹사이트에서 javascript 또는 DB를 테스트해보고 싶다면

 

http://jsfiddle.net/  , http://sqlfiddle.com/ 를 추천한다.

 

간단한 테스트는 위 사이트에서 진행해보는 것도 효율적인 방법이다.

반응형
반응형

Why Web Icon Fonts are brilliant

http://www.crearegroup-webdesign.co.uk/blog/videos/web-icon-fonts.html


Posted Friday 14th Dec 2012 by Rob Bavington 1 Comment

My brother James and I have been chatting a lot over the past week about how amazing Icon Web Fonts are, so I’ve put together a little video blog to show the key benefits. If you’re unfamiliar with Icon Fonts, they’re not too dissimilar from Wingdings. They’re useful, lightweight, modern typefaces that are perfect for displaying icons on your website without the baggage that often comes with using images.

Now we’ll talk about these specific Icon Fonts in a moment, but typefaces like Font Awesome, which is free, or Fico carry huge benefits to designers – which is probably why they’ve been so popular with web designers in 2012.

You can think of Icon Fonts as any normal font or web-font. As a designer you can easily adjust the size, colour and even add shadows with CSS. Icon Fonts work in almost all browsers including IE6, which means you get transparency without messing around with any ugly hacks. Most importantly, a lightweight or hand-picked Web Icon Font will load quicker in the browser that it’s image counterpart which will help with your page-speed optimization.

Web Icon Fonts have been huge in 2012

James and I think there’s 3 simple, key reasons why Icon Web Fonts are so popular in 2012:

  1. The icons are simply pretty cool and modern
  2. Responsive web design
  3. Retina displays.

So with Responsive web-design, there’s a good chance that you might want to increase or decrease an icon’s size, particularly if you’re using it within a button. Just like text, you can use media queries to simply change the type size without needing to reference a different image file. And unlike raster, pixel based images – Icon Fonts are vector so they look crisp at any resolution.

If you haven’t already, we’d recommending heading over to some of the many Icon Fonts available online. Like we mentioned earlier, Font Awesome is a great starting point as their current free set includes over 200 icons and can be installed and used on your website within minutes.

There’s also plenty of premium paid Icon Fonts and also great tools like Fontello where you can create your very own hand-picked, lightweight hybrid Icon Font by combining the best of the free Icon Fonts available.

So, wrapping up – we’re pretty confident that Icon Fonts are going to continue in popularity in 2013. It wouldn’t surprise us if the Google Web Font archive dons a set or two in the near future.

Example results when using Font Awesome, as shown on their web page.

Example results when using Font Awesome, as shown on their web page.

Web Icon Fonts & SEO

Also, don’t worry about the potential SEO headache of having random single letters hanging around your HTML markup. Icon Font Packs, like Font Awesome for example, have been set-up so that you can render with empty italic tags.

If you refer to the embedded image opposite, and the HTML markup below, you can see how the empty italics tags are used with a class to render icons in a similar fashion to how we might use span tags.


1
2
3
4
5
6
7
8
</pre>
<ul class="nav nav-list">
    <li class="active"><a href="#"> Home</a></li>
    <li><a href="#"> Library</a></li>
    <li><a href="#"> Applications</a></li>
    <li><a href="#"> Settings</a></li>
</ul>
<pre>


Thanks for watching this week, check out our supporting post for more resources and live examples of Icon Fonts in action from around the web.


반응형
반응형

http://visionmedia.github.com/uikit/

Modern UI components for the modern web

 

UIKit is a small collection of flexible, decoupled jQuery JavaScript components for the modern web. With an emphasis on structure-only styling it's easy to style UIKit to match your application, no preprocessor variables, just raw CSS structure! As a result most of the styling you see in this document is for demonstration only.

반응형

+ Recent posts