<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>SEO Teknikleri ve Google SEO Makaleleri &#187; CSS Makaleleri</title>
	<atom:link href="http://www.sanalbilisim.net/seo/kategori/css-makaleleri/feed" rel="self" type="application/rss+xml" />
	<link>http://www.sanalbilisim.net/seo</link>
	<description></description>
	<lastBuildDate>Tue, 29 Jun 2010 18:35:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>A CSS styled table</title>
		<link>http://www.sanalbilisim.net/seo/css-makaleleri/a-css-styled-table.html</link>
		<comments>http://www.sanalbilisim.net/seo/css-makaleleri/a-css-styled-table.html#comments</comments>
		<pubDate>Mon, 17 Nov 2008 02:56:17 +0000</pubDate>
		<dc:creator>teori</dc:creator>
				<category><![CDATA[CSS Makaleleri]]></category>
		<category><![CDATA[A CSS styled table]]></category>
		<category><![CDATA[En iyi css makelesi]]></category>

		<guid isPermaLink="false">http://www.sanalbilisim.net/?p=394</guid>
		<description><![CDATA[Further to my article about the creation of a CSS calendar the thought crossed my mind to show you an example on how you can style a table using CSS. The data of tables can be boring so all the more reason that we need to attract attention to it and make it as pleasant [...]]]></description>
			<content:encoded><![CDATA[<p>Further to my article about the creation of a <a href="http://veerle.duoh.com/comments.php?id=312_0_2_0_C15">CSS calendar</a> the thought crossed my mind to show you an example on how you can <strong>style a table using CSS</strong>. The data of tables can be boring so all the more reason that we need to attract attention to it and make it as pleasant to read as possible. Presentation and design with <a href="http://www.456bereastreet.com/archive/200410/bring_on_the_tables/">some basic accessibility rules</a> in mind is the way to go.<span id="more-394"></span></p>
<p><img class="image" title="A CSS styled table" src="http://veerle.duoh.com/images/uploads/table_detail.gif" alt="A CSS styled table" width="450" height="120" /></p>
<p><strong>Advantages</strong><br />
Styling a table with CSS has mayor advantages since it separates the structural markup from presentation formatting. It offers extra flexibility on the way you present your table. You have the freedom to style each side of a table cell separately, isn&#8217;t that cool.</p>
<p>&lt;<strong>Getting started</strong><br />
First I create a simple draft in Photoshop. I experiment by trying out some color combinations, bullets, colors for the alternating rows etc. If you can&#8217;t decide on colors, then maybe <a href="http://veerle.duoh.com/comments.php?id=108_0_2_20_C8">these color calculators</a> can help you out.</p>
<p>In the next step I export these <strong>3 image files to style the background of the headers</strong>:</p>
<ul>
<li><a href="http://www.duoh.com/csstutorials/csstables/images/bg_header.jpg">bg_header.jpg</a></li>
<li><a href="http://www.duoh.com/csstutorials/csstables/images/bullet1.gif">bullet1.gif</a></li>
<li><a href="http://www.duoh.com/csstutorials/csstables/images/bullet2.gif">bullet2.gif</a></li>
</ul>
<p><strong>The structural markup</strong><br />
The coding in BBEdit is pretty simple. Here is some part of it:</p>
<pre>&lt;table id="mytable" cellspacing="0" summary="The technical
specifications of the Apple PowerMac G5 series"&gt;
&lt;caption&gt;Table 1: Power Mac G5 tech specs &lt;/caption&gt;
&lt;tr&gt;
  &lt;th scope="col" abbr="Configurations" class="nobg"&gt;Configurations&lt;/th&gt;
  &lt;th scope="col" abbr="Dual 1.8GHz"&gt;Dual 1.8GHz&lt;/th&gt;
  &lt;th scope="col" abbr="Dual 2GHz"&gt;Dual 2GHz&lt;/th&gt;
  &lt;th scope="col" abbr="Dual 2.5GHz"&gt;Dual 2GHz&lt;/th&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;th scope="row" class="spec"&gt;Model&lt;/th&gt;
  &lt;td&gt;M9454LL/A&lt;/td&gt;
  &lt;td&gt;M9455LL/A&lt;/td&gt;
  &lt;td&gt;M9457LL/A&lt;/td&gt;
&lt;/tr&gt;
...</pre>
<p>As you can see I&#8217;ve used the scope attribute to make sure that a my table makes sense in non-visual browsers. This attribute defines whether the header cell holds header information for a column (scope=&#8221;col&#8221;) or a row (scope=&#8221;row&#8221;).</p>
<p><strong>The CSS styles</strong><br />
For the headers at the top I&#8217;ve used a background image to make them extra visible, except for the one on the left. For this one I created a class (.nobg I have the habit to always use &#8216;bg&#8217; as an abbreviation of &#8216;background&#8217;). Here is how the CSS code looks:</p>
<pre>th {
	font: bold 11px "Trebuchet MS", Verdana, Arial, Helvetica,
	sans-serif;
	color: #6D929B;
	border-right: 1px solid #C1DAD7;
	border-bottom: 1px solid #C1DAD7;
	border-top: 1px solid #C1DAD7;
	letter-spacing: 2px;
	text-transform: uppercase;
	text-align: left;
	padding: 6px 6px 6px 12px;
	background: #CAE8EA url(images/bg_header.jpg) no-repeat;
}

th.nobg {
	border-top: 0;
	border-left: 0;
	border-right: 1px solid #C1DAD7;
	background: none;
}</pre>
<p>The headers on the left that appear as rows (the specification headers) have alternating styles:</p>
<pre>th.spec {
	border-left: 1px solid #C1DAD7;
	border-top: 0;
	background: #fff url(images/bullet1.gif) no-repeat;
	font: bold 10px "Trebuchet MS", Verdana, Arial, Helvetica,
	sans-serif;
}

th.specalt {
	border-left: 1px solid #C1DAD7;
	border-top: 0;
	background: #f5fafa url(images/bullet2.gif) no-repeat;
	font: bold 10px "Trebuchet MS", Verdana, Arial, Helvetica,
	sans-serif;
	color: #B4AA9D;
}</pre>
<p>The table cells that hold the <a href="http://www.apple.com/powermac/specs.html">technical specifications of each Power Mac G5</a> also have alternating styles:</p>
<pre>td {
	border-right: 1px solid #C1DAD7;
	border-bottom: 1px solid #C1DAD7;
	background: #fff;
	padding: 6px 6px 6px 12px;
	color: #6D929B;
}

td.alt {
	background: #F5FAFA;
	color: #B4AA9D;
}</pre>
<p><a title="http://veerle.duoh.com/index.php/blog/comments/a_css_styled_table/" href="http://veerle.duoh.com/index.php/blog/comments/a_css_styled_table/" target="_blank">http://veerle.duoh.com/index.php/blog/comments/a_css_styled_table/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sanalbilisim.net/seo/css-makaleleri/a-css-styled-table.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Turning a list into a navigation bar</title>
		<link>http://www.sanalbilisim.net/seo/css-makaleleri/turning-a-list-into-a-navigation-bar.html</link>
		<comments>http://www.sanalbilisim.net/seo/css-makaleleri/turning-a-list-into-a-navigation-bar.html#comments</comments>
		<pubDate>Mon, 17 Nov 2008 02:47:11 +0000</pubDate>
		<dc:creator>teori</dc:creator>
				<category><![CDATA[CSS Makaleleri]]></category>
		<category><![CDATA[En iyi css makelesi]]></category>
		<category><![CDATA[Turning a list into a navigation bar]]></category>

		<guid isPermaLink="false">http://www.sanalbilisim.net/?p=389</guid>
		<description><![CDATA[Turning a list into a navigation bar I’ve received a couple of requests for a description of how I created the navigation bar that is currently used on this site. The CSS used isn’t all that advanced, and I hadn’t really thought about describing it in detail, but after being asked about it I decided [...]]]></description>
			<content:encoded><![CDATA[<p>Turning a list into a navigation bar<br />
I’ve received a couple of requests for a description of how I created the navigation bar that is currently used on this site. The CSS used isn’t all that advanced, and I hadn’t really thought about describing it in detail, but after being asked about it I decided to do a write-up.<span id="more-389"></span></p>
<p>I’ve cleaned up the HTML and CSS slightly, so if you compare this to what is actually used on the site there will be some small differences. In case I have redesigned by the time you read this, check out <a href="http://www.456bereastreet.com/lab/ul_navbar/step11/">the finished example</a> to see what the menu looked like at the time of this writing.<br />
The HTML<br />
The markup is very simple. It’s an unordered list, with each link in a separate list item:</p>
<ol class="code">
<li><code>&lt;ul id="nav"&gt;</code></li>
<li class="tab1"><code>&lt;li id="nav-home"&gt;&lt;a href="#"&gt;Home&lt;/a&gt;&lt;/li&gt;</code></li>
<li class="tab1"><code>&lt;li id="nav-about"&gt;&lt;a href="#"&gt;About&lt;/a&gt;&lt;/li&gt;</code></li>
<li class="tab1"><code>&lt;li id="nav-archive"&gt;&lt;a href="#"&gt;Archive&lt;/a&gt;&lt;/li&gt;</code></li>
<li class="tab1"><code>&lt;li id="nav-lab"&gt;&lt;a href="#"&gt;Lab&lt;/a&gt;&lt;/li&gt;</code></li>
<li class="tab1"><code>&lt;li id="nav-reviews"&gt;&lt;a href="#"&gt;Reviews&lt;/a&gt;&lt;/li&gt;</code></li>
<li class="tab1"><code>&lt;li id="nav-contact"&gt;&lt;a href="#"&gt;Contact&lt;/a&gt;&lt;/li&gt;</code></li>
<li><code>&lt;/ul&gt;</code></li>
</ol>
<p><a href="http://www.456bereastreet.com/lab/ul_navbar/step01/">View Step 1</a>.</p>
<p>Why use a list? Because a navigation bar, or menu, is a list of links. The best (most semantic) way of marking up a list of links is to use a list element. Using a list also has the benefit of providing structure even if CSS is disabled.</p>
<p>At this stage, with no CSS applied, the list will look like any old (normally bulleted) list, styled only by the browser’s defaults.</p>
<p>I’ve given <code>id</code> attributes to the <code>ul</code> and <code>li</code> elements. The <code>id</code> attribute for the <code>ul</code> element is used by the CSS rules that style the entire list. The <code>li</code> elements have different <code>id</code> values to enable the use of CSS to highlight the currently selected link. This is done by specifying an <code>id</code> for the <code>body</code> element. More on that later.</p>
<h2>The CSS</h2>
<p>I’ll describe the CSS I’ve used to style the list in a step-by-step fashion.</p>
<p>First of all, I set the margins and padding of the list and list items to zero, and tell the list items to be displayed inline:</p>
<ol class="code">
<li><code>#nav {</code></li>
<li class="tab1"><code>margin:0;</code></li>
<li class="tab1"><code>padding:0;</code></li>
<li><code>}</code></li>
<li><code>#nav li {</code></li>
<li class="tab1"><code>display:inline;</code></li>
<li class="tab1"><code>padding:0;</code></li>
<li class="tab1"><code>margin:0;</code></li>
<li><code>}</code></li>
</ol>
<p><a href="http://www.456bereastreet.com/lab/ul_navbar/step02/">View Step 2</a></p>
<p>This will make all the links display one after another on the same line, as if the list wasn’t there. It will also remove the list bullets, since they are only displayed when <code>display:list-item</code> (the default display mode for list items) is used. Some browsers are said to incorrectly display the list bullets even though <code>display:inline</code> has been applied to the list items. I haven’t seen this happen in any of the browsers I tested in, but if you want to make sure that no browsers display list bullets, you can add <code>list-style-type:none</code> to the rule for <code>#nav</code>.</p>
<p>Next, it’s time to start styling the menu tabs. I do this by adding styles to the links, not to the list items. The reason for that is that I want the entire area of each tab to be clickable. First a bit of colour to make the changes more obvious:</p>
<ol class="code">
<li><code>#nav a:link,</code></li>
<li><code>#nav a:visited {</code></li>
<li class="tab1"><code>color:#000;</code></li>
<li class="tab1"><code>background:#b2b580;</code></li>
<li><code>}</code></li>
</ol>
<p><a href="http://www.456bereastreet.com/lab/ul_navbar/step03/">View Step 3</a>.</p>
<p>Note that I’m styling the normal and visited states of the links to look the same. the next step is to add a bit of padding to the links:</p>
<ol class="code">
<li><code>#nav a:link,</code></li>
<li><code>#nav a:visited {</code></li>
<li class="tab1"><code>color:#000;</code></li>
<li class="tab1"><code>background:#b2b580;</code></li>
<li class="tab1 changed"><code>padding:20px 40px 4px 10px;</code></li>
<li><code>}</code></li>
</ol>
<p><a href="http://www.456bereastreet.com/lab/ul_navbar/step04/">View Step 4</a>.</p>
<p>That’s a bit better. But there is a potential problem that isn’t visible here. Since the links are inline elements, their vertical padding will not add to their line height. It’s easier to see this if the <code>ul</code> element has a background, so I’ll add a background colour and a background image:</p>
<ol class="code">
<li><code>#nav {</code></li>
<li class="tab1"><code>margin:0;</code></li>
<li class="tab1"><code>padding:0;</code></li>
<li class="tab1 changed"><code>background:#808259 url(nav_bg.jpg) 0 0 repeat-x;</code></li>
<li><code>}</code></li>
</ol>
<p><a href="http://www.456bereastreet.com/lab/ul_navbar/step05/">View Step 5</a>.</p>
<p>Oops. Now the links are sticking out of the list element. To fix this, I’ve turned the links into block boxes by floating them to the left. I’ve also set their width to <code>auto</code>, to make them shrink to fit their content:</p>
<ol class="code">
<li><code>#nav a:link,</code></li>
<li><code>#nav a:visited {</code></li>
<li class="tab1"><code>color:#000;</code></li>
<li class="tab1"><code>background:#b2b580;</code></li>
<li class="tab1"><code>padding:20px 40px 4px 10px;</code></li>
<li class="tab1 changed"><code>float:left;</code></li>
<li class="tab1 changed"><code>width:auto;</code></li>
<li><code>}</code></li>
</ol>
<p><a href="http://www.456bereastreet.com/lab/ul_navbar/step06/">View Step 6</a>.</p>
<p>Adding <code>display:block</code> to the CSS rule for the links would also have made them block boxes, but since a floated element automatically generates a block box, that isn’t necessary.</p>
<p>As you may have noticed, the background disappeared when the links were floated. That’s because floated elements are taken out of the document flow, which causes the <code>ul</code> element containing them to have zero height. Thus, the background is there, but it isn’t visible. To make the <code>ul</code> enclose the links, I’ve floated that too. I’ve also set its width to 100%, making it span the whole window (except for the padding I’ve given the <code>body</code> element in this example):</p>
<ol class="code">
<li><code>#nav {</code></li>
<li class="tab1"><code>margin:0;</code></li>
<li class="tab1"><code>padding:0;</code></li>
<li class="tab1"><code>background:#808259 url(nav_bg.jpg) 0 0 repeat-x;</code></li>
<li class="tab1 changed"><code>float:left;</code></li>
<li class="tab1 changed"><code>width:100%;</code></li>
<li><code>}</code></li>
</ol>
<p><a href="http://www.456bereastreet.com/lab/ul_navbar/step07/">View Step 7</a>.</p>
<p>To visually separate the links from each other, I’ve added a right border to the links. Then, to give the first link a left border as well, I’ve used a <code>:first-child</code> pseudo-class to apply a rule only to the link in the very first list item. I’ve also added top and bottom borders to the <code>ul</code> element:</p>
<ol class="code">
<li><code>#nav {</code></li>
<li class="tab1"><code>margin:0;</code></li>
<li class="tab1"><code>padding:0;</code></li>
<li class="tab1"><code>background:#808259 url(nav_bg.jpg) 0 0 repeat-x;</code></li>
<li class="tab1"><code>float:left;</code></li>
<li class="tab1"><code>width:100%;</code></li>
<li class="tab1 changed"><code>border:1px solid #42432d;</code></li>
<li class="tab1 changed"><code>border-width:1px 0;</code></li>
<li><code>}</code></li>
<li><code>#nav a:link,</code></li>
<li><code>#nav a:visited {</code></li>
<li class="tab1"><code>color:#000;</code></li>
<li class="tab1"><code>background:#b2b580;</code></li>
<li class="tab1"><code>padding:20px 40px 4px 10px;</code></li>
<li class="tab1"><code>float:left;</code></li>
<li class="tab1"><code>width:auto;</code></li>
<li class="tab1 changed"><code>border-right:1px solid #42432d;</code></li>
<li><code>}</code></li>
<li class="changed"><code>#nav li:first-child a {</code></li>
<li class="tab1 changed"><code>border-left:1px solid #42432d;</code></li>
<li class="changed"><code>}</code></li>
</ol>
<p>The <code>:first-child</code> pseudo-class is not recognised by Internet Explorer for Windows, so the first link won’t have a left border in that browser. In this case, that isn’t a major problem, so I’ve left it like that. If it’s really important to you, you’ll need to add a class to the first list item (or the link in it), and then use that to give the link a left border.</p>
<p><a href="http://www.456bereastreet.com/lab/ul_navbar/step08/">View Step 8</a>.</p>
<p>Next I’ve changed the way the link text is displayed by removing the underlining, making the text bold, specifying font size, line-height, and a different font family, making the text uppercase, and adding a little bit of drop shadow. The drop shadow is created with the <code>text-shadow</code> property, a CSS3 property that is currently only supported by Safari and OmniWeb:</p>
<ol class="code">
<li><code>#nav a:link,</code></li>
<li><code>#nav a:visited {</code></li>
<li class="tab1"><code>color:#000;</code></li>
<li class="tab1"><code>background:#b2b580;</code></li>
<li class="tab1"><code>padding:20px 40px 4px 10px;</code></li>
<li class="tab1"><code>float:left;</code></li>
<li class="tab1"><code>width:auto;</code></li>
<li class="tab1"><code>border-right:1px solid #42432d;</code></li>
<li class="tab1 changed"><code>text-decoration:none;</code></li>
<li class="tab1 changed"><code>font:bold 1em/1em Arial, Helvetica, sans-serif;</code></li>
<li class="tab1 changed"><code>text-transform:uppercase;</code></li>
<li class="tab1 changed"><code>text-shadow: 2px 2px 2px #555;</code></li>
<li><code>}</code></li>
</ol>
<p><a href="http://www.456bereastreet.com/lab/ul_navbar/step09/">View Step 9</a>.</p>
<p>To give some visual feedback when the links are hovered over, I’ve given their <code>:hover</code> state different text and background colours:</p>
<ol class="code">
<li><code>#nav a:hover {</code></li>
<li class="tab1"><code>color:#fff;</code></li>
<li class="tab1"><code>background:#727454;</code></li>
<li><code>}</code></li>
</ol>
<p><a href="http://www.456bereastreet.com/lab/ul_navbar/step10/">View Step 10</a>.</p>
<p>In the final step, I’ve added rules that will make the selected link look different than the others, to show visitors where they are on the site.</p>
<p>In case you haven’t seen an example of specifying an <code>id</code> attribute for the <code>body</code> element to style the “current” navigation tab differently before, that’s what the first two rules do. In the examples linked to from this article, I’ve set <code>id</code> of the <code>body</code> element to “<code>home</code>”, which makes the “Home” tab the current one. Changing it to “<code>about</code>” would make the “About” tab the current one, and so on.</p>
<p>I’ve also made the selected link stay the same when it’s hovered over. It can be argued that the current menu item should not be a link at all. In this case, I’ve chosen to leave the link in the markup and use CSS to remove the visual feedback on hover.</p>
<p>To give some visual feedback when you click on one of the links, I’ve given the <code>:active</code> state of the links the same styling as the selected link:</p>
<ol class="code">
<li><code>#home #nav-home a,</code></li>
<li><code>#about #nav-about a,</code></li>
<li><code>#archive #nav-archive a,</code></li>
<li><code>#lab #nav-lab a,</code></li>
<li><code>#reviews #nav-reviews a,</code></li>
<li><code>#contact #nav-contact a {</code></li>
<li class="tab1"><code>background:#e35a00;</code></li>
<li class="tab1"><code>color:#fff;</code></li>
<li class="tab1"><code>text-shadow:none;</code></li>
<li><code>}</code></li>
<li><code>#home #nav-home a:hover,</code></li>
<li><code>#about #nav-about a:hover,</code></li>
<li><code>#archive #nav-archive a:hover,</code></li>
<li><code>#lab #nav-lab a:hover,</code></li>
<li><code>#reviews #nav-reviews a:hover,</code></li>
<li><code>#contact #nav-contact a:hover {</code></li>
<li class="tab1"><code>background:#e35a00;</code></li>
<li><code>}</code></li>
<li><code>#nav a:active {</code></li>
<li class="tab1"><code>background:#e35a00;</code></li>
<li class="tab1"><code>color:#fff;</code></li>
<li><code>}</code></li>
</ol>
<p><a href="http://www.456bereastreet.com/lab/ul_navbar/step11/">View Step 11</a>, the finished navigation menu.</p>
<p>That’s it. This step-by-step tutorial makes the whole thing look more advanced than it really is. View source on the final example to see the complete set of CSS rules. By the way, with a couple of small exceptions (the left border on the first link, and the text shadow), this works in just about any browser, even Internet Explorer (version 5 or newer).</p>
<p>I hope you’ve been able to follow along well enough to be able to create your own navigation menu. The styling possibilities are almost endless.</p>
<p>kaynak: <a href="http://www.456bereastreet.com/archive/200501/turning_a_list_into_a_navigation_bar/">http://www.456bereastreet.com/archive/200501/turning_a_list_into_a_navigation_bar/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sanalbilisim.net/seo/css-makaleleri/turning-a-list-into-a-navigation-bar.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How To Clear Floats Without Structural Markup</title>
		<link>http://www.sanalbilisim.net/seo/css-makaleleri/how-to-clear-floats-without-structural-markup.html</link>
		<comments>http://www.sanalbilisim.net/seo/css-makaleleri/how-to-clear-floats-without-structural-markup.html#comments</comments>
		<pubDate>Mon, 17 Nov 2008 02:42:35 +0000</pubDate>
		<dc:creator>teori</dc:creator>
				<category><![CDATA[CSS Makaleleri]]></category>
		<category><![CDATA[En iyi css makalesi]]></category>
		<category><![CDATA[How To Clear]]></category>
		<category><![CDATA[Markup]]></category>

		<guid isPermaLink="false">http://www.sanalbilisim.net/?p=386</guid>
		<description><![CDATA[Clearing Floats The Old Fashioned Way When a float is contained within a container box that has a visible border or background, that float does not automatically force the container&#8217;s bottom edge down as the float is made taller. Instead the float is ignored by the container and will hang down out of the container [...]]]></description>
			<content:encoded><![CDATA[<p>Clearing Floats The Old Fashioned Way<br />
When a float is contained within a container box that has a visible border or background, that float does <em>not</em> automatically force the container&#8217;s bottom edge down as the float is made taller. Instead the float is ignored by the container and will hang down out of the container bottom like a flag. Those familiar only with Explorer for Windows may scratch their heads and say &#8220;That&#8217;s not right!&#8221; True, IE/Win does enclose a float within a container &#8216;automatically&#8217;, but only if the container element happens to possess the MS-only quality called <a href="http://www.satzansatz.de/cssd/onhavinglayout.html">hasLayout</a>.<span id="more-386"></span></p>
<p>This float-enclosing behavior in IE can also  be &#8216;toggled&#8217; off again just by hovering of links within the container, if that hovering alters either the link background or one of several other CSS properties. Quite a mess, and we&#8217;ll cover it farther along in the article, in the &#8220;Toggle Trouble&#8221; section.</p>
<p>The W3C suggests placing a &#8220;cleared&#8221; element last in the container box, which is then recognized by the container height, forcing the container to enclose the float above that cleared element too. It&#8217;s described more fully our article <a href="http://www.positioniseverything.net/articles/float-theory.html">Float: The Theory</a>:</p>
<blockquote><p>“..let&#8217;s say you give that following box the clear property, <span class="red"> {clear: both;} </span>. What this does is extend the margin on the top of the cleared box, pushing it down until it &#8220;clears&#8221; the bottom of the float. In other words, the top margin on the cleared box (no matter what it may have been set to), is increased <strong>by the browser</strong>, to whatever length is necessary to keep the cleared box below the float.”</p></blockquote>
<p>So in effect, such a cleared box cannot be at the same horizontal level as a preceding float. It must appear just below that level. The image shows how this might look, with a red border representing the container element:</p>
<div style="margin: 20px 0pt; text-align: center;"><img src="http://www.positioniseverything.net/articles/images/clear-box.gif" alt="Shows how a box may clear below a float." width="450" height="248" /></div>
<p>The standard method of making an outer container <em>appear</em> to &#8220;enclose&#8221; a nested float is to place a <strong>complete &#8220;cleared&#8221; element</strong> last in the container, which has the effect of &#8216;dragging&#8217; the lower edge of the containing box lower than the float. Thus the float appears to be enclosed within the container even tho it really isn&#8217;t. The code for a cleared box usually looks something like this:</p>
<pre>&lt;div&gt; &lt;!-- float container --&gt;

  &lt;div style="float:left; width:30%;"&gt;&lt;p&gt;Some content&lt;/p&gt;&lt;/div&gt;

  &lt;p&gt;Text not inside the float&lt;/p&gt;

&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;/div&gt;</pre>
<p>Since that div is not floated, the container must recognize it and enclose it, and because of that top margin (added by the browser because of the &#8220;clear&#8221; property), the div &#8220;pulls&#8221; the bottom edge of the container down below the bottom edge of the float.</p>
<h2>Problems With The Method</h2>
<p>First and foremost, this clearing method is not at all intuitive, requiring an extra element be added to the markup. One of the major premises of CSS is that it helps reduce the bloated HTML markup found it the average site these days. So having to re-bloat the markup just so floats can be kept within their containers is not an ideal arrangement.</p>
<p>Besides that, some browsers can have trouble with certain kinds of clearing elements in some situations. Mozilla is particularly sensitive to clearing problems.</p>
<p>Up &#8217;til now there was no other way to do this, but no more! Thanks to the efforts of <strong>Tony Aslett</strong>, creator and operator of <a href="http://www.csscreator.com/"><strong>csscreator.com</strong></a>, we can now use advanced CSS to &#8220;clear&#8221; a float container in non-IE browsers and just let IE keep wrongly clearing itself. The upshot is that we now have the option to avoid adding that pesky clearing element to the HTML markup. Woohoo!</p>
<h2>&#8220;Clearing&#8221;, 21st Century Style</h2>
<p>In the new method, <em>no clearing element is used</em>. This does not affect IE/Win which simply keeps enclosing the float as always (assuming the container has a stated dimension), but non-IE browsers will need a substitute for that element. Here&#8217;s how it&#8217;s done.</p>
<h3>Using :after</h3>
<p>This <a href="http://www.w3.org/TR/REC-CSS2/generate.html#x5">CSS 2 property</a> allows extra content to be added at the end of an element via the CSS. That means no actual markup is needed in the HTML. The content is specified from within the CSS stylesheet, and appears in the page as would a real HTML element that had been inserted following all the normal content of the target element. Such <strong>:after</strong> generated content cannot receive some CSS properties, including &#8216;position&#8217;, &#8216;float&#8217;, list properties, and table properties. However, the &#8216;clear&#8217; property <em>is</em> allowed. Do you see where we are going here?</p>
<p>Imagine that we use <strong>:after</strong> to insert a simple character like a &#8216;period&#8217;, and then give that generated element <span class="red"> {clear: both;} </span>. That&#8217;s all you really need to do the job, but no one wants a line space messing up the end of their clean container box, so we also use <span class="red"> {height: 0;} </span> and <span class="red"> {visibility: hidden;} </span> to keep our period from showing.</p>
<pre>.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}</pre>
<p>Notice that <span class="red"> {display: block;} </span> is also applied to the :after element, because if it isn&#8217;t then that element defaults to &#8220;inline&#8221;, and cannot receive the &#8220;clear&#8221; property. Also, Tony&#8217;s method originally used &#8220;overflow: hidden;&#8221; to hide the period, but sadly the latest FireFox versions will display the period if this is done.</p>
<h3>But what about IE?</h3>
<p>Since IE7 does not support the :after pseudoclass yet, we must rely on the same&#8221;auto-clearing&#8221; effect used for IE6, and that behavior happens when the float-containing element gets <strong>hasLayout</strong> applied to it. A simple declaration of &#8220;zoom: 1;&#8221; will perform this trick in IE5.5 and up, but it&#8217;s proprietary and needs to be <a href="http://www.positioniseverything.net/articles/haslayout.html"><strong>hidden</strong></a> in order to validate.</p>
<p>As a side benefit, hasLayout on float-enclosing elements also prevents several other major IE/Win float bugs. However, should this container box be placed following a previous <em>external</em> float, the IE height fix will trigger Microsoft&#8217;s proprietary and illegal <a href="http://www.positioniseverything.net/articles/float-bugs-1.html">Float Model</a>, so watch out for that, okay?</p>
<h3>Toggle Trouble</h3>
<p>It so happens that IE has, well, a <em>little problem</em> with this auto-enclosing behavior. You saw that coming, didn&#8217;t you. Yes, IE bugs come in big bunches. This one results when that container element has links inside, following the float. When this happens and certain links are hovered, the auto-enclosing behavior is toggled or &#8220;switched off&#8221;, causing the lower edge of the container box to suddenly jump up to the bottom of the non-floated content. Hovering other links restores the behavior. This interesting effect is of course called the <strong>IE/Win Guillotine Bug</strong> Those of you viewing in IE/Win may play around with the following live demos, and for a more complete explanation see the <a href="http://www.positioniseverything.net/explorer/guillotine.html">IE/Win Guillotine Bug</a> demo page .</p>
<p>The toggling only occurs when <strong>a:hover</strong> is used to change the <strong>link background</strong> or many other styling changes, such as <strong>padding</strong>, <strong>margin</strong>, or any <strong>font</strong> styling on the link. Strangely, having the <strong>text color</strong> change on hover does <em>not</em> toggle the bug.</p>
<p>The containers are grey with green borders, and the floats are dark brown with yellow borders. Notice how the third and fourth links ouside the floats toggle the Guillotine Bug, and the first two un-toggle it. This seems to be related to the actual text lines themselves, so any links after the first two lines will toggle the effect. Links in the float will all un-toggle the effect. Just more weird IE bug behaviors, folks, nothing &#8220;unusual&#8221;.<br />
<a href="http://www.positioniseverything.net/images/guillotine.gif">Screenshot</a></p>
<div style="padding: 10px 10% 20px 22%;">
<div class="guillotine-box">
<div class="guillotine-float"><a href="http://www.positioniseverything.net/easyclearing.html#">Float Link</a><br />
Any link in this float will restore the cutoff portion, as will the links in the first two text lines outside the float. Something makes those first two lines &#8220;special&#8221;.</div>
<p><a href="http://www.positioniseverything.net/easyclearing.html#">Link</a><br />
<a href="http://www.positioniseverything.net/easyclearing.html#">Link</a><br />
<a href="http://www.positioniseverything.net/easyclearing.html#">Link</a><br />
<a href="http://www.positioniseverything.net/easyclearing.html#">Link</a></div>
<div class="guillotine-box">
<div class="guillotine-float"><a href="http://www.positioniseverything.net/easyclearing.html#">Float Link</a><br />
The non-floated links to the left are wrapped in a paragraph, and that paragraph has the Holly hack value applied to it. Say &#8220;buh-bye&#8221; to the Guillotine Bug!</div>
<p class="clearfix" style="margin: 0pt;"><a href="http://www.positioniseverything.net/easyclearing.html#">Link</a><br />
<a href="http://www.positioniseverything.net/easyclearing.html#">Link</a><br />
<a href="http://www.positioniseverything.net/easyclearing.html#">Link</a><br />
<a href="http://www.positioniseverything.net/easyclearing.html#">Link</a></p>
</div>
</div>
<p>The second demo has been &#8220;fixed&#8221; by placing those links in a paragraph, which then gets the zoom fix applied to it. Any block element will do just as well here. Yes, this means another element is needed, but unlike a clearing div, this paragraph is a &#8220;semantic&#8221; element. Text content really ought to be wrapped in semantic containers anyway, and since we forward-thinking coders always have our content thusly contained, it&#8217;s easy to apply the same .clearfix class to one more element.</p>
<h3>A Word About Floats In Floats</h3>
<p>Observant readers will have noticed that the above demos have &#8220;enclosed&#8221; floats, even in Opera 7 and Mozilla! This is because the demos themselves are floats, and all modern browsers (including IE, luckily) always let floats enclose other floats. Of course there has to be an outer float, and it still threatens to break out of <em>its</em> container&#8230;</p>
<h2>Putting It Together</h2>
<p>First, this code gets added to the CSS stylesheet:</p>
<pre>&lt;style type="text/css"&gt;

  .clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
    }

&lt;/style&gt;&lt;!-- main stylesheet ends, CC with new stylesheet below... --&gt;

&lt;!--[if IE]&gt;
&lt;style type="text/css"&gt;
  .clearfix {
    zoom: 1;     /* triggers hasLayout */
    }  /* Only IE can see inside the conditional comment
    and read this CSS rule. Don't ever use a normal HTML
    comment inside the CC or it will close prematurely. */
&lt;/style&gt;
&lt;![endif]--&gt;</pre>
<p style="margin-bottom: 20px;">For the HTML, just add a class of <span class="red">.clearfix</span> to any element containing a float needing to be cleared, plus any Guillotine-Bug-fixing block elements within the container. That&#8217;s it! It&#8217;s not perfect, but it&#8217;s a whole lot better than adding an entire extra &#8216;dummy&#8217; element. Check out this live demo of the fix in action:</p>
<div style="margin: 0pt 20%; height: 1%;"><!-- NOTE: This div wrapper prevents IE/Win in quirks mode from using BODY as the base for measuring the % width on .floatholder. This wrapper must be dimensionally defined before IE<6 will use it as the percentage base. --></p>
<div class="floatholder">
<div class="floatbox">
<p>This float is not enclosed by the surrounding div container.</p></div>
<p>This container lacks the fix.</p></div>
<p><!-- Just a spacer div between the demos --></p>
<div class="clearfix floatholder" style="border: 4px solid #000000; margin: 10px 0pt 0pt; background: #ddcc88 none repeat scroll 0% 0%; font-size: 1.2em;"><!-- the "clearfix" classname MUST be the first class in the attribute for the JS to work! --></p>
<div class="floatbox">
<p>See how this float no longer protrudes out of the containing box, with no extra clearing element used in the container!</p></div>
<p>This float container has a class attribute of &#8220;clearfix&#8221;, which applies the :after fix, or the Holly hack, depending on the browser.</p></div>
</div>
<h3>IE/Mac Strikes Back</h3>
<p>All this is wonderful, but unfortunately IE for the Mac does not &#8220;auto-clear&#8221; floats, and also does not support <strong>:after</strong>, and so is left out of the clearing party. What&#8217;s to be done?</p>
<p>You might callously abandon IE/Mac, but consider that many people who use older Macs can&#8217;t run Safari, or several other modern browsers. Thankfully this browser has been dropped by Microsoft, and at some future time the numbers of such IE/Mac users will become miniscule. Remember that even if a float appears to stick out of a container, no content will actually be obscured. It just won&#8217;t look as pretty for those few viewers, that&#8217;s all. Each author will have to decide on this issue according to their specific needs.</p>
<p>This page once described a Javascript method to force compliance in IE/Mac, but now thanks to <a href="http://www.nolocation.com/"><strong>Mark Hadley</strong></a> and <a href="http://www.loungepenguin.co.uk/indexno.htm"><strong>Matt Keogh</strong></a> it&#8217;s now possible to dispense with that ugly Javascript and go with a straight CSS fix. Woohoo!</p>
<h3>Taming the IE/Mac Float Problem</h3>
<p>Basically the fix is just a matter of applying a <strong>display: inline-block;</strong> to the <strong>.clearfix</strong> class, and hiding that property from all other browsers. That&#8217;s it! We can easily do this with our existing code, slightly modified.</p>
<pre>&lt;style type="text/css"&gt;

  .clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
    }

<span style="color: #aa0000;">.clearfix {display: inline-block;}  /* for IE/Mac */</span>

&lt;/style&gt;&lt;!-- main stylesheet ends, CC with new stylesheet below... --&gt;

&lt;!--[if IE]&gt;
&lt;style type="text/css"&gt;
  .clearfix {
    zoom: 1;     /* triggers hasLayout */
    <span style="color: #aa0000;">display: block;     /* resets display for IE/Win */</span>
    }  /* Only IE can see inside the conditional comment
    and read this CSS rule. Don't ever use a normal HTML
    comment inside the CC or it will close prematurely. */
&lt;/style&gt;
&lt;![endif]--&gt;</pre>
<p>The <strong>.clearfix {display: inline-block;}</strong> is seen by all browsers, and fixes IE/Mac. Then, inside the rule set that is hidden from IE/Mac, the display is reset to <strong>block</strong>. That&#8217;s all she wrote! Simply stick the above code into your CSS, and use <strong>.clearfix</strong> on any box that has to contain a sizable float. Ain&#8217;t that cool? Just watch out for previous external floats triggering the <a href="http://www.positioniseverything.net/articles/float-bugs-1.html">IE Float Model</a>, as mentioned earlier.</p>
<p>Kudos to <a href="http://www.fu2k.org/alex/css/cssjunk/FloatInlineBlock.html">Alex Robinson</a> for finding that inline-block is superior to the older inline-table fix for IE/Mac.</p>
<h2>A Word Of Warning (this is important!)</h2>
<p>The W3C float specification requires that a cleared element shall stay below <em>all previous floats</em>. There are no exceptions to this requirement! &#8220;Previous&#8221; in this case means any float that comes earlier in the source document.</p>
<p>Up until November of 2004, Firefox was still incorrectly clearing only the floats that were vertically above the clearing element, rather than all previous floats. This meant that in those earlier Gecko browsers you could place a floated column down one side of the screen, and inside another column (possibly another floated column) you could clear a smaller interior float, <em>without that cleared element dropping below the previous floated column</em>. Since only Gecko had this problem, it was obvious that something was wrong every time this happened to a page. Normally Gecko is the good browser, but in this one case it was the culprit. See, IE is not <em>always</em> the bad guy!</p>
<p>However, this easy clearing method has muddled the issue quite a bit, since now Explorer is not actually being cleared at all, while Gecko browsers have finally been corrected so they do clear all previous floats.</p>
<p>&#8230;<em><strong>Oh no!</strong></em> Do you see what will now happen in our hypothetical float page? IE, seeing no real clearing elements, will look great. Meanwhile, in newer Gecko browsers and Opera 7, the CSS generated clearing element in the first easycleared box will drag the height of that box waaaay down the page, until that invisible clearer is vertically below the bottom of the previous float column (assuming there <em>is</em> a bottom!). This can &#8220;generate&#8221; a huge empty space inside that once-small easycleared box, depending on the actual height of the neighboring  float column.</p>
<p>Of course Opera 7 has always correctly implimented the clearing specs just like IE does (aside from bugs), and the Mac browsers are not involved either. If you are wondering how this issue can be fixed, well, it can&#8217;t. Gecko and Opera are now both following the float clearing specs correctly, and IE only fails because of the faked &#8220;clearing&#8221; we are forcing upon it.</p>
<h3>Preventing External Clearing</h3>
<p>If you have the above described problem, one way to prevent the clearer from clearing the adjacent float column is to make the container a float itself. Of course once you float the container you no longer need easyclearing, sigh&#8230;</p>
<p>Note that when all the main elements in a column setup are floats, the worst IE float bugs simply do not happen. Thus using an all-float approach to column design can actually be easier to accomplish, at least within a rigid-width layout.</p>
<h2>Them That Done It</h2>
<p><strong>Thanks</strong> to <strong>Tony Aslett</strong> for showing us the way. His site, <a href="http://www.csscreator.com/"><strong>csscreator.com</strong></a> is a killer CSS forum where newbies and gurus alike hang out and exchange CSS know-how. Tony&#8217;s original demo page for this method can be found <a href="http://www.csscreator.com/attributes/containedfloat.php">here</a>, and the relevant forum thread is <a href="http://www.csscreator.com/node/1667">here</a>.</p>
<p>Kudos also to <a href="http://dougsdvds.info/"><strong>Doug</strong></a> for pointing out the &#8220;period problem&#8221; in FireFox, and to <a href="http://www.nolocation.com/"><strong>Mark Hadley</strong></a> for that elegant IE/Mac fix, and to <a href="http://www.loungepenguin.co.uk/indexno.htm"><strong>Matt Keogh</strong></a> for showing how &#8220;inline-table&#8221; also fixes IE/Mac while using an already-approved CSS property. Once more the CSS community comes thru for us all!</p>
<p>kaynak: <a href="http://www.positioniseverything.net/easyclearing.html">http://www.positioniseverything.net/easyclearing.html</a> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.sanalbilisim.net/seo/css-makaleleri/how-to-clear-floats-without-structural-markup.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>CSS Nedir?</title>
		<link>http://www.sanalbilisim.net/seo/css-makaleleri/css-nedir.html</link>
		<comments>http://www.sanalbilisim.net/seo/css-makaleleri/css-nedir.html#comments</comments>
		<pubDate>Sun, 10 Aug 2008 02:01:52 +0000</pubDate>
		<dc:creator>teori</dc:creator>
				<category><![CDATA[CSS Makaleleri]]></category>
		<category><![CDATA[CSS Nedir?]]></category>
		<category><![CDATA[w3c]]></category>

		<guid isPermaLink="false">http://www.sanalbilisim.net/?p=175</guid>
		<description><![CDATA[İlk olarak 1995′de ortaya çıkan CSS, 1996 yılında W3C (Dünya Çapında Ağ Birliği)’ne kabul edildi. W3C’ye katılması demek bu kodlama biçiminin tüm tarayıcılar tarafından destekleneceği anlamına geliyordu. Bu tarihten itibaren W3C’ye üye olan tüm tarayıcı grupları CSS’nin yeni versiyonlar tarafından desteklenmesini kabul etmiştir. Nitekim Mayıs 1998′de gerekli güncellemeler yapılarak CSS 2′ye geçiş yapılmıştır. Ardından CSS [...]]]></description>
			<content:encoded><![CDATA[<h2 class="entry-title"><a title="Permalink to CSS Nedir?" rel="bookmark" href="http://www.ilyascanbay.com/css-hakkinda/css-nedir-11.html"><br />
</a></h2>
<p><img title="ilyas canbay" src="http://www.ilyascanbay.com/images/w3c.gif" alt="ilyas canbay" width="237" height="152" align="right" />İlk olarak 1995′de ortaya çıkan CSS, 1996 yılında W3C (Dünya Çapında Ağ Birliği)’ne kabul edildi. W3C’ye katılması demek bu kodlama biçiminin tüm tarayıcılar tarafından destekleneceği anlamına geliyordu. Bu tarihten itibaren W3C’ye üye olan tüm tarayıcı grupları CSS’nin yeni versiyonlar tarafından desteklenmesini kabul etmiştir. Nitekim Mayıs 1998′de gerekli güncellemeler yapılarak CSS 2′ye geçiş yapılmıştır. Ardından CSS 2.1 ile bazı özellikler yenilenmiştir.</p>
<p>Gelelim CSS’nin ne işe yaradığına… Web sayfalarının iki önemli öğesi sayfalarda yayınlanan bilgi ile stilin birbirine uyarlanmasıdır. Bu nedenle HTML ve CSS’nin birbiriyle uyumlu olarak çalışması ve sayfa stillerinin birkaç değişiklikle güncellenebilmesi bize kolaylık sağlayacaktır. Terim olarak CSS’nin İngilizce’deki açılımı “Cascading Style Sheets” dir. Adından da anlaşıldığı gibi içerisinde geçen “style” kelimesi sayfada yer alan bilgilerin belirli bir stil (tarz) ile sunulması olayıdır.</p>
<p>Kısaca CSS, HTML sayfaların stil olarak düzenlenmesinde bize kolaylık sağlar. Mesela web sitenizde yer alan tüm sayfalarda yazı tipini “verdana”, yazı tipi boyutunu da “10 punto” olarak ayarlamak istiyorsunuz. Bunu “style” dosyasında tek bir satırla halledebilirsiniz. CSS kullanmıyorsanız bu değişikliği bütün sayfalarda yapmak zorunda kalırsınız. İşte bu noktada CSS’nin çok önemli faydası vardır.</p>
<p>CSS’nin temel özellikleri nelerdir?</p>
<p>Style dosyasında yapacağınız birkaç değişiklikle web sitenizde yer alan tüm sayfaların yazı tipini, boyutunu, rengini, arka planını vb kolayca değiştirebilirsiniz.</p>
<p>CSS, temel olarak kullanımı kolay bir dile sahiptir. HTML’yi bilen herkes CSS’den istifade edebilir. Ayrıca HTML’de kullandığımız etiketlerin başında ve sonunda yer alan &lt; &#8211; &gt; gibi işaretleri kullanmamıza gerek yoktur. Bu nedenle yazımı gayet basit ve sadedir.</p>
<p>Diğer bir özellik de yazı tipi gibi özelliklerin “style” dosyası ile ayarlanmasıyla belirli HTML kodların diğer sayfalarda kullanılmasına gerek kalmamasıdır. Böylece sayfaların boyutundan tasarruf edebiliriz.</p>
<p>CSS’yi nasıl öğrenebilirim?</p>
<p>CSS’yi öğrenmek hiç de zor değil. Ancak CSS’ye başlarken bir parça HTML bilginizin olması gerekir. Çünkü CSS, HTML’nin kullanımını kolaylaştıran bir tür web yazılımıdır.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sanalbilisim.net/seo/css-makaleleri/css-nedir.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Stil Sayfasını HTML İçerisinde Çağırmak (CSS)</title>
		<link>http://www.sanalbilisim.net/seo/css-makaleleri/stil-sayfasini-html-icerisinde-cagirmak-css.html</link>
		<comments>http://www.sanalbilisim.net/seo/css-makaleleri/stil-sayfasini-html-icerisinde-cagirmak-css.html#comments</comments>
		<pubDate>Sun, 10 Aug 2008 02:00:07 +0000</pubDate>
		<dc:creator>teori</dc:creator>
				<category><![CDATA[CSS Makaleleri]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[External Style Sheets]]></category>
		<category><![CDATA[stil sayfası]]></category>
		<category><![CDATA[Stil Sayfasını HTML İçerisinde Çağırmak (CSS)]]></category>

		<guid isPermaLink="false">http://www.sanalbilisim.net/?p=173</guid>
		<description><![CDATA[Dış Stil Sayfası (External Style Sheets) Birden fazla sayfada tek tip stil kullamak için “style” dosyası oluşturmamız gerekir. Oluşturacağımız stil dosyasının uzantısı .css şeklinde olmalıdır. Bunu yaptıktan sonra HTML sayfalarda “style” dosyasını çağırmamız gerekir. Her sayfanın header bloğuna ekleyeceğimiz kısa satırla bunu sağlarız: &#60;link rel="stylesheet" type="text/css" href="stil.css" /&#62; Bu örnekte “style” dosyasının ismi “stil.css” dir. [...]]]></description>
			<content:encoded><![CDATA[<h2 class="entry-title"><a title="Permalink to Stil Sayfasını HTML İçerisinde Çağırmak (CSS)" rel="bookmark" href="http://www.ilyascanbay.com/css-hakkinda/stil-sayfasini-html-icerisinde-cagirmak-css-12.html"><br />
</a></h2>
<p><strong>Dış Stil Sayfası (External Style Sheets)</strong></p>
<p><img src="http://www.ilyascanbay.com/images/css-logo.gif" alt="" width="200" height="119" align="right" />Birden fazla sayfada tek tip stil kullamak için “style” dosyası oluşturmamız gerekir. Oluşturacağımız stil dosyasının uzantısı .css şeklinde olmalıdır.</p>
<p>Bunu yaptıktan sonra HTML sayfalarda “style” dosyasını çağırmamız gerekir. Her sayfanın header bloğuna ekleyeceğimiz kısa satırla bunu sağlarız:</p>
<p><code>&lt;link rel="stylesheet" type="text/css" href="stil.css" /&gt;</code></p>
<p>Bu örnekte “style” dosyasının ismi “stil.css” dir. Bu dosyanın ana dizinde olması gerekir. Başka bir dizinde bulunuyorsa bunu “dizin/stil.css” şeklinde ilgili klasörün ismini vererek belirtmemiz gerekir.</p>
<p>Bu tür “style” dosyalarına “dış stil sayfası” diyebiliriz. Tüm sayfalarda tek tip stil kullanmak için bunu tercih edebiliriz.</p>
<p><strong>İç Stil Satırları (Internal Style Sheets) </strong></p>
<p>Ayrıca “dış stil sayfası” kullanmak yerine stilimizin tamamını ilgili sayfada header bloğuna ekleyeceğimiz “iç stil satırları” ile sağlayabiliriz:</p>
<p><code>&lt;style type="text/css"&gt;<br />
P {color: black; font: verdana}<br />
H1 {color: red; font: verdana}<br />
&lt;/style&gt;</code></p>
<p>“İç stil satırları” bazı eski tarayıcılar tarafından desteklenmeyebilir. Zaten günümüzde Firefox 2 ve Internet Explorer 6/7 gibi yeni kuşak tarayıcılar tercih edilir. Yine de eski tarayıcılarda bunu önlemek için yukarıdaki kodun başına &lt;!– imlecini; sonuna ise –&gt; imlecini yerleştirerek CSS komutunu aşağıdaki gibi kapatmamız gerekir:</p>
<p><code>&lt;style type="text/css"&gt; &lt;!--<br />
P {color: black; font: verdana} /* Satır Yorumu */<br />
H1 {color: red; font: verdana} /* Satır Yorumu */<br />
--&gt; &lt;/style&gt;<br />
</code></p>
<p>Ayrıca her bir satırda C dilindeki yapıya benzer şekilde /* */ iki işaret arasında ilgili satırlar hakkında yorum ekleyebilirsiniz.</p>
<p>Her bir sayfada farklı stil kullanmak için bu yöntemi tercih edebiliriz.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sanalbilisim.net/seo/css-makaleleri/stil-sayfasini-html-icerisinde-cagirmak-css.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>CSS’nin Temel Yapısı</title>
		<link>http://www.sanalbilisim.net/seo/css-makaleleri/css%e2%80%99nin-temel-yapisi.html</link>
		<comments>http://www.sanalbilisim.net/seo/css-makaleleri/css%e2%80%99nin-temel-yapisi.html#comments</comments>
		<pubDate>Sun, 10 Aug 2008 01:58:52 +0000</pubDate>
		<dc:creator>teori</dc:creator>
				<category><![CDATA[CSS Makaleleri]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[CSS’nin Temel Yapısı]]></category>
		<category><![CDATA[selector]]></category>

		<guid isPermaLink="false">http://www.sanalbilisim.net/?p=171</guid>
		<description><![CDATA[CSS’de tüm komutlar belirli bir düzene göre sıralanır. Genel olarak iki bölüme ayrılır. Birincisi en solda bulunan kuralı uygulayacağımız elementtir. Buna seçici (selector) denir. CSS’nin temel yapısında bir diğer özellik de bildirim bloğu (declaration)’dur. Bildirim bloğu süslü bir parantez ile açılır; benzer şekilde noktalı virgülün ardından süslü parantez ile kapanır. Bildirim bloğunda “seçici” için istediğimiz [...]]]></description>
			<content:encoded><![CDATA[<p>CSS’de tüm komutlar belirli bir düzene göre sıralanır. Genel olarak iki bölüme ayrılır. Birincisi en solda bulunan kuralı uygulayacağımız elementtir. Buna seçici (selector) denir.</p>
<p>CSS’nin temel yapısında bir diğer özellik de bildirim bloğu (declaration)’dur. Bildirim bloğu süslü bir parantez ile açılır; benzer şekilde noktalı virgülün ardından süslü parantez ile kapanır.</p>
<p><img src="http://www.sanalbilisim.net/wp-content/uploads/2008/08/css-yapi.png" alt="css-yapi" title="css-yapi" width="317" height="110" class="alignleft size-full wp-image-788" /></p>
<p>Bildirim bloğunda “seçici” için istediğimiz kadar “özellik” ve “değer” atayabiliriz.  Birkaç örnek vermek gerekirse;</p>
<p>Tek bir özellik:</p>
<p><code>H1 {font-family: Arial}</code></p>
<p>Birden fazla özellik:</p>
<p><code>H1 {font-family: Arial; font-size: 2; font-weight: bold; color: red;}</code></p>
<p>Yukarıdaki CSS kod dizilimini açıklayalım;</p>
<p>H1, seçici özelliktir; genellikle yazı/paragraf başlıklarını tanımlamak için kullanılan bir tür HTML kodudur. H1 kodunu kullandığımız satırlarda yer alan yazılar bildirim bloğunda bulunan özelliklere göre şekillenecektir.</p>
<p>Seçicinin ardından süslü parantez açıyoruz. Özellik ve değerler arasında iki nokta üst üste [:] işareti yer alır. Her bir değerin sonuna noktalı virgül [;] gelmelidir.</p>
<p>Seçici için tanımlayacağımız yazı tipi, yazı boyutu, kalınlık/italic ve renk gibi özellikleri her bir satırda belirtiyoruz. Ardından bildirim bloğunu süslü parantez ile kapatıyoruz.</p>
<p>Bu satırda kullandığımız özellikler:</p>
<p>font-family (yazı tipi)<br />
font-size (yazı boyutu)<br />
font-weight (kalın, italic, altı çizili yazı)<br />
color (yazı rengi)</p>
<p>CSS kod diziliminde her bir özelliği aynı satıra yerleştirmek zorunluluğu yoktur. Yukarıda verdiğimiz örnekte yer alan özellikleri aşağıdaki gibi birden fazla satıra yayabiliriz:</p>
<p><code>H1 {<br />
font-family: Arial;<br />
font-size: 2;<br />
font-weight: bold;<br />
color: red;<br />
}</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sanalbilisim.net/seo/css-makaleleri/css%e2%80%99nin-temel-yapisi.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Sınıf Seçicileri (CSS)</title>
		<link>http://www.sanalbilisim.net/seo/css-makaleleri/sinif-secicileri-css.html</link>
		<comments>http://www.sanalbilisim.net/seo/css-makaleleri/sinif-secicileri-css.html#comments</comments>
		<pubDate>Sun, 10 Aug 2008 01:56:54 +0000</pubDate>
		<dc:creator>teori</dc:creator>
				<category><![CDATA[CSS Makaleleri]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[paragraf]]></category>
		<category><![CDATA[Sınıf Seçicileri]]></category>

		<guid isPermaLink="false">http://www.sanalbilisim.net/?p=169</guid>
		<description><![CDATA[HTML dokümanlar içerisinde sınıf (class) olarak tanımladığımız birimler vardır. İşte bu sınıf birimlerinin özelliklerini CSS ile ayarlayabiliriz. Diyelim ki html tabanlı bir sayfada aşağıdaki kod yer alıyor: &#60;p align=”center” class=”paragraf”&#62;Yazı...&#60;/p&#62; Sınıfı “paragraf” olan imleri CSS içerisinde şöyle tanımlayabiliriz: .paragraf {color: black; font: Arial;} Böylece “paragraf” sınıfıyla tanımlanan birimlerde yazı rengi siyah ve yazı tipi Arial [...]]]></description>
			<content:encoded><![CDATA[<p>HTML dokümanlar içerisinde sınıf (class) olarak tanımladığımız birimler vardır. İşte bu sınıf birimlerinin özelliklerini CSS ile ayarlayabiliriz. Diyelim ki html tabanlı bir sayfada aşağıdaki kod yer alıyor:</p>
<p><code>&lt;p align=”center” class=”paragraf”&gt;Yazı...&lt;/p&gt;</code></p>
<p>Sınıfı “paragraf” olan imleri CSS içerisinde şöyle tanımlayabiliriz:</p>
<p><code>.paragraf {color: black; font: Arial;}</code></p>
<p>Böylece “paragraf” sınıfıyla tanımlanan birimlerde yazı rengi siyah ve yazı tipi Arial olacaktır.</p>
<p>“Paragraf” sınıfını birimlere göre farklı ayarlamak için aşağıdakine benzer seçiciler kullanabiliriz:</p>
<p><code>p.paragraf {color: black; font: Arial;}<br />
h1.paragraf {color: red; font: Arial;}</code></p>
<p>Böylece &lt;p&gt; biriminin kullanıldığı tüm alanlarda sınıf “paragraf” olarak belirlendiğinde yazı rengi siyah; &lt;h1&gt; biriminin kullanıldığı alanlarda sınıf “paragraf” olarak belirlendiğinde yazı rengi kırmızı olacaktır.</p>
<p>Ayrıca sınıf seçicileri yerine ID seçicileri de kullanabiliriz. ID seçici ile sınıf seçicileri arasındaki önemli bir fark, CSS içerisinde ID’lerin # işareti ile belirtilmesidir.</p>
<p><code>&lt;p align=”right” ID="baslik2"&gt;Merhaba Dünya!&lt;/p&gt;<br />
&lt;h1 ID="baslik2"&gt;Merhaba Dünya!&lt;/h1&gt;</code></p>
<p>Böylece “baslik2” buyruğunu CSS içerisinde şu şekilde tanımlayabiliriz:</p>
<p><code>#baslik2 {color: blue;}</code></p>
<p>Böylece “baslik2” ID’sini kullandığımız birimlerde yazı rengi mavi olacaktır. Bu özellikleri arttırabilirsiniz.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sanalbilisim.net/seo/css-makaleleri/sinif-secicileri-css.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Temel Meta Etiketleri</title>
		<link>http://www.sanalbilisim.net/seo/css-makaleleri/temel-meta-etiketleri.html</link>
		<comments>http://www.sanalbilisim.net/seo/css-makaleleri/temel-meta-etiketleri.html#comments</comments>
		<pubDate>Sun, 10 Aug 2008 01:54:44 +0000</pubDate>
		<dc:creator>teori</dc:creator>
				<category><![CDATA[CSS Makaleleri]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[Temel Meta Etiketleri]]></category>

		<guid isPermaLink="false">http://www.sanalbilisim.net/?p=167</guid>
		<description><![CDATA[Temel Meta Etiketleri Abstract: Tüm site hakkında bilgi veren cümledir. &#60;META name=&#8221;Abstract&#8221; content=&#8221;Site özeti&#8221;&#62; Author: Site yapımcısının adı, iletişim bilgilerinin bulunduğu etikettir. &#60;META name=&#8221;Author&#8221; content=&#8221;Adınız, E-Posta Adresiniz&#8221;&#62; Copyright: Sitenin telif hakları konusunda bilgi veren etikettir. &#60;META name=&#8221;Copyright&#8221; content=&#8221;telif hakkı cümlesi&#8221;&#62; Description: Bazı arama motorlarının temel aldığı, site hakkında bilgi veren temel etiketlerden biridir. &#60;meta name=&#8221;description&#8221; [...]]]></description>
			<content:encoded><![CDATA[<h3>Temel Meta Etiketleri</h3>
<p><span style="font-weight: bold;">Abstract:</span><br />
Tüm site hakkında bilgi veren cümledir.<br />
&lt;META name=&#8221;Abstract&#8221; content=&#8221;Site özeti&#8221;&gt;</p>
<p><span style="font-weight: bold;">Author:</span><br />
Site yapımcısının adı, iletişim bilgilerinin bulunduğu etikettir.<br />
&lt;META name=&#8221;Author&#8221; content=&#8221;Adınız, E-Posta Adresiniz&#8221;&gt;</p>
<p><span style="font-weight: bold;">Copyright:</span><br />
Sitenin telif hakları konusunda bilgi veren etikettir.<br />
&lt;META name=&#8221;Copyright&#8221; content=&#8221;telif hakkı cümlesi&#8221;&gt;</p>
<p><span style="font-weight: bold;">Description:</span><br />
Bazı arama motorlarının temel aldığı, site hakkında bilgi veren temel etiketlerden biridir.<br />
&lt;meta name=&#8221;description&#8221; content=&#8221;Sitenizin içeriği hakkında geniş bilgi&#8221;&gt;</p>
<p><span style="font-weight: bold;">Expires:</span><br />
Sitenin içeriğinin hangi tarihte zaman aşımına uğradğını arama motorlarına ileten etiket.<br />
&lt;META name=&#8221;Expires&#8221; content=&#8221;Mon, 12 Jan 2007 17:45:05 GMT&#8221;&gt;</p>
<p><span style="font-weight: bold;">Keywords:</span><br />
Yine arama motorlarının temel aldığı, sitenizin içeriğini oluşturan kelimelerin bulunduğu etiket.<br />
&lt;meta name=&#8221;keywords&#8221; content=&#8221;kelime1 kelime2 kelime3 kelime4 kelime5&#8243;&gt;</p>
<p><span style="font-weight: bold;">Language:</span><br />
Sitenizin varsayılan dilini belirten etiket.<br />
&lt;meta http-equiv=&#8221;content-language&#8221; content=&#8221;tr&#8221;&gt;</p>
<p><span style="font-weight: bold;">Revisit-After Tag:</span><br />
Arama motorlarına, sitenin içeriğinin kaç günde bir güncellendiğini ileten etiket.<br />
&lt;meta name=&#8221;revisit-after&#8221; content=&#8221;7 days&#8221;&gt;</p>
<p><span style="font-weight: bold;">Refresh:</span><br />
Belli aralıklarla sayfanın yeilenmesini sağlayan etiket. Örnekteki 60, sayfanın 60 saniyede bir yenileneceğini belirtir.<br />
&lt;meta http-equiv=&#8221;refresh&#8221; content=&#8221;60&#8243;&gt;</p>
<p><span style="font-weight: bold;">Redirect:</span><br />
Sayfanın, belli bir zaman sonra başka bir sayfaya yönlenmesini sağlar. Örnekte, sayfa 2 saniye sonra başka bir sayfaya yönlenir.<br />
&lt;meta http-equiv=&#8221;refresh&#8221; content=&#8221;2;url=http://www.sanalbilisim.net&#8221;&gt;</p>
<p><span style="font-weight: bold;">Robots:</span><br />
Arama motoru robotlarının,  site içerisindeki linkleri takip edip etmeyeceklerini gösteren etikettir.<br />
&lt;meta name=&#8221;robots&#8221; content=&#8221;none&#8221;&gt;<br />
&lt;meta name=&#8221;robots&#8221; content=&#8221;index,follow&#8221;&gt;<br />
&lt;meta name=&#8221;robots&#8221; content=&#8221;noindex,follow&#8221;&gt;<br />
&lt;meta name=&#8221;robots&#8221; content=&#8221;index,nofollow&#8221;&gt;<br />
&lt;meta name=&#8221;robots&#8221; content=&#8221;noindex,nofollow&#8221;&gt;<br />
gibi kullanımları mevcuttur.</p>
<p><span style="font-weight: bold;">Bunlar dışında;</span><br />
&lt;meta http-equiv=&#8221;Content-Type&#8221; content=&#8221;text/html; charset=iso-8859&#8243;&gt;<br />
gibi bir kodla, sayfanın karakter kodlamasını belirtebilirsiniz. Bu kod, sayfanızdaki Türkçe karakterlerin düzgün görünmesini sağlar.</p>
<p><span style="font-weight: bold;">Not:</span><br />
Tüm meta etiketleri &lt;head&gt; .. &lt;/head&gt; kodları arasına yazılır.<br />
Ayrıca XHTML standartlarına göre, meta etiketleri &gt; ile değil /&gt; ile kapatılır.<br />
Örnek: &lt;meta http-equiv=&#8221;Content-Type&#8221; content=&#8221;text/html; charset=iso-8859&#8243;&gt;<span style="color: #ff0000;"> </span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sanalbilisim.net/seo/css-makaleleri/temel-meta-etiketleri.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Terimler</title>
		<link>http://www.sanalbilisim.net/seo/css-makaleleri/terimler.html</link>
		<comments>http://www.sanalbilisim.net/seo/css-makaleleri/terimler.html#comments</comments>
		<pubDate>Wed, 06 Aug 2008 06:56:37 +0000</pubDate>
		<dc:creator>teori</dc:creator>
				<category><![CDATA[CSS Makaleleri]]></category>
		<category><![CDATA[Seo Makaleleri]]></category>
		<category><![CDATA[Algoritma]]></category>
		<category><![CDATA[AllTheWeb]]></category>
		<category><![CDATA[ALT Tags]]></category>
		<category><![CDATA[Anchor Text]]></category>
		<category><![CDATA[Apache Web Server]]></category>
		<category><![CDATA[Arama Motoru Dostu]]></category>
		<category><![CDATA[Arama Motoru Optimizasyonu]]></category>
		<category><![CDATA[Backlink]]></category>
		<category><![CDATA[Cloaking]]></category>
		<category><![CDATA[Cookie]]></category>
		<category><![CDATA[Crawler]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[Description]]></category>
		<category><![CDATA[Domain]]></category>
		<category><![CDATA[Doorway Page]]></category>
		<category><![CDATA[Dynamic Content]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Google Toolbar]]></category>
		<category><![CDATA[GoogleBot]]></category>
		<category><![CDATA[Header Tags]]></category>
		<category><![CDATA[Hidden Text and Hidden Links]]></category>
		<category><![CDATA[Hits]]></category>
		<category><![CDATA[Home Directory]]></category>
		<category><![CDATA[Hyper Text Markup Language]]></category>
		<category><![CDATA[Hyper Text Transfer Protocol]]></category>
		<category><![CDATA[içerik]]></category>
		<category><![CDATA[Image map]]></category>
		<category><![CDATA[Inbound Links]]></category>
		<category><![CDATA[Indexing]]></category>
		<category><![CDATA[IP Address]]></category>
		<category><![CDATA[Keyword]]></category>
		<category><![CDATA[Kırık Link]]></category>
		<category><![CDATA[Link Farm]]></category>
		<category><![CDATA[Linking]]></category>
		<category><![CDATA[Log Files]]></category>
		<category><![CDATA[META Data]]></category>
		<category><![CDATA[Meta Tag]]></category>
		<category><![CDATA[Outbound Links]]></category>
		<category><![CDATA[Page Title]]></category>
		<category><![CDATA[PageRank]]></category>
		<category><![CDATA[Pay-Per-Click]]></category>
		<category><![CDATA[PR]]></category>
		<category><![CDATA[Robot]]></category>
		<category><![CDATA[Robots.txt]]></category>
		<category><![CDATA[Search Engine Results Pages]]></category>
		<category><![CDATA[Search Enginee Optimization]]></category>
		<category><![CDATA[Site Map]]></category>
		<category><![CDATA[Spam]]></category>
		<category><![CDATA[Top Ten Ranking]]></category>
		<category><![CDATA[Visitor-User]]></category>

		<guid isPermaLink="false">http://sanalbilisim.net/?p=37</guid>
		<description><![CDATA[Algorithm (Algoritma) Arama Motoru tarafından örümcekleri vasıtasıyla buldukları web sayfaları sıralamak için kullanılan Matematiksel formüldür. ALT Tags Web site içinde mouse ile bir fotoğrafın üzerine geldiğinizde görüntülenen kısa bir açıklama yazısıdır. Image ALT taglar sayfanızın ziyaretçileri için kullanılır. Tüm ALT taglar abahtar kelime yoğunluğuna bağlı olarak arama motorudaki sıranızı yükseltir. Örn: &#60; img src = [...]]]></description>
			<content:encoded><![CDATA[<div class="contenttext">
<p align="justify"><strong>Algorithm (Algoritma)</strong><br />
Arama Motoru tarafından örümcekleri vasıtasıyla buldukları web sayfaları sıralamak için kullanılan Matematiksel formüldür.</p>
<p align="justify"><strong>ALT Tags</strong><br />
Web site içinde mouse ile bir fotoğrafın üzerine geldiğinizde görüntülenen kısa bir açıklama yazısıdır. Image ALT taglar sayfanızın ziyaretçileri için kullanılır. Tüm ALT taglar abahtar kelime yoğunluğuna bağlı olarak arama motorudaki sıranızı yükseltir.</p>
<p><strong>Örn:</strong><br />
<span style="font-size: 11px;">&lt; img src = &#8221; silver-porsche.jpg &#8221; width = &#8221; 150 &#8221; height = &#8221; 225 &#8221;<br />
ALT = &#8221; Photo of a Silver Porsche &#8220;&gt;</span></p>
<p align="justify"><strong>Anchor Text</strong><br />
Anchor text hyperlink içinde görünen, tıklanılabilir yazıdır.</p>
<p><strong>Örn:</strong><br />
<span style="font-size: 11px;">&lt; a href:&#8221; http ://www.sanalbilisim-yardım.com/&#8221; &gt; <strong>Burası Anchor Text</strong> &lt; / a&gt;</span></p>
<p><strong>Apache Web Server</strong><br />
Yaygın olarak kullanılan bir web sunucu</p>
<p><strong>ATW<br />
A</strong>ll<strong>T</strong>he<strong>W</strong>eb arama motorunun kısaltılmışıdır.</p>
<p align="justify"><strong>Backlinks</strong><br />
Başka bir web sayfasından sizin sayfanıza bağlı linklerdir. Incoming ya da inbound Link olarakta kullanılır. Bazende “IBLs” olarakta kullanılabilir.</p>
<p align="justify"><strong>Broken Link (Kırık Link)</strong><br />
Kullanıcının tıkladığında bulunamayan bir sayfaya yönlendirdiği linklerdir. Ölü link (dead link) olarakta bilinir.</p>
<p align="justify"><strong>Cloaking</strong><br />
Kullanıcılar tarafından çekici bir sayfa gibi görünen yüksek rank elde etmek için kullanılan aldatıcı arama motoru hilelerinden biridir.Hiç bir arama motoru bunu sevmez. Google da bunların başında gelir.</p>
<p><strong>Content (içerik)</strong><br />
Web site içinde bulunan bilgidir. (metinler, resimler vs.)</p>
<p align="justify"><strong>Cookie</strong><br />
Cookie web site kullanıcılarının bilgisayarında depolanan küçük text dosyalarıdır. Kullanıcın sayfayı bir sonraki ziyaretinde tanınması için kullanılır.</p>
<p align="justify"><strong>Crawler</strong><br />
Arama Motorları tarafından sayfaları taramak için kullanılan bir programdır. Crawler arama motorlarının web sayfalarını bulum indekslemesi için kullanılır. Spider, robot yada bot olarak ta adlandırılırlar.</p>
<p align="justify"><strong>CSS</strong><br />
Cascading Style Sheet. Biçimlendirilmiş Stil Şablonlar. Web sayfalarınızın görüntüsünü istediğiniz gibi tasarlamanızı sağlar.</p>
<p align="justify"><strong>Description</strong><br />
Bir web sayfasındaki kısa bir cümle yada paragrafla açıklanan içerikler. Çoğunlukla Anchor textlerde kullanılır.</p>
<p align="justify"><strong>Description Meta Tag</strong><br />
Bulunan web sayfanın içeriğini açıklar.</p>
<p align="justify"><strong>Domain</strong><br />
Bir Web sitedeki URL dir.</p>
<p align="justify"><strong>Doorway Page</strong><br />
Çoğunlukla köprü sayfalar olarak bilinir. Giriş ve çıkış sayfalarını birbirleriyle köprülerler. Seçilen anahtar kelime ile iyi rank elde etmek için ve ziyaretçileri asıl sayfalarına göndermek için kullanılır. İki çeşit köprü sayfalar vardır. Birisi tema üzerine otomatik olarak oluşturulur bir diğeride manuel olarak oluşturulmuş anahtar kelime odaklı içerik sayfalarıdır.Bunlardan ilki bir çeşit spamdır ve çoğu arama motoru tarafından cezalandırılır., ikincisi ise önemli ve çok etkin bir SEO tekniğidir.</p>
<p align="justify"><strong>Dynamic Content (dynamic pages)</strong><br />
Web sayfaları içinde içerik yönetim sistemi bulunan veritabanından yönetilir. Dinamik sayfalar çoğunlukla URL nin içindeki soru işareti gibi karakterler içerir. Dinamik sayfalardaki URL ler çoğunlukla : .asp, .cgm yada .cgi dir. Google ın da içinde bulunduğu çoğu arama motoru dinamik sayfaları iyi indeksleyemezler.</p>
<p align="justify"><strong>Flash</strong><br />
Macromedia nın grafik programıdır. Grafikler ilgi çekicidir fakat spider ve robotlar bunları göremezler.İyi görünürler fakat iyi rank sağlayamazlar.</p>
<p><strong>GoogleBot</strong><br />
Google ın kullandığı görevi bulmak ve yeni site indekslemek olan bi web tarayıcısıdır.</p>
<p align="justify"><strong>Google Toolbar</strong><br />
Google Toolbar Google ın web sitesini ziyaret etmeden arama yapabileceğiniz bir eklentidir.Google Toolbar browser da PageRank değerinide gösterir.</p>
<p align="justify"><strong>Header Tags</strong><br />
HTML tagları web sayfanın profiline yardımcı olur önemli bilgilere dikkat çekmek için kullanılır. Anahtar kelimeler header taglarının içine yazılabilir.Eğer doğru tasarlanmışsa arama motorlarındaki rankınızı arttırır.</p>
<p><strong>Örn:</strong><br />
<span style="font-size: 11px;">&lt; h1 &gt;<strong>Bu h1 header tagı</strong>&lt; / h1 &gt;<br />
&lt; h2 &gt;<strong>Bu h2 header tagı</strong>&lt; / h2&gt;</span></p>
<p align="justify"><strong>Hidden Text and Hidden Links</strong><br />
Yazı rengini arka plan rengiyle aynı vermektir. Böylece yazı yada link görünmez veya okunması çok zor olur. Hidden text yada hidden links çoğunlukla yapay sayfanın anahtar kelime popülaritesini arttırmak için kullanılan bir aldatmaca yöntemidir.Bu yöntem Google ve diğer arama motorları tarafından onaylanmayan bir yöntemdir ve ceza almanıza maruz kalmanıza neden olabilir.</p>
<p align="justify"><strong>Hits</strong><br />
Hits terimi çoğunlukla yanlış anlaşılır.Hit bir web siteniz varsa onun ziyaret edilmesi olarak bilinir.Ama bu değildir.Hit web sitenizde her zaman bulunan bir dosyadır.</p>
<p align="justify"><strong>Home Directory</strong><br />
Sitenizin ana içerik sayfasının bulunduğu yerdeki ana dizindir.</p>
<p align="justify"><strong>HTML(Hyper Text Markup Language)</strong><br />
Internet üzerinde web sayfası oluşturmak için kullanılan bir betik dilidir.</p>
<p><strong>HTTP(Hyper Text Transfer Protocol)</strong><br />
HTML dosyalarının aktarımı için kullanılır.</p>
<p align="justify"><strong>Image map</strong><br />
Aynı resimde ayrı hyperlinkleri farklı alanlara yerleştirmek. Resmin farklı alanlarını tıkladığınızda sizi farklı farklı sayfalara götürür.Arama motoru dostu değildir.</p>
<p align="justify"><strong>Inbound Links</strong><br />
Başka bir web sayfasından sizin sayfanıza bağlı linklerdir. Incoming ya da Backlinks olarakta kullanılır.</p>
<p align="justify"><strong>Indexing</strong><br />
İndeksleme işlemi. Arama motoru web taraması yaptığında URL leri farklı kriterler kullanarak dercelendirir ve içeriğine ekler.</p>
<p align="justify"><strong>IP Address</strong><br />
Internet Protocol Address in kısaltmasıdır. Her bilgisayarı internete bağlar ve tekil olarak numaralandırılmıştır.IP adresler statik(asla değişmeyen) yadar dinamik(internete her bağlanışta değişen) olabilir.</p>
<p align="justify"><strong>Keyword (Key Phrase)</strong><br />
Bir kullanıcının herhangi bir siteyi bulmak için sitenin konusuyla ilgili olarak arama motoruna yazdığı kelime yada kelime gruplarıdır.</p>
<p align="justify"><strong>Link Farm</strong><br />
Yalnızca Arama Motorlarında rank elde etmeyi amaçlayarak oluşturulmuş bir Web sayfasıdır.tamamen ilişkisiz linklerin bulunduğu bir listeden ibarettir.Bu tip sayfalar çoğu arama motorları tarafından cezalandırılır.</p>
<p align="justify"><strong>Linking</strong><br />
Bir Web sayfasından başka bir Web sayfasına geçmek için kullanılan URL dir.</p>
<p align="justify"><strong>Log Files</strong><br />
Web Server ınızda devamlı ve otomatik olarak oluşturulmuş ve güncellenmiş dosyalardır.Log doyalarında URL ler, IP adresleri ziyaret edilmiş sayfalar, Tekil ziyaretçi numaraları, Toplam sayfa görüntüsü, Toplam hit ve daha fazlası vardır.</p>
<p align="justify"><strong>META Data / META Tag</strong><br />
Meta Data Bir sayfa yada dökümana ait olan bilgidir. Sayfa açıklaması içerebilir. Uygun anahtar kelime listesini yada yazar adı içerebilir.</p>
<p align="justify"><strong>Örn:</strong><br />
<span style="font-size: 11px;">&lt; META NAME = &#8221; TITLE &#8221; CONTENT = &#8221; <strong>Burası sayfa başlığı </strong> “&gt;</span></p>
<p align="justify"><strong>Outbound Links</strong><br />
Web sayfanızdan başka bir web sayfasına olan bağlantıdır. Çoğunlukla diğer sizin sitenizden başka bir sitede bulunur.</p>
<p align="justify"><strong>Page Title</strong><br />
Sayfa başlığı bir sayfadaki en önemli yerdir.Sayfa başlıkları arama sonuçlarında link olarak görünürler.</p>
<p align="justify"><strong>PageRank / PR</strong><br />
PageRank Google ın bulucularından Larry Page ve Sergey Brin tarafından geliştirilen bir algoritmadır. Bu algoritma size sıralanmış en iyi web sayfalarını görüntülemek için kullanılır.</p>
<p align="justify"><strong>Pay-Per-Click</strong><br />
Arama Sonuçlarında ilan veren kişilerin kullanıcıların ilanlarını tıkladığı kadar para ödedikleri sistem.</p>
<p align="justify"><strong>Robot<br />
</strong>Arama motorları tarafından yeni web sayfaları bulmak, sıralamak ve taramak için kullanılan bir programdır. Daha çok bots olarak bilinir.</p>
<p align="justify"><strong>Robots.txt</strong><br />
Web sitenizin ana dizinine koyulan özel bir text dosyadır. Arama motorları sitenizi gezerken tüm sayfalarınızı tek tek ziyeret edip içeriğini depolar. Eğer sitenizde hazır olmayan sayfalar varsa yada arama motorları tarafından görünmesini istemediğiniz bölümler varsa Robots.txt dosyasına koyabilirsiniz.</p>
<p align="justify"><strong>Search Engine Friendly(Arama Motoru Dostu)</strong><br />
Aldatıcı yöntemler kullanmadan Arama Motorları ile aynı düşünerek dizayn ve optimize etme işlemi.</p>
<p><strong>Search Enginee Optimization(Arama Motoru Optimizasyonu)</strong><br />
Bir Web sayfasını Arama Motoru sıralamalarında yüksek rank elde etmek için optimize(iyileştirme) etme işlemidir.</p>
<p><strong>Search Engine Results Pages (SERPS-Arama Motoru Sonuç Sayfaları)</strong><br />
spesifik bir arama sorgusu sonucunda geri dönen web sayfa sıralamasıdır. Basit olarak, Arama Motoruna arama sorgunuzu yazıp arama yaptıktan sonra size sunulan arama motoru sonuç sayfasıdır.</p>
<p align="justify"><strong>Search Query-Search Term</strong><br />
İlginizi çeken konularla ilgili bir web siteyi bulmak için Arama Motoruna yazdığınız anahtar kelime veya anahtar cümledir.</p>
<p align="justify"><strong>Spam</strong><br />
Diğer sayfalara nazaran daha yüksek rank elde etmek için adaletsiz olarak kullanılan her türlü tekniktir.Genel olarak istenmeyen mail olarak bilinir.Açık olarak spam karalisteye alınmanıza neden olurlar.</p>
<p align="justify"><strong>URL</strong><br />
URL (Uniform Resource Locator)basit deyimle Web adresidir.</p>
<p align="justify"><strong>Spider</strong><br />
Daha çok crawler olarak adlandırılan bu programlar arama motorları tarafından oluşturulmuş web üzerinde sayfaları indekslemek için kullanılır. Web sayfalarını ziyaret ederler ve sitelerin içeriklerini toplarlar.</p>
<p align="justify"><strong>Site Map</strong><br />
site haritası herhangi bir web sitenin içinde kullanıcılara yardımcı olmak için ve arama motorlarının siteyi kolaylıkla taraması için dizayn edilmiş bir sayfadır.Bu sayfada web sitenin içindeki tüm sayfalar görünür ve tüm sayfalara erişilebilir.</p>
<p align="justify"><strong>Top Ten Ranking</strong><br />
Google da arama sorgusu sonucunda listelenmiş ilk 10 siteyi gösteren bir Web sayfasıdır.</p>
<p align="justify"><strong>Visitor-User</strong><br />
Sitenizi ziyaret eden kişiler yada kullanıcılar.</p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.sanalbilisim.net/seo/css-makaleleri/terimler.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Web Sitesinin Yapısı (2)</title>
		<link>http://www.sanalbilisim.net/seo/css-makaleleri/web-sitesinin-yapisi-2.html</link>
		<comments>http://www.sanalbilisim.net/seo/css-makaleleri/web-sitesinin-yapisi-2.html#comments</comments>
		<pubDate>Wed, 06 Aug 2008 06:49:00 +0000</pubDate>
		<dc:creator>teori</dc:creator>
				<category><![CDATA[Backlink Makaleleri]]></category>
		<category><![CDATA[CSS Makaleleri]]></category>
		<category><![CDATA[Google Pagerank]]></category>
		<category><![CDATA[Seo Makaleleri]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[Off Page]]></category>
		<category><![CDATA[On Page]]></category>

		<guid isPermaLink="false">http://sanalbilisim.net/?p=32</guid>
		<description><![CDATA[Arama Motorlarının listelerinde üst sıralarda kalmanın garantisi yoktur. Fakat sıralamada siteyi üst sıralarda tutmak için 1-2 etken vardır.Bunlar on page ve off page faktörlerdir. On Page faktör sayfada yapılacak olan optimizasyon işlemi ile kendi elimizde olan faktördür. Off Page faktör sayfanın haricinde, kendi elimizde olmayan faktördür.Sayfaya başka sitelerden verilen linklere bağlı faktördür. Arama Motorları için [...]]]></description>
			<content:encoded><![CDATA[<div class="contenttext">
<p>Arama Motorlarının listelerinde üst sıralarda kalmanın garantisi yoktur. Fakat sıralamada siteyi üst sıralarda tutmak için 1-2 etken vardır.Bunlar on page ve off page faktörlerdir.</p>
<p><strong>On Page</strong> faktör sayfada yapılacak olan optimizasyon işlemi ile kendi elimizde olan faktördür.<br />
<strong>Off Page</strong> faktör sayfanın haricinde, kendi elimizde olmayan faktördür.Sayfaya başka sitelerden verilen linklere bağlı faktördür.</p>
<p>Arama Motorları için Sitelerde anasayfalardaki metinlerin ilk birkaç satırları önem taşır.Bu yüzden bu satırların anlamlı olması sitelerin yararına olacaktır.Bir sitenin arama motorlarına yaptığı kaydın indekslenmesi ve arama sonuçlarında bulunması için iyi optimize edilmiş olması gerekir.Arama Motorları yapılan kaydın indekslenmesi için başvuran sitenin tümünün gezilmesine yardımcı olan, örümcek(Web-Spiders) veya robot denilen programlar kullanırlar. Dolayısıyla indekslenmesi için sitenin bir de içeriği olması şarttır.Ayrıca sitenin server ının bulunduğu ana klasöre robots.txt dosyası konulması örümceklere yardımcı olacaktır.</p>
<p>Sitenin tasarımından ve programlanmasından önce nasıl optimize edilmesi gerektiği düşünülmelidir. Bunun için kullanılacak anahtar kelime ve kelimelerinin belirlenmesi gerekir.</p>
<p>Site Tasarımı da arama motoru optimizasyonunda büyük önem taşır.</p>
<ul>
<li>Arama motorlarında siteleri incelemek için örümcek ve robotların kullanıldığından bahsetmiştik.Sitelerin yapım aşamasında daha çok metin kullanılması uygun olacaktır.Kullanılan bol miktarda resim ve grafikler arama motorlarındaki konumu olumsuz etkileyecektir.Çünkü örümcekler resimleri okuyamazlar.Metinler CSS kullanarak çok daha güzel bir hale getirilebilir. Çok sayıda grafik ve resim kullanmak sağlıklı olmayacaktır.</li>
<li>Eğer resim kullanılıyorsa mutlaka bir alt tag kulanılmalıdır.Ayrıca kullanılan resimlere de anahtar kelimelerle isim vermek te yerinde olur.</li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.sanalbilisim.net/seo/css-makaleleri/web-sitesinin-yapisi-2.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
