<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: CSS Q&amp;A</title>
	<atom:link href="http://www.vanseodesign.com/css/css-qa/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.vanseodesign.com/css/css-qa/</link>
	<description>Helping you build search engine friendly websites</description>
	<lastBuildDate>Sat, 11 Feb 2012 14:03:01 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: Steven Bradley</title>
		<link>http://www.vanseodesign.com/css/css-qa/comment-page-1/#comment-49434</link>
		<dc:creator>Steven Bradley</dc:creator>
		<pubDate>Mon, 18 Jan 2010 21:48:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.vanseodesign.com/blog/?p=539#comment-49434</guid>
		<description>Hard to know without seeing the html for the menu. If the page is online feel free to post a link to it.

Based on your css what I think is probably happening is your home page link has the current_page_item class hardcoded on the link. You need to test to see if the page is the home page.

If you are testing then it&#039;s possible WordPress isn&#039;t doing quite what you think. For example you might be testing for is_home() when you should be testing for is_front_page()</description>
		<content:encoded><![CDATA[<p>Hard to know without seeing the html for the menu. If the page is online feel free to post a link to it.</p>
<p>Based on your css what I think is probably happening is your home page link has the current_page_item class hardcoded on the link. You need to test to see if the page is the home page.</p>
<p>If you are testing then it&#8217;s possible WordPress isn&#8217;t doing quite what you think. For example you might be testing for is_home() when you should be testing for is_front_page()</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jessica Bosari</title>
		<link>http://www.vanseodesign.com/css/css-qa/comment-page-1/#comment-49407</link>
		<dc:creator>Jessica Bosari</dc:creator>
		<pubDate>Mon, 18 Jan 2010 16:01:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.vanseodesign.com/blog/?p=539#comment-49407</guid>
		<description>Hi, you rock to answer questions here. I am having a knit-picky problem with tabs I am working on. I started with a free theme and altering code to get the look I want. The theme has active and inactive tabs, but the homepage tab shows active even when it is not. How do I fix this?

Here&#039;s the code:
#menu {
	width: 1000px;
	height: 65px;
	margin: 0 auto;
        padding: 0 0 0 20px;
	background: url(images/img04.jpg) no-repeat left top;
}
	
#menu ul {
	float: right;
	margin: 0;
	padding: 0px 25px 0px 0px;
	list-style: none;
	line-height: normal;
}

#menu li {
	float: left;
}

#menu a {
	display: block;
	height: 65px;
	margin-left: 10px;
	padding: 15px 5px 5px 5px;
	background: url(images/img05.jpg) repeat-x left top;
	font-family: Georgia, &quot;Times New Roman&quot;, Times, serif;
	text-decoration: none;
	text-align: center;
	font-size: 18px;
	font-weight: normal;
	color: #ffffff;
	border: none;
}

#menu a:hover, #menu .current_page_item a {
	text-decoration: underline;
}

#menu .current_page_item a {
	background: url(images/img06.jpg) repeat left top;
	padding-left: 5px;
         padding-right: 20px;
	color: #493E2B;
}</description>
		<content:encoded><![CDATA[<p>Hi, you rock to answer questions here. I am having a knit-picky problem with tabs I am working on. I started with a free theme and altering code to get the look I want. The theme has active and inactive tabs, but the homepage tab shows active even when it is not. How do I fix this?</p>
<p>Here&#8217;s the code:<br />
#menu {<br />
	width: 1000px;<br />
	height: 65px;<br />
	margin: 0 auto;<br />
        padding: 0 0 0 20px;<br />
	background: url(images/img04.jpg) no-repeat left top;<br />
}</p>
<p>#menu ul {<br />
	float: right;<br />
	margin: 0;<br />
	padding: 0px 25px 0px 0px;<br />
	list-style: none;<br />
	line-height: normal;<br />
}</p>
<p>#menu li {<br />
	float: left;<br />
}</p>
<p>#menu a {<br />
	display: block;<br />
	height: 65px;<br />
	margin-left: 10px;<br />
	padding: 15px 5px 5px 5px;<br />
	background: url(images/img05.jpg) repeat-x left top;<br />
	font-family: Georgia, &#8220;Times New Roman&#8221;, Times, serif;<br />
	text-decoration: none;<br />
	text-align: center;<br />
	font-size: 18px;<br />
	font-weight: normal;<br />
	color: #ffffff;<br />
	border: none;<br />
}</p>
<p>#menu a:hover, #menu .current_page_item a {<br />
	text-decoration: underline;<br />
}</p>
<p>#menu .current_page_item a {<br />
	background: url(images/img06.jpg) repeat left top;<br />
	padding-left: 5px;<br />
         padding-right: 20px;<br />
	color: #493E2B;<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steven Bradley</title>
		<link>http://www.vanseodesign.com/css/css-qa/comment-page-1/#comment-39384</link>
		<dc:creator>Steven Bradley</dc:creator>
		<pubDate>Wed, 14 Oct 2009 08:38:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.vanseodesign.com/blog/?p=539#comment-39384</guid>
		<description>Glad I could help. Sometimes the best way to figure this stuff is just try a few different things and see what happens.

