2008년 9월 17일 수요일

이제야 운전전문학원 등록했다

연말에 차 구입에 앞서 운전전문학원을 등록했다
그런데 왜케 비싼거야 ㅠ.ㅠ
등록한날 등록비 보험료 교육료 등등해서 80만 5천원을 훌러덩 써버렸다
10년전 고3 수험생 할인 이벤트 할때 따두었으면 엄청 아꼈을텐데 그때 못따둔게 아쉬웠음

검정료 아까우니 한번에 다 붙었으면 좋겠다

어제 퇴근하고 집에와서 학과시험 정리 조금 살펴봤는데 어려운 용어들도 많고
신호는 헤깔리고, 나 운전 잘 할수 있을까?

무섭기도 하고 재밌을거 같기도하고, 열심히 해 봐야겠다



최근에 읽기 시작한 황석영의 삼국지 10권세트
1권을 붙잡고 읽기 시작했는데, 늠 재밌다
학창시절엔 도서관에서 이문열 삼국지 1권빌려다가
도원결의까지만 보고 그냥 반납하곤 했는데
이제야 삼국지에 재미를 붙였다.

지난번에 적벽대전(거대한 전쟁의 시작)을 보고 나서
적벽대전에 적벽대전이 없어 아쉬웠기에 삼국지가 막 읽고 싶어져 구입하게 되었다.

황석영의 삼국지는 완역이고, 이문열의 삼국지는 평역
개인적으로 황석영 작가님이 좋기 때문에 망설임없이
황석영의 삼국지 10권 세트를 구입했다.

중간중간 컬러풀한 삽화보는 재미도 있고 구입하길 참 잘했다

2008년 9월 8일 월요일

크로스 브라우징 - IE 버전별 스타일 주기

<!--[if IE]>
<style type="text/css">
 #Contents { height:630px; }
</style>
<![endif]-->

html 페이지에 이런식으로 주게되면 IE 브라우저에서 실행하게 된다.
웹표준을 살짝 준수해준 IE 7.0에서는 height:630 만큼만 잡고 그 아래 div 는 떠있는 현상이 생겼다.

IE 6.0 이하에서만 먹도록 적용해야 하기에 IE 버전별로 적용시키는 방법을 찾아보았다.

찾아보던중 발견한 정리잘된 블로그 : http://blog.naver.com/http500/30007831394

이하 위 블로그 내용 임의 편집

IE 선택적 적용(Conditional Comments) 부분, ie에서만 동작기하길 원하는 js나 ie의 css 버그 처리 때문에 사용하는 경우 많음

