<?xml version="1.0" encoding="UTF-8" ?><feed xmlns="http://www.w3.org/2005/Atom">
	<title type="text">프리21교육센타:css3기초</title>
		<updated>2026-10-25T17:21:25+09:00</updated>
	<id>http://www.free21.net/xe/css3_basic/atom</id>
	<link rel="alternate" type="text/html" hreflang="ko" href="http://www.free21.net/xe/css3_basic"/>
	<link rel="self" type="application/atom+xml" href="http://www.free21.net/xe/css3_basic/atom"/>
	<generator uri="http://www.xpressengine.com/">XpressEngine</generator>
   <entry>
		<title><![CDATA[margin:0 auto와 text-align:center]]></title>
		<id>http://www.free21.net/xe/1782</id>
		<published>2017-06-26T21:02:38+09:00</published>
		<updated>2017-06-26T21:02:38+09:00</updated>
		<link rel="alternate" type="text/html" href="http://www.free21.net/xe/1782"/>
		<link rel="replies" type="text/html" href="http://www.free21.net/xe/1782#comment"/>
		<author>
			<name><![CDATA[프리21]]></name>
					</author>
				<content type="html"><![CDATA[<div class="xe_content"><span style="font-size: 14pt;">틀자체를 중앙정렬시에는 margin:0 auto ;<br />틀안의 내용물을 중앙정렬시에는 틀에 text-align:center;<br /></span><br /></div>]]></content>
						
	</entry>
   <entry>
		<title><![CDATA[position:relative]]></title>
		<id>http://www.free21.net/xe/1781</id>
		<published>2017-06-26T20:06:20+09:00</published>
		<updated>2017-06-26T20:06:20+09:00</updated>
		<link rel="alternate" type="text/html" href="http://www.free21.net/xe/1781"/>
		<link rel="replies" type="text/html" href="http://www.free21.net/xe/1781#comment"/>
		<author>
			<name><![CDATA[프리21]]></name>
					</author>
				<content type="html"><![CDATA[<div class="xe_content"><span style="font-size: 18pt;">position:relative; <br />position은 위치를 뜻하고 relative는 상대적인 뜻...<br />자기자신을 기준(윗부분과 좌측부분을)으로 위치값이 설정된다..<br />원래 자기위치영역에는 다른 요소들이 오지 못하며..자유로이 <br />위치이동을 할 수 있다...<br /></span><br /></div>]]></content>
						
	</entry>
   <entry>
		<title><![CDATA[배경 background]]></title>
		<id>http://www.free21.net/xe/1616</id>
		<published>2017-05-12T14:45:02+09:00</published>
		<updated>2017-05-12T14:45:02+09:00</updated>
		<link rel="alternate" type="text/html" href="http://www.free21.net/xe/1616"/>
		<link rel="replies" type="text/html" href="http://www.free21.net/xe/1616#comment"/>
		<author>
			<name><![CDATA[프리21]]></name>
					</author>
				<content type="html"><![CDATA[<div class="xe_content"><p><span style="font-family: 나눔고딕,NanumGothic,돋움; font-size: 18pt;">배경색,배경이미지설정하기</span></p><p>&nbsp;</p><p><span style="font-family: 나눔고딕,NanumGothic,돋움; font-size: 12pt;">background:#444 url(lamp.jpg) no-repeat&nbsp;10px 10px;</span></p><p><span style="font-family: 나눔고딕,NanumGothic,돋움; font-size: 12pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 색&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; 이미지&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 반복여부&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 위치(x.y)</span></p><p>&nbsp;</p><p><span style="font-family: 나눔고딕,NanumGothic,돋움; font-size: 14pt;">x위치값에 : left,center,right 배치</span></p><p><span style="font-family: 나눔고딕,NanumGothic,돋움; font-size: 14pt;">y위치값에 : top, center, bottom 배치</span><span style="font-family: 나눔고딕,NanumGothic,돋움; font-size: 12pt;"><span style="font-family: 나눔고딕,NanumGothic,돋움; font-size: 14pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>&nbsp;&nbsp;&nbsp;</span></p><p>&nbsp;</p><p><span style="font-family: 나눔고딕,NanumGothic,돋움; font-size: 12pt;">no-repeat 반복안하고 한번만 보여줌</span></p><p><span style="font-family: 나눔고딕,NanumGothic,돋움; font-size: 12pt;">repeat-x&nbsp;수평으로 반복</span></p><p><span style="font-family: 나눔고딕,NanumGothic,돋움; font-size: 12pt;">repeat-y&nbsp;수직으로 반복&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br /></span></p></div>]]></content>
						
	</entry>
   <entry>
		<title><![CDATA[line-height]]></title>
		<id>http://www.free21.net/xe/1608</id>
		<published>2017-05-12T12:06:55+09:00</published>
		<updated>2017-05-12T12:08:16+09:00</updated>
		<link rel="alternate" type="text/html" href="http://www.free21.net/xe/1608"/>
		<link rel="replies" type="text/html" href="http://www.free21.net/xe/1608#comment"/>
		<author>
			<name><![CDATA[프리21]]></name>
					</author>
				<content type="html"><![CDATA[<div class="xe_content"><p><span style="font-family: 나눔고딕,NanumGothic,돋움; font-size: 14pt;"><span style="font-family: 나눔고딕,NanumGothic,돋움; font-size: 14pt;">line-height : 라인높이 .줄높이,텍스트입력칸의 높이</span></span></p><p><span style="font-family: 나눔고딕,NanumGothic,돋움; font-size: 14pt;"><span style="font-family: 나눔고딕,NanumGothic,돋움; font-size: 11pt;"><font style="background-color: rgb(228, 255, 117);" color="rgb(0,0,0)">line-height속성은 블럭태그에만 적용된다</font></span></span></p><p><span style="font-family: 나눔고딕,NanumGothic,돋움; font-size: 14pt;"><span style="font-family: 나눔고딕,NanumGothic,돋움; font-size: 11pt;"><font style="background-color: rgb(228, 255, 117);" color="rgb(0,0,0)">a태그에 위 속성을 적용하려면 display:block; 해야 한다</font></span></span></p><p><span style="font-family: 나눔고딕,NanumGothic,돋움; font-size: 14pt;"><span style="font-family: 나눔고딕,NanumGothic,돋움; font-size: 10pt;">단위 : em ~배<br /><br /></span></span><span style="font-family: 나눔고딕,NanumGothic,돋움; font-size: 14pt;"><span style="font-family: 나눔고딕,NanumGothic,돋움; font-size: 10pt;"><span style="font-family: 나눔고딕,돋움; font-size: 12pt;"><p><span style="font-family: 나눔고딕,NanumGothic,돋움; font-size: 11pt;">영역안에 배치된 텍스트를 수직중앙위치하려면 </span></p><p><span style="font-family: 나눔고딕,NanumGothic,돋움; font-size: 11pt;">영역의 높이값과 동일하게 line-height값을 설정하면 된다</span></p></span><p>&nbsp;</p><p><span style="font-family: 나눔고딕,돋움; font-size: 12pt;">&lt;style type=&quot;text/css&quot;&gt;</span><br /><span style="font-family: 나눔고딕,돋움; font-size: 12pt;">div{</span><br /><span style="font-family: 나눔고딕,돋움; font-size: 12pt;">&nbsp;width:100px;</span><br /><strong><span style="font-family: 나눔고딕,돋움; font-size: 12pt;">&nbsp;height:100px;</span><br /></strong><span style="font-family: 나눔고딕,돋움; font-size: 12pt;">&nbsp;</span><span style="font-family: 나눔고딕,돋움; font-size: 12pt;">border:#666 1px solid;</span><br /><span style="font-family: 나눔고딕,돋움; font-size: 12pt;">&nbsp;text-align:center;</span><br /><strong><span style="font-family: 나눔고딕,돋움; font-size: 12pt;">&nbsp;line-height:100px;</span><br /></strong><span style="font-family: 나눔고딕,돋움; font-size: 12pt;">&nbsp;}</span><br /><span style="font-family: 나눔고딕,돋움; font-size: 12pt;">&lt;/style&gt;</span><br /><span style="font-family: 나눔고딕,돋움; font-size: 12pt;">&lt;/head&gt;</span></p><p><span style="font-family: 나눔고딕,돋움; font-size: 12pt;">&lt;body&gt;</span><br /><span style="font-family: 나눔고딕,돋움; font-size: 12pt;">&lt;div&gt;주제&lt;/div&gt;</span><br /><span style="font-family: 나눔고딕,돋움; font-size: 12pt;">&lt;/body&gt;</span></p></span></span></p></div>]]></content>
						
	</entry>
   <entry>
		<title><![CDATA[clear:both]]></title>
		<id>http://www.free21.net/xe/1560</id>
		<published>2017-04-28T13:46:06+09:00</published>
		<updated>2017-04-29T11:20:05+09:00</updated>
		<link rel="alternate" type="text/html" href="http://www.free21.net/xe/1560"/>
		<link rel="replies" type="text/html" href="http://www.free21.net/xe/1560#comment"/>
		<author>
			<name><![CDATA[프리21]]></name>
					</author>
				<content type="html"><![CDATA[<div class="xe_content"><p><span style="font-family: 나눔고딕,돋움; font-size: 11pt;"><strong><span style="font-size: 18pt;">clear:both </span></strong></span></p><p><span style="font-family: 나눔고딕,돋움; font-size: 11pt;">위 속성은 float속성이 지정된 마크업태그뒤에 오는 대상에게 지정하는데..</span></p><p><span style="font-family: 나눔고딕,돋움; font-size: 11pt;">float된 대상 뒤에 오는 것은 위치가 뒤틀려지게 된다.끌려올라가서 </span></p><p><span style="font-family: 나눔고딕,돋움; font-size: 11pt;">제 위치를 유지못하게 된다...</span></p><p><span style="font-family: 나눔고딕,돋움; font-size: 11pt;">보통의 경우 하단영역에 clear속성을 적용한다</span></p></div>]]></content>
						
	</entry>
   <entry>
		<title><![CDATA[외부스타일시트]]></title>
		<id>http://www.free21.net/xe/1533</id>
		<published>2017-04-20T15:09:53+09:00</published>
		<updated>2017-05-11T00:45:51+09:00</updated>
		<link rel="alternate" type="text/html" href="http://www.free21.net/xe/1533"/>
		<link rel="replies" type="text/html" href="http://www.free21.net/xe/1533#comment"/>
		<author>
			<name><![CDATA[프리21]]></name>
					</author>
				<content type="html"><![CDATA[<div class="xe_content"><span style="font-family: 나눔고딕,NanumGothic,돋움; font-size: 12pt;">/ 외부스타일시트(*.css)</span><br /><span style="font-family: 나눔고딕,NanumGothic,돋움; font-size: 12pt;">&nbsp;스타일태그를 별도의 외부파일(*.css)에 저장</span><br /><span style="font-family: 나눔고딕,NanumGothic,돋움; font-size: 12pt;">&nbsp;여러(다량의)문서 스타일을 일괄조정,통일성있게 설정해줄수 있다</span><p><span style="font-family: 나눔고딕,NanumGothic,돋움; font-size: 12pt;">&nbsp;</span></p><p><span style="font-family: 나눔고딕,NanumGothic,돋움; font-size: 12pt;">1css화일 생성및 설정</span><br /><span style="font-family: 나눔고딕,NanumGothic,돋움; font-size: 12pt;">&nbsp; &nbsp;css화일생성 : file &gt; new &gt; blank page &gt; css&nbsp;</span><br /><span style="font-family: 나눔고딕,NanumGothic,돋움; font-size: 12pt;">&nbsp;&nbsp;&nbsp;화일명.css로 저장</span></p><p><br /><span style="font-family: 나눔고딕,NanumGothic,돋움; font-size: 12pt;">2 외부링크 설정(외부스타일화일 연결)</span></p><p><span style="font-family: 나눔고딕,NanumGothic,돋움; font-size: 12pt;">&nbsp;&nbsp;&nbsp;html문서와 css파일을 연결하여&nbsp;html문서요소의 스타일을 지정한다.</span><br /><span style="font-family: 나눔고딕,NanumGothic,돋움; font-size: 12pt;">력 - </span><br /><span style="font-family: 나눔고딕,NanumGothic,돋움; font-size: 12pt;">&nbsp;&nbsp;&lt;head&gt;</span><br /><span style="font-family: 나눔고딕,NanumGothic,돋움; font-size: 12pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&lt;link rel="stylesheet" type="text/css" href="화일명.css"&gt;</span><br /><span style="font-family: 나눔고딕,NanumGothic,돋움; font-size: 12pt;">&nbsp;&nbsp;&lt;/head&gt;</span></p><p><span style="font-family: 나눔고딕,NanumGothic,돋움; font-size: 12pt;"></span><span style="font-family: 나눔고딕,NanumGothic,돋움;">&nbsp; * rel :relative 연관의</span></p><p><span style="font-family: 나눔고딕,NanumGothic,돋움;">&nbsp;&nbsp;&nbsp;&nbsp; type:&nbsp;형식</span></p><p><span style="font-family: 나눔고딕,NanumGothic,돋움;">&nbsp; &nbsp; &nbsp; href : hyper reference (참조)<br /></span></p></div>]]></content>
						
	</entry>
   <entry>
		<title><![CDATA[position]]></title>
		<id>http://www.free21.net/xe/1552</id>
		<published>2017-04-27T11:31:34+09:00</published>
		<updated>2017-05-08T18:00:32+09:00</updated>
		<link rel="alternate" type="text/html" href="http://www.free21.net/xe/1552"/>
		<link rel="replies" type="text/html" href="http://www.free21.net/xe/1552#comment"/>
		<author>
			<name><![CDATA[프리21]]></name>
					</author>
				<content type="html"><![CDATA[<div class="xe_content"><p><span style="font-family: 나눔고딕,돋움; font-size: 18pt;"><span style="font-size: 18pt;"><font style="background-color: rgb(153, 220, 255);" color="#000000">position : 위치</font></span></span></p><p>&nbsp;</p><p><span style="font-family: 나눔고딕,돋움; font-size: 18pt;"><span style="font-size: 18pt;">position은 컨텐츠의 위치를 지정하기 </span>위해서 사용을 함.</span></p><p>&nbsp;</p><p><span style="font-family: 나눔고딕,돋움; font-size: 18pt;">margin으로도 컨텐츠의 위치를 지정할 수가 있다.</span></p><p><span style="font-family: 나눔고딕,돋움; font-size: 18pt;">그런데 position을 사용하는 경우가 있는데 그것은 바로....</span></p><p><span style="font-family: 나눔고딕,돋움; font-size: 18pt;">일정방향으로 배치(열)되지 않고 이탈되어 특정위치에 </span></p><p><span style="font-family: 나눔고딕,돋움; font-size: 18pt;">배치될 때는 position을 사용한다</span></p><p>&nbsp;</p><p><span style="font-family: 나눔고딕,돋움; font-size: 18pt;">이때 특정기준점에서 거리를 재서 left값과 top값을 지정하게 된다</span></p><p><span style="font-family: 나눔고딕,돋움; font-size: 18pt;">position:absolute;(절대위치.특정기준점에서 측정된)</span></p><p><span style="font-family: 나눔고딕,돋움; font-size: 18pt;">left:값;</span></p><p><span style="font-family: 나눔고딕,돋움; font-size: 18pt;">top:값;</span></p><p>&nbsp;</p><p><span style="font-family: 나눔고딕,돋움; font-size: 18pt;">그리고 특정기준점역활을 할 대상(바로 위)에는</span></p><p><span style="font-family: 나눔고딕,돋움; font-size: 18pt;">position:relative; 선언해주면 된다.</span></p><p>&nbsp;</p><p><span style="font-family: 나눔고딕,돋움; font-size: 18pt;">또한 position으로 위치지정한 대상은 다른 대상에게 영향을 안주고 안받는다.</span></p><p><span style="font-family: 나눔고딕,돋움; font-size: 18pt;">margin으로 처리한 대상들은 서로의 간격을 밀어서 위치가 변동이</span></p><p><span style="font-family: 나눔고딕,돋움; font-size: 18pt;">되는데 반해서...</span></p></div>]]></content>
						
	</entry>
</feed> 