I learned a lot just by experimenting. I&#039;ll often keep a basic html file on my desktop and open it up when I want to try something and see what happens and what I can create.</description>
		<content:encoded><![CDATA[<p>Glad I could help. Sometimes the best way to figure this stuff is just try a few different things and see what happens.</p>
<p>I learned a lot just by experimenting. I&#8217;ll often keep a basic html file on my desktop and open it up when I want to try something and see what happens and what I can create.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daleus</title>
		<link>http://www.vanseodesign.com/css/css-qa/comment-page-1/#comment-38752</link>
		<dc:creator>Daleus</dc:creator>
		<pubDate>Thu, 08 Oct 2009 12:58:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.vanseodesign.com/blog/?p=539#comment-38752</guid>
		<description>Steven,

Thanks for your reply.  I understood what you were saying but tried your example as suggested.  I probably could have figured that out by myself (doh), but your description made all the difference.

And now I have a better understanding of what the spec means when it refers to block level vs inline elements.

Great stuff!</description>
		<content:encoded><![CDATA[<p>Steven,</p>
<p>Thanks for your reply.  I understood what you were saying but tried your example as suggested.  I probably could have figured that out by myself (doh), but your description made all the difference.</p>
<p>And now I have a better understanding of what the spec means when it refers to block level vs inline elements.</p>
<p>Great stuff!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steven Bradley</title>
		<link>http://www.vanseodesign.com/css/css-qa/comment-page-1/#comment-38694</link>
		<dc:creator>Steven Bradley</dc:creator>
		<pubDate>Wed, 07 Oct 2009 19:34:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.vanseodesign.com/blog/?p=539#comment-38694</guid>
		<description>The block level and inline level is really the main difference. Maybe an example would help.

Say you wrap a block of text in a div. That text will have a block of space around it. There will be a space between it and whatever elements are above and below it in the design.

If you wrapped a span around that same text that block of space wouldn&#039;t be there. Until you style the span the text would fall exactly where it would had you not wrapped it with a span.

An easy way to see the difference is create an html page with a paragraph of text. Take a few words in the text and wrap span tags around them. You shouldn&#039;t see any difference.

Then remove the span tags and wrap div tags around those same words. The text should then break out of the paragraph and look as though it&#039;s in a new paragraph.</description>
		<content:encoded><![CDATA[<p>The block level and inline level is really the main difference. Maybe an example would help.</p>
<p>Say you wrap a block of text in a div. That text will have a block of space around it. There will be a space between it and whatever elements are above and below it in the design.</p>
<p>If you wrapped a span around that same text that block of space wouldn&#8217;t be there. Until you style the span the text would fall exactly where it would had you not wrapped it with a span.</p>
<p>An easy way to see the difference is create an html page with a paragraph of text. Take a few words in the text and wrap span tags around them. You shouldn&#8217;t see any difference.</p>
<p>Then remove the span tags and wrap div tags around those same words. The text should then break out of the paragraph and look as though it&#8217;s in a new paragraph.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daleus</title>
		<link>http://www.vanseodesign.com/css/css-qa/comment-page-1/#comment-38665</link>
		<dc:creator>Daleus</dc:creator>
		<pubDate>Wed, 07 Oct 2009 13:39:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.vanseodesign.com/blog/?p=539#comment-38665</guid>
		<description>I &quot;get&quot; most CSS, but I&#039;ve never found a really good explanation of when to use a DIV and when to use a SPAN.

The best I can find is that DIV is for &quot;block level&quot; usage, and SPAN is for &quot;inline&quot; usage.  But what does that mean?

Any clarification welcomed!</description>
		<content:encoded><![CDATA[<p>I &#8220;get&#8221; most CSS, but I&#8217;ve never found a really good explanation of when to use a DIV and when to use a SPAN.</p>
<p>The best I can find is that DIV is for &#8220;block level&#8221; usage, and SPAN is for &#8220;inline&#8221; usage.  But what does that mean?</p>
<p>Any clarification welcomed!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: CSS Q&#38;A 1: Answers To Your CSS Questions &#124; Van SEO Design</title>
		<link>http://www.vanseodesign.com/css/css-qa/comment-page-1/#comment-37791</link>
		<dc:creator>CSS Q&#38;A 1: Answers To Your CSS Questions &#124; Van SEO Design</dc:creator>
		<pubDate>Sat, 26 Sep 2009 04:37:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.vanseodesign.com/blog/?p=539#comment-37791</guid>
		<description>[...] week I asked you to ask me some of your css related question. You did and now it&#8217;s my turn. Please feel free to ask more questions in the comments below [...]</description>
		<content:encoded><![CDATA[<p>[...] week I asked you to ask me some of your css related question. You did and now it&#8217;s my turn. Please feel free to ask more questions in the comments below [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steven Bradley</title>
		<link>http://www.vanseodesign.com/css/css-qa/comment-page-1/#comment-29882</link>
		<dc:creator>Steven Bradley</dc:creator>
		<pubDate>Fri, 12 Jun 2009 18:12:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.vanseodesign.com/blog/?p=539#comment-29882</guid>
		<description>Bryan a lot of people probably add the div in front for readability, but it&#039;s really about &lt;a href=&quot;http://www.vanseodesign.com/blog/css/css-specificity-inheritance-cascaade/&quot; rel=&quot;nofollow&quot;&gt;specificity&lt;/a&gt;. Using div out in front is more specific than not using it so if you had

#divname {color:blue}
div#divname {color:red}

the second will be the one that controls color for the div as it&#039;s more specific.</description>
		<content:encoded><![CDATA[<p>Bryan a lot of people probably add the div in front for readability, but it&#8217;s really about <a href="http://www.vanseodesign.com/blog/css/css-specificity-inheritance-cascaade/" rel="nofollow">specificity</a>. Using div out in front is more specific than not using it so if you had</p>
<p>#divname {color:blue}<br />
div#divname {color:red}</p>
<p>the second will be the one that controls color for the div as it&#8217;s more specific.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: penge</title>
		<link>http://www.vanseodesign.com/css/css-qa/comment-page-1/#comment-29856</link>
		<dc:creator>penge</dc:creator>
		<pubDate>Fri, 12 Jun 2009 11:51:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.vanseodesign.com/blog/?p=539#comment-29856</guid>
		<description>You know, it can be:
-&gt; #same-name (for div), but also
-&gt; #same-name (for ul)
-&gt; #same-name (for li)
-&gt; #same-name (for span)
-&gt; etc...
The purpose of giving div# before divname is to prevent referencing to other objects with the same-name. It&#039;s easy to distinguish then.</description>
		<content:encoded><![CDATA[<p>You know, it can be:<br />
-&gt; #same-name (for div), but also<br />
-&gt; #same-name (for ul)<br />
-&gt; #same-name (for li)<br />
-&gt; #same-name (for span)<br />
-&gt; etc&#8230;<br />
The purpose of giving div# before divname is to prevent referencing to other objects with the same-name. It&#8217;s easy to distinguish then.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steven Bradley</title>
		<link>http://www.vanseodesign.com/css/css-qa/comment-page-1/#comment-28923</link>
		<dc:creator>Steven Bradley</dc:creator>
		<pubDate>Thu, 28 May 2009 20:47:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.vanseodesign.com/blog/?p=539#comment-28923</guid>
		<description>I&#039;m not entirely sure, but I think the problem might be in the code below in your css file

&lt;pre&gt;
#content   #content3   #placeholder {
	height: 80%;
	width: 95%;
}
&lt;/pre&gt;

I think the problem is because you&#039;ve set both width and height. Try just specifying the width and see if that works.</description>
		<content:encoded><![CDATA[<p>I&#8217;m not entirely sure, but I think the problem might be in the code below in your css file</p>
<pre>
#content   #content3   #placeholder {
	height: 80%;
	width: 95%;
}
</pre>
<p>I think the problem is because you&#8217;ve set both width and height. Try just specifying the width and see if that works.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