[ http://www.positioniseverything.net/articles/multiIE.html ][ http://msdn.microsoft.com/workshop/author/dhtml/overview/ccomment_ovw.asp?frame=true ]

gt = selects greater than  보다큰 :  if gt IE 6 ->  현재버전 > 6
lt = selects less than 보다 작은 :  if lt IE 6 ->  현재버전 < 6
gte = selects greater than or equal to 같거나 큰  :  if gte IE 6 ->  현재버전 >= 6
lte = selects less than or equal to 같거나 작은  :  if lte IE 6 ->  현재버전 <= 6

그밖에 ! 

  1. To select exclusivly for any  non IE  - use " IE  & !IE " for a downlevel-revealed within a downlevel-hidden CC
    <!--[if IE]><![if !IE]><![endif]-->  html  <!--[if IE]><![endif]><![endif]-->
  2. To select for  IE 5.01 only  - use " IE 5.0 " or "lte IE 5.0" or "!gt IE 5.0" or "lt IE 5.5000" or "!gte IE 5.5000"
    <!--[if IE 5.0]>  html  <![endif]-->
  3. To select for  IE 5.5 or 6 or 7.0  - use " !IE 5.0 " or "!lte IE 5.0" or "gt IE 5.0" or "!lt IE 5.5000" or "gte IE 5.5000" (all less specific)
    <!--[if !IE 5.0]>  html  <![endif]-->
  4. To select for  IE 5.5 only  - use " IE 5.5000 "
    <!--[if IE 5.5000]>  html  <![endif]-->
  5. To select for  IE 5.01 or 6 or 7.0  - use " !IE 5.5000 " (less specific)
    <!--[if !IE 5.5000]>  html  <![endif]-->
  6. To select for  IE 6 only  - use " IE 6 "
    <!--[if IE 6]>  html  <![endif]-->
  7. To select for  IE 5.01 or 5.5 or 7.0  - use " !IE 6 " (less specific)
    <!--[if !IE 6]>  html  <![endif]-->
  8. To select for  IE 7.0 only  - use " IE 7.0 "; or less specific "!lte IE 6" or "gt IE 6" or "!lt IE 7.0" or "gte IE 7.0" or "!lt IE 7" or "IE 7" or "gte IE 7"
    <!--[if IE 7.0]>  html  <![endif]-->
  9. To select for  IE 5.01 or 5.5 or 6  - use " lte IE 6 " or "!gt IE 6" or "lt IE 7.0" or "!gte IE 7.0" or "lt IE 7" or "!gte IE 7"; or less specific "!IE 7.0" or "!IE 7"
    <!--[if lte IE 6]>  html  <![endif]-->
  10. To select for  IE 5.01 or 5.5  - use " IE 5 " or "lte IE 5" or "!gt IE 5" or "lte IE 5.5000" or "!gt IE 5.5000" or "lt IE 6" or "!gte IE 6"
    <!--[if IE 5]>  html  <![endif]-->
  11. To select for  IE 6 or 7.0  - use " !IE 5 " or "!lte IE 5" or "gt IE 5" or "!lte IE 5.5000" or "gt IE 5.5000" or "!lt IE 6" or "gte IE 6" (all less specific)
    <!--[if !IE 5]>  html  <![endif]-->
  12. To select for  IE 5.01 or 6  - use " lte IE 6  & !IE 5.5000 " or, more general, any of 3 pairs ({"lt IE 7", "!IE 7", "lte IE 6"},{"!IE 5.5000"}) for a downlevel-revealed within a downlevel-hidden CC
    <!--[if lte IE 6]><![if !IE 5.5000]>  html  <![endif]><![endif]-->
  13. To select for  IE 5.01 or 7.0  - use " !IE 6  & !IE 5.5000 " (less specific) for a downlevel-revealed within a downlevel-hidden CC
    <!--[if !IE 6]><![if !IE 5.5000]>  html  <![endif]><![endif]-->
  14. To select for  IE 5.5 or 6  - use " lte IE 6  & gte IE 5.5000 " or, more general, any of 9 pairs ({"lt IE 7", "!IE 7", "lte IE 6"},{"gt IE 5.0", "!IE 5.0", "gte IE 5.5000"}) for a downlevel-revealed within a downlevel-hidden CC
    <!--[if lte IE 6]><![if gte IE 5.5000]>  html  <![endif]><![endif]-->
  15. To select for  IE 5.5 or 7.0  - use " !IE 6  & gt IE 5.0 " or, more general, any of 3 less specific pairs ({"!IE 6"},{"gt IE 5.0", "!IE 5.0", "gte IE 5.5000"}) for a downlevel-revealed within a downlevel-hidden CC
    <!--[if !IE 6]><![if gt IE 5.0]>  html  <![endif]><![endif]-->
  16. To select for  IE 5.01 or 5.5 or 6 or 7.0  - use " lte IE 7.0 "; or less specific "gte IE 5" or "gte IE 5.0" or "lte IE 7" or "IE"; it seems not feasible to use any negations for this selection.
    <!--[if lte IE 7.0]>  html  <![endif]-->


XSL 에서는

<xsl:comment><![CDATA[[if lte IE 6]>
<style type="text/css">.ie{ margin-top:30px;margin-bottom:-30px; }</style>
<![endif]]]></xsl:comment>