qid int64 4 8.14M | question stringlengths 20 48.3k | answers list | date stringlengths 10 10 | metadata list | input stringlengths 12 45k | output stringlengths 2 31.8k |
|---|---|---|---|---|---|---|
169,472 | <p>Having trouble putting this into words, reading countless threads describing issues similar to mine, but not this exact one. So here's a super simplified version of what I need done.</p>
<p>I have numbers that correspond to countries in the first table. I have that same list of countries on another table, but withou... | [
{
"answer_id": 169473,
"author": "doubleunary",
"author_id": 269219,
"author_profile": "https://webapps.stackexchange.com/users/269219",
"pm_score": 0,
"selected": false,
"text": "<p>Use <code>vlookup()</code> with an <a href=\"https://support.google.com/docs/answer/6208276\" rel=\"nofol... | 2023/02/23 | [
"https://webapps.stackexchange.com/questions/169472",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/308746/"
] | Having trouble putting this into words, reading countless threads describing issues similar to mine, but not this exact one. So here's a super simplified version of what I need done.
I have numbers that correspond to countries in the first table. I have that same list of countries on another table, but without the num... | Use `vlookup()` with an [{ array expression }](https://support.google.com/docs/answer/6208276), like this:
```
=arrayformula( iferror( vlookup(G3:G13, { D3:D13, C3:C13 }, 2, false) ) )
```
See [vlookup()](https://support.google.com/drive/answer/3093318) and [GFCGlobal](https://edu.gcfglobal.org/en/googlespreadsheets... |
169,513 | <p>I would like to make a <strong>count based on fulfilling two conditions in a column across a range of columns</strong>. For the sake of easily explaining things, I have decided to make a table of names and foods, I've added days as well, but they are not relevant and here only to help me describe my problem.</p>
<p>... | [
{
"answer_id": 169515,
"author": "doubleunary",
"author_id": 269219,
"author_profile": "https://webapps.stackexchange.com/users/269219",
"pm_score": 0,
"selected": false,
"text": "<p>To collect the data, use string concatenation, <code>flatten()</code> and <code>split()</code> in an arra... | 2023/02/26 | [
"https://webapps.stackexchange.com/questions/169513",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/307698/"
] | I would like to make a **count based on fulfilling two conditions in a column across a range of columns**. For the sake of easily explaining things, I have decided to make a table of names and foods, I've added days as well, but they are not relevant and here only to help me describe my problem.
Is there a way, to cou... | #### COUNTIF & FILTER
* The [COUNTIF](https://support.google.com/docs/answer/3093480) function returns a conditional count across a range;
`=COUNTIF(range, criterion)`
* The [FILTER](https://support.google.com/docs/answer/3093197) function returns a filtered version of the source range, returning only rows or colum... |
169,525 | <p>I have two fields in my Google Sheets spreadsheet and a third cell that subtracts the difference between them. Most of the time it works fine but sometimes it fails.</p>
<p>The way it fails is I believe that it interprets the time of one cell as a different day than the time of the next cell. IIRC it seems to have p... | [
{
"answer_id": 169526,
"author": "1.21 gigawatts",
"author_id": 20235,
"author_profile": "https://webapps.stackexchange.com/users/20235",
"pm_score": 0,
"selected": false,
"text": "<p>For some reason, the fields in rows C and D do not show any format as being selected (including Automati... | 2023/02/27 | [
"https://webapps.stackexchange.com/questions/169525",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/20235/"
] | I have two fields in my Google Sheets spreadsheet and a third cell that subtracts the difference between them. Most of the time it works fine but sometimes it fails.
The way it fails is I believe that it interprets the time of one cell as a different day than the time of the next cell. IIRC it seems to have problems w... | #### Within 24 Hours
If the time elapsed is always **less than 24 hrs**, then you can work with only times in the cells and use the TIMEVALUE function. When calculating the difference in time values, sheets will assume a start time that is less than the end time to be on the same day, and conversely, when the start ti... |
169,538 | <p>This is very much a beginner question.</p>
<p>On Google Sheets is there any way to add text to a cell with a formula?
<a href="https://i.stack.imgur.com/Hz83R.png" rel="nofollow noreferrer">Example</a></p>
<p>Essentially I would like to have the text and the date for the Friday cell in one cell. However, I would lik... | [
{
"answer_id": 169541,
"author": "The God of Biscuits",
"author_id": 293686,
"author_profile": "https://webapps.stackexchange.com/users/293686",
"pm_score": 2,
"selected": true,
"text": "<p>You can concatenate a text string with a formula using & like this:</p>\n<pre><code>=formula&a... | 2023/02/28 | [
"https://webapps.stackexchange.com/questions/169538",
"https://webapps.stackexchange.com",
"https://webapps.stackexchange.com/users/308922/"
] | This is very much a beginner question.
On Google Sheets is there any way to add text to a cell with a formula?
[Example](https://i.stack.imgur.com/Hz83R.png)
Essentially I would like to have the text and the date for the Friday cell in one cell. However, I would like to preserve the formula as well and am not sure ho... | You can concatenate a text string with a formula using & like this:
```
=formula&" text string"
```
You may need to wrap your formula in the TEXT function with the appropriate arguments in order to maintain the correct format, as the concatenated text may invalidate any number/date formatting previously chosen. |
448 | <blockquote>
<p><strong>Possible Duplicate:</strong><br>
<a href="https://webmasters.meta.stackexchange.com/questions/614/community-promotion-ads-1h-2012">Community Promotion Ads - 1H 2012</a> </p>
</blockquote>
<h3>What in the Wide, Wide World of Sports is Going On Here?</h3>
<p>TL;DR -- put images and links ... | [
{
"answer_id": 449,
"author": "Geoff Dalgas",
"author_id": 2,
"author_profile": "https://webmasters.meta.stackexchange.com/users/2",
"pm_score": 3,
"selected": false,
"text": "<p><a href=\"http://twitter.com/#!/stackwebmasters\" rel=\"nofollow noreferrer\"><img src=\"https://i.stack.imgu... | 2011/04/15 | [
"https://webmasters.meta.stackexchange.com/questions/448",
"https://webmasters.meta.stackexchange.com",
"https://webmasters.meta.stackexchange.com/users/2/"
] | >
> **Possible Duplicate:**
>
> [Community Promotion Ads - 1H 2012](https://webmasters.meta.stackexchange.com/questions/614/community-promotion-ads-1h-2012)
>
>
>
### What in the Wide, Wide World of Sports is Going On Here?
TL;DR -- put images and links in the answers. If they get voted up enough, they will a... | [](http://twitter.com/#!/stackwebmasters) |
554 | <p>I’m not sure why <a href="https://stackoverflow.com/questions/7313037/how-do-google-1-widgets-break-out-of-their-iframe/7313430#7313430">my question</a> needed to be migrated from Stack Overflow. Lots of web-related topics are still considered programming. The question had 5K+ views and <em>no one</em> commented tha... | [
{
"answer_id": 557,
"author": "danlefree",
"author_id": 1064,
"author_profile": "https://webmasters.meta.stackexchange.com/users/1064",
"pm_score": 3,
"selected": false,
"text": "<p>It appears as though multiple StackOverflow users <a href=\"https://stackoverflow.com/questions/7313037/ho... | 2011/09/06 | [
"https://webmasters.meta.stackexchange.com/questions/554",
"https://webmasters.meta.stackexchange.com",
"https://webmasters.meta.stackexchange.com/users/-1/"
] | I’m not sure why [my question](https://stackoverflow.com/questions/7313037/how-do-google-1-widgets-break-out-of-their-iframe/7313430#7313430) needed to be migrated from Stack Overflow. Lots of web-related topics are still considered programming. The question had 5K+ views and *no one* commented that it seemed the quest... | It appears as though multiple StackOverflow users [voted for the migration](https://stackoverflow.com/questions/7313037/how-do-google-1-widgets-break-out-of-their-iframe?noredirect=1) so [SO Meta](https://meta.stackoverflow.com/) would be the best place to inquire about their reasoning.
I believe that the migration re... |
614 | <blockquote>
<p><strong>Possible Duplicate:</strong><br>
<a href="https://webmasters.meta.stackexchange.com/questions/909/community-promotion-ads-2013">Community Promotion Ads - 2013</a> </p>
</blockquote>
<p>So maybe last time was a bit longer than "1H 2011". Nevertheless, we now break to start 2012!</p>
<h3>... | [
{
"answer_id": 615,
"author": "Grace Note",
"author_id": 9330,
"author_profile": "https://webmasters.meta.stackexchange.com/users/9330",
"pm_score": 3,
"selected": false,
"text": "<p><a href=\"http://twitter.com/#!/stackwebmasters\" rel=\"nofollow noreferrer\"><img src=\"https://i.stack.... | 2011/12/02 | [
"https://webmasters.meta.stackexchange.com/questions/614",
"https://webmasters.meta.stackexchange.com",
"https://webmasters.meta.stackexchange.com/users/9330/"
] | >
> **Possible Duplicate:**
>
> [Community Promotion Ads - 2013](https://webmasters.meta.stackexchange.com/questions/909/community-promotion-ads-2013)
>
>
>
So maybe last time was a bit longer than "1H 2011". Nevertheless, we now break to start 2012!
### What in the Wide, Wide World of Sports is Going On Here... | [](http://twitter.com/#!/stackwebmasters) |
637 | <p><strong>Issue:</strong> More than half of the "question" titles listed on the homepage are non-specific descriptions rather than actual questions - can be verified with the following jQuery snippet:</p>
<p>Long form for use in browser Javascript console:</p>
<pre><code>var questions=$('a.question-hyperlink');
var ... | [
{
"answer_id": 638,
"author": "Robert Cartaino",
"author_id": 9,
"author_profile": "https://webmasters.meta.stackexchange.com/users/9",
"pm_score": 3,
"selected": true,
"text": "<p>Don't forget your /review path:</p>\n\n<p><a href=\"https://webmasters.stackexchange.com/review/\">https://... | 2012/01/03 | [
"https://webmasters.meta.stackexchange.com/questions/637",
"https://webmasters.meta.stackexchange.com",
"https://webmasters.meta.stackexchange.com/users/1064/"
] | **Issue:** More than half of the "question" titles listed on the homepage are non-specific descriptions rather than actual questions - can be verified with the following jQuery snippet:
Long form for use in browser Javascript console:
```
var questions=$('a.question-hyperlink');
var countPunctuated=0;
questions.each(... | Don't forget your /review path:
<https://webmasters.stackexchange.com/review/>
I know this isn't exclusively a "new user problem," but it is incredibly important to vet and review contributions by new users. It provides an opportunity to educate them early on so they become productive members of the site. Please make... |
661 | <p>I found the following code in a question today and flagged it as possible spam. </p>
<p>So far as I'm aware there is no such <code>microformat</code> as <code>dofollow</code>, but it would appear to be a deliberate attempt to SPAM. Is there a policy on this, is it common and should we edit it out flag, delete or do... | [
{
"answer_id": 662,
"author": "danlefree",
"author_id": 1064,
"author_profile": "https://webmasters.meta.stackexchange.com/users/1064",
"pm_score": 1,
"selected": false,
"text": "<p>Nice catch, though it's not a huge concern - check source on the rendered page:</p>\n\n<pre><code><a hr... | 2012/01/29 | [
"https://webmasters.meta.stackexchange.com/questions/661",
"https://webmasters.meta.stackexchange.com",
"https://webmasters.meta.stackexchange.com/users/12685/"
] | I found the following code in a question today and flagged it as possible spam.
So far as I'm aware there is no such `microformat` as `dofollow`, but it would appear to be a deliberate attempt to SPAM. Is there a policy on this, is it common and should we edit it out flag, delete or down vote the question?
//update ... | When you see something like this, and the question is good and you have enough rep, edit the question and remove the spam. That way the community can still benefit from it. If the question is otherwise low quality or you don't have enough rep, flag it for moderator review so we can deal with it.
In this case I removed... |
761 | <p>We get a good number of questions along the lines of 'How do I choose an ecommerce engine' perhaps we should consider creating a generic answer that addresses this particular problem:-</p>
<ul>
<li>The CMS/Hosting answers won't show up in search for these questions.</li>
<li>It is asked frequently enough that it's ... | [
{
"answer_id": 763,
"author": "Community",
"author_id": -1,
"author_profile": "https://webmasters.meta.stackexchange.com/users/-1",
"pm_score": 1,
"selected": false,
"text": "<p>Just post your ideas for the content of this question and it's answer, perhaps using <a href=\"https://webmast... | 2012/04/05 | [
"https://webmasters.meta.stackexchange.com/questions/761",
"https://webmasters.meta.stackexchange.com",
"https://webmasters.meta.stackexchange.com/users/12685/"
] | We get a good number of questions along the lines of 'How do I choose an ecommerce engine' perhaps we should consider creating a generic answer that addresses this particular problem:-
* The CMS/Hosting answers won't show up in search for these questions.
* It is asked frequently enough that it's annoying.
* It's a co... | Just post your ideas for the content of this question and it's answer, perhaps using [What forum software should I use?](https://webmasters.stackexchange.com/questions/25771/what-forum-software-should-i-use) or [Which Content Management System (CMS)/Wiki should I use?](https://webmasters.stackexchange.com/questions/257... |
909 | <p>As it is December 2012, we are now going to reset our Community Promotion Ads for the new year.</p>
<h3>What are Community Promotion Ads?</h3>
<p>Community Promotion Ads are community-vetted advertisements that will show up on the main site, in the right sidebar. The purpose of this question is the vetting process... | [
{
"answer_id": 910,
"author": "Grace Note",
"author_id": 9330,
"author_profile": "https://webmasters.meta.stackexchange.com/users/9330",
"pm_score": 2,
"selected": false,
"text": "<p><a href=\"http://twitter.com/#!/stackwebmasters\" rel=\"nofollow noreferrer\"><img src=\"https://i.stack.... | 2012/12/10 | [
"https://webmasters.meta.stackexchange.com/questions/909",
"https://webmasters.meta.stackexchange.com",
"https://webmasters.meta.stackexchange.com/users/9330/"
] | As it is December 2012, we are now going to reset our Community Promotion Ads for the new year.
### What are Community Promotion Ads?
Community Promotion Ads are community-vetted advertisements that will show up on the main site, in the right sidebar. The purpose of this question is the vetting process. Images of the... | [](http://twitter.com/#!/stackwebmasters) |
1,147 | <p>It's the time of the year again, namely it is December 2013, and so we shall now refresh our Community Promotion Ads for the new year.</p>
<h3>What are Community Promotion Ads?</h3>
<p>Community Promotion Ads are community-vetted advertisements that will show up on the main site, in the right sidebar. The purpose ... | [
{
"answer_id": 1148,
"author": "Grace Note",
"author_id": 9330,
"author_profile": "https://webmasters.meta.stackexchange.com/users/9330",
"pm_score": 1,
"selected": false,
"text": "<p><a href=\"http://twitter.com/#!/stackwebmasters\" rel=\"nofollow noreferrer\"><img src=\"https://i.stack... | 2013/12/06 | [
"https://webmasters.meta.stackexchange.com/questions/1147",
"https://webmasters.meta.stackexchange.com",
"https://webmasters.meta.stackexchange.com/users/9330/"
] | It's the time of the year again, namely it is December 2013, and so we shall now refresh our Community Promotion Ads for the new year.
### What are Community Promotion Ads?
Community Promotion Ads are community-vetted advertisements that will show up on the main site, in the right sidebar. The purpose of this questio... | [](http://twitter.com/#!/stackwebmasters) |
1,178 | <p>I migrated this post to ux.stackexchange.com:</p>
<p><a href="https://webmasters.stackexchange.com/questions/57101/are-there-studies-about-the-use-of-categories-and-tags?noredirect=1">https://webmasters.stackexchange.com/questions/57101/are-there-studies-about-the-use-of-categories-and-tags?noredirect=1</a></p>
<p... | [
{
"answer_id": 1170,
"author": "Stephen Ostermiller",
"author_id": 14543,
"author_profile": "https://webmasters.meta.stackexchange.com/users/14543",
"pm_score": 2,
"selected": false,
"text": "<p>Middle clicking on a link opens it in a new tab. No need to make it happen for everybody.</... | 2014/01/15 | [
"https://webmasters.meta.stackexchange.com/questions/1178",
"https://webmasters.meta.stackexchange.com",
"https://webmasters.meta.stackexchange.com/users/14543/"
] | I migrated this post to ux.stackexchange.com:
<https://webmasters.stackexchange.com/questions/57101/are-there-studies-about-the-use-of-categories-and-tags?noredirect=1>
The text on this site that says "migrated to ux.stackexchange.com by Stephen Ostermiller" links to the revisions page for the question on user experi... | Middle clicking on a link opens it in a new tab. No need to make it happen for everybody.
The use of `_blank` to open links in a new window or tab has been [discussed on the user experience StackExchange site](https://ux.stackexchange.com/questions/5397/whats-your-take-on-target-blank). The consensus there appears to ... |
1,187 | <p>Ok, so 2 of my previous questions got locked (even though <a href="https://webmasters.stackexchange.com/users/9376/damoncloudflare">damoncloudflare</a> tried to help and answer) because it's off-topic and it's too broad and it's asking too many questions in a single question.</p>
<p>How am I supposed to ask a quest... | [
{
"answer_id": 1188,
"author": "Stephen Ostermiller",
"author_id": 14543,
"author_profile": "https://webmasters.meta.stackexchange.com/users/14543",
"pm_score": 2,
"selected": false,
"text": "<p>Here is how I would ask you question in such a way that:</p>\n\n<ul>\n<li>It is clearly about... | 2014/02/12 | [
"https://webmasters.meta.stackexchange.com/questions/1187",
"https://webmasters.meta.stackexchange.com",
"https://webmasters.meta.stackexchange.com/users/14004/"
] | Ok, so 2 of my previous questions got locked (even though [damoncloudflare](https://webmasters.stackexchange.com/users/9376/damoncloudflare) tried to help and answer) because it's off-topic and it's too broad and it's asking too many questions in a single question.
How am I supposed to ask a question how various CDNs ... | Here is how I would ask you question in such a way that:
* It is clearly about your website.
* It asks a single question.
* It is answerable and not open ended.
* It isn't too broad
>
> If content delivery networks honor the 'Vary: User-Agent' header, does it effect performance?
> -----------------------------------... |
1,301 | <p>The dawn of a new year, 2015, now approaches, or has already approached, either way it means that it is now time to reset our Community Promotion Ads!</p>
<h3>What are Community Promotion Ads?</h3>
<p>Community Promotion Ads are community-vetted advertisements that will show up on the main site, in the right sideb... | [
{
"answer_id": 1302,
"author": "Grace Note",
"author_id": 9330,
"author_profile": "https://webmasters.meta.stackexchange.com/users/9330",
"pm_score": 0,
"selected": false,
"text": "<p><a href=\"http://twitter.com/stackwebmasters\" rel=\"nofollow noreferrer\"><img src=\"https://i.stack.im... | 2015/01/01 | [
"https://webmasters.meta.stackexchange.com/questions/1301",
"https://webmasters.meta.stackexchange.com",
"https://webmasters.meta.stackexchange.com/users/9330/"
] | The dawn of a new year, 2015, now approaches, or has already approached, either way it means that it is now time to reset our Community Promotion Ads!
### What are Community Promotion Ads?
Community Promotion Ads are community-vetted advertisements that will show up on the main site, in the right sidebar. The purpose... | [See all questions with active bounties http://stack-exchange-dynamic-ads.herokuapp.com/webmasters.stackexchange.com/bounty.png](https://webmasters.stackexchange.com/?tab=featured) |
1,400 | <p>It's 2016 now, and we've <a href="https://meta.stackexchange.com/questions/272563/were-standardizing-the-sidebar-width-at-300px-on-all-sites">made some changes to the sidebar size</a>. As such, we can now restart the Community Promotion Ads for 2016!</p>
<p>Keep in mind, we have updated some of the guidelines compa... | [
{
"answer_id": 1401,
"author": "Grace Note",
"author_id": 9330,
"author_profile": "https://webmasters.meta.stackexchange.com/users/9330",
"pm_score": 1,
"selected": false,
"text": "<p><a href=\"http://twitter.com/stackwebmasters\" rel=\"nofollow noreferrer\"><img src=\"https://i.stack.im... | 2016/01/15 | [
"https://webmasters.meta.stackexchange.com/questions/1400",
"https://webmasters.meta.stackexchange.com",
"https://webmasters.meta.stackexchange.com/users/9330/"
] | It's 2016 now, and we've [made some changes to the sidebar size](https://meta.stackexchange.com/questions/272563/were-standardizing-the-sidebar-width-at-300px-on-all-sites). As such, we can now restart the Community Promotion Ads for 2016!
Keep in mind, we have updated some of the guidelines compared to previously - t... | [](http://twitter.com/stackwebmasters) |
1,410 | <p>A post had broken Markdown, as follows:</p>
<blockquote>
<pre><code>[link one][1] and [link two][1]
[1]: https://example.com/one
[2]: https://example.com/two
</code></pre>
</blockquote>
<p>See the flaw? <code>[link two][1]</code>, means that both links are in fact to link <em>one</em>.</p>
<p>This is a prob... | [
{
"answer_id": 1406,
"author": "Stephen Ostermiller",
"author_id": 14543,
"author_profile": "https://webmasters.meta.stackexchange.com/users/14543",
"pm_score": 4,
"selected": false,
"text": "<h2>What is an upvote?</h2>\n\n<p>An upvote is an indication that you found a question or answer... | 2016/02/15 | [
"https://webmasters.meta.stackexchange.com/questions/1410",
"https://webmasters.meta.stackexchange.com",
"https://webmasters.meta.stackexchange.com/users/2776/"
] | A post had broken Markdown, as follows:
>
>
> ```
> [link one][1] and [link two][1]
>
> [1]: https://example.com/one
>
> [2]: https://example.com/two
>
> ```
>
>
See the flaw? `[link two][1]`, means that both links are in fact to link *one*.
This is a problem. So [I fixed it](https://webmasters.stackexcha... | What is an upvote?
------------------
An upvote is an indication that you found a question or answer useful.
How can I upvote?
-----------------
The controls for voting are to the left of questions and answers.

The upvote is the up arrow. When you press it the circle around ... |
1,491 | <p>It is a bit late into this new year, being that we're already in the second month, but we are now cycling the Community Promotion Ads for 2017!</p>
<h3>What are Community Promotion Ads?</h3>
<p>Community Promotion Ads are community-vetted advertisements that will show up on the main site, in the right sidebar. The... | [
{
"answer_id": 1492,
"author": "Grace Note",
"author_id": 9330,
"author_profile": "https://webmasters.meta.stackexchange.com/users/9330",
"pm_score": 1,
"selected": false,
"text": "<p><a href=\"http://twitter.com/stackwebmasters\" rel=\"nofollow noreferrer\"><img src=\"https://i.stack.im... | 2017/02/02 | [
"https://webmasters.meta.stackexchange.com/questions/1491",
"https://webmasters.meta.stackexchange.com",
"https://webmasters.meta.stackexchange.com/users/9330/"
] | It is a bit late into this new year, being that we're already in the second month, but we are now cycling the Community Promotion Ads for 2017!
### What are Community Promotion Ads?
Community Promotion Ads are community-vetted advertisements that will show up on the main site, in the right sidebar. The purpose of thi... | [](http://twitter.com/stackwebmasters) |
1,504 | <p>I noticed that on the front page, only 5 questions had accepted answers. I thought this was disturbingly low but then remembered that these are (mostly) new questions, so time may be needed.</p>
<p>Curious I went back to questions 200 - 250 ago and only 11 had accepted answers.</p>
<p>I do understand the thoughts... | [
{
"answer_id": 1505,
"author": "John Conde",
"author_id": 1253,
"author_profile": "https://webmasters.meta.stackexchange.com/users/1253",
"pm_score": 4,
"selected": true,
"text": "<p>This is perfectly fine. Accepting an answer tells the community that the problem was solved and which ans... | 2017/03/25 | [
"https://webmasters.meta.stackexchange.com/questions/1504",
"https://webmasters.meta.stackexchange.com",
"https://webmasters.meta.stackexchange.com/users/16250/"
] | I noticed that on the front page, only 5 questions had accepted answers. I thought this was disturbingly low but then remembered that these are (mostly) new questions, so time may be needed.
Curious I went back to questions 200 - 250 ago and only 11 had accepted answers.
I do understand the thoughts expressed in [Can... | This is perfectly fine. Accepting an answer tells the community that the problem was solved and which answer was preferred by the question-asker. It also rewards the answer-er with deserved reputation.
Additionally, it prevents the question from being auto-bumped by Community periodically in an attempt to get the ques... |
1,547 | <p>It's almost February in 2018, which isn't supposed to be the proper time to cycle these, but for this year it'll be once again, so we'll be refreshing the <strong>Community Promotion Ads</strong> for this year now!</p>
<h3>What are Community Promotion Ads?</h3>
<p>Community Promotion Ads are community-vetted adver... | [
{
"answer_id": 1548,
"author": "Grace Note",
"author_id": 9330,
"author_profile": "https://webmasters.meta.stackexchange.com/users/9330",
"pm_score": 0,
"selected": false,
"text": "<p><a href=\"http://twitter.com/stackwebmasters\" rel=\"nofollow noreferrer\"><img src=\"https://i.stack.im... | 2018/01/29 | [
"https://webmasters.meta.stackexchange.com/questions/1547",
"https://webmasters.meta.stackexchange.com",
"https://webmasters.meta.stackexchange.com/users/9330/"
] | It's almost February in 2018, which isn't supposed to be the proper time to cycle these, but for this year it'll be once again, so we'll be refreshing the **Community Promotion Ads** for this year now!
### What are Community Promotion Ads?
Community Promotion Ads are community-vetted advertisements that will show up ... | [](https://area51.stackexchange.com/proposals/110851/sales-and-marketing) |
72 | <p>What are the basic things to do in order to make a web site iPhone-friendly or more mobile-accessible in general?</p>
| [
{
"answer_id": 97,
"author": "D4V360",
"author_id": 57,
"author_profile": "https://webmasters.stackexchange.com/users/57",
"pm_score": 3,
"selected": false,
"text": "<p>With more and more phones with higher resolution, good browser scaling and normal javascript/css support it's much less... | 2010/07/08 | [
"https://webmasters.stackexchange.com/questions/72",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/59/"
] | What are the basic things to do in order to make a web site iPhone-friendly or more mobile-accessible in general? | For the iPhone in particular you should consider configuring the viewport, which controls the scale at which your page will get rendered. This is especially useful if your site is significantly narrower than the default viewport width of 980px. You can do this with a meta tag:
```
<meta name = "viewport" content = "wi... |
84 | <p>I'd like for my website to be accessible (e.g., fully usable) through the IPad.</p>
<p>What do I need to do?</p>
| [
{
"answer_id": 90,
"author": "Oren Hizkiya",
"author_id": 87,
"author_profile": "https://webmasters.stackexchange.com/users/87",
"pm_score": 2,
"selected": false,
"text": "<p>I highly recommend having an actual device to test your site on as you develop.</p>\n"
},
{
"answer_id": ... | 2010/07/08 | [
"https://webmasters.stackexchange.com/questions/84",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/75/"
] | I'd like for my website to be accessible (e.g., fully usable) through the IPad.
What do I need to do? | General speaking (err... writing) all you need to do is aim to HTML 5 and Safari Specific CSS3 rules, to create gradients, shadows, etc ...
Add some [Apple Devices Specific tags](http://developer.apple.com/safari/library/documentation/appleapplications/reference/safarihtmlref/articles/metatags.html) like
```
<meta n... |
89 | <p>What is the best initial or general setup for the robots.txt to allow search engines to go through the site, but maybe restrict a few folders?</p>
<p>Is there a general setup that should always be used?</p>
| [
{
"answer_id": 101,
"author": "corymathews",
"author_id": 61,
"author_profile": "https://webmasters.stackexchange.com/users/61",
"pm_score": 3,
"selected": true,
"text": "<p>Google Webmaster tools has a Section called \"Crawler access\"</p>\n\n<p>This section allows you very easily to cr... | 2010/07/08 | [
"https://webmasters.stackexchange.com/questions/89",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/27/"
] | What is the best initial or general setup for the robots.txt to allow search engines to go through the site, but maybe restrict a few folders?
Is there a general setup that should always be used? | Google Webmaster tools has a Section called "Crawler access"
This section allows you very easily to create your robots.txt
For example to allow everything except blog a folder called test your robot.txt would look something like
```
User-agent: *
Disallow: /Test
Allow: /
``` |
131 | <p>I have a WordPress blog running on a MySQL database that I want to back up regularly. Would it be better to use the mysqldump program or the mysqlhotcopy script to make backups? What are the pros and cons of each? Are there any other options I should consider?</p>
| [
{
"answer_id": 150,
"author": "Mike",
"author_id": 27,
"author_profile": "https://webmasters.stackexchange.com/users/27",
"pm_score": 4,
"selected": true,
"text": "<p>I can tell you that I currently use mysqldump to maintain a backup of my database. I do this because my goal is to keep ... | 2010/07/08 | [
"https://webmasters.stackexchange.com/questions/131",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/41/"
] | I have a WordPress blog running on a MySQL database that I want to back up regularly. Would it be better to use the mysqldump program or the mysqlhotcopy script to make backups? What are the pros and cons of each? Are there any other options I should consider? | I can tell you that I currently use mysqldump to maintain a backup of my database. I do this because my goal is to keep weekly backups so that in the event someone removes their webpage(s), I can recover it from at most a week ago.
The good thing about this is that it is a basic text file so I can import it over to an... |
139 | <p>I'd like to do some URL rewriting (Why? See <a href="https://webmasters.stackexchange.com/questions/51/why-is-it-preferable-to-use-paths-with-slashes-instead-of-query-string-variables">this question</a>.) so that instead of users seeing addresses like </p>
<pre><code>labouseur.com/course-compilers.html
</code></pr... | [
{
"answer_id": 207,
"author": "Aiden Bell",
"author_id": 109,
"author_profile": "https://webmasters.stackexchange.com/users/109",
"pm_score": 2,
"selected": false,
"text": "<p>First, make sure apache has the module and that it is allowed in .htacces files, then add:</p>\n\n<pre><code>Rew... | 2010/07/08 | [
"https://webmasters.stackexchange.com/questions/139",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/96/"
] | I'd like to do some URL rewriting (Why? See [this question](https://webmasters.stackexchange.com/questions/51/why-is-it-preferable-to-use-paths-with-slashes-instead-of-query-string-variables).) so that instead of users seeing addresses like
```
labouseur.com/course-compilers.html
```
they can instead see and use s... | You could actually remove .html from the files on your server and set settings in htaccess so that they get served up as html files, but that's probably not what you're looking for.
Do this :
```
RewriteEngine on
# Check this condition to ensure that it's not a directory.
RewriteCond %{REQUEST_FILENAME} !-d
# Check t... |
212 | <p>Occasionally we need to deploy fairly complex changes to a website which require changes to databases (new or changed tables) and dynamic source code (such as PHP or ColdFusion). What is the best way to package and deploy these changes quickly without breaking everything on the live website?</p>
| [
{
"answer_id": 235,
"author": "Mike",
"author_id": 27,
"author_profile": "https://webmasters.stackexchange.com/users/27",
"pm_score": 3,
"selected": true,
"text": "<p>Short answer: it is a pain in the neck!</p>\n\n<p>I have had to do this several times (and every time makes me want to th... | 2010/07/08 | [
"https://webmasters.stackexchange.com/questions/212",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/80/"
] | Occasionally we need to deploy fairly complex changes to a website which require changes to databases (new or changed tables) and dynamic source code (such as PHP or ColdFusion). What is the best way to package and deploy these changes quickly without breaking everything on the live website? | Short answer: it is a pain in the neck!
I have had to do this several times (and every time makes me want to think about my design more on the next project I do). What I do is to fork the codebase to a Development section (or folder, or server, etc) so that I can work on it separately to make sure all the bugs are out... |
282 | <p>I have a folder that I want to host files privately on my webserver.</p>
<p>How do I go about making it password protected using .htaccess?</p>
<p><em>Note: Nothing monolithic, I want something that is simple/easy so setup so me and a few colleagues can download a few files.</em></p>
| [
{
"answer_id": 307,
"author": "Oren Hizkiya",
"author_id": 87,
"author_profile": "https://webmasters.stackexchange.com/users/87",
"pm_score": 3,
"selected": true,
"text": "<p>You'll need to create a file called <code>.htpasswd</code> with the content of <code>username:password</code> (yo... | 2010/07/08 | [
"https://webmasters.stackexchange.com/questions/282",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/120/"
] | I have a folder that I want to host files privately on my webserver.
How do I go about making it password protected using .htaccess?
*Note: Nothing monolithic, I want something that is simple/easy so setup so me and a few colleagues can download a few files.* | You'll need to create a file called `.htpasswd` with the content of `username:password` (you should encrypt that.
Then append this to the `htaccesss file`:
```
AuthUserFile /usr/local/you/safedir/.htpasswd
AuthGroupFile /dev/null
AuthName EnterPassword
AuthType Basic
require user username
```
Follow [this guide](h... |
298 | <p>How do I use transparent PNGs in IE6? I have a corporate app that <strong>must</strong> use IE6 and <strong>must</strong> use use PNGs, but the transparency all comes through as a pale white colour.</p>
| [
{
"answer_id": 299,
"author": "Mark Henderson",
"author_id": 138,
"author_profile": "https://webmasters.stackexchange.com/users/138",
"pm_score": 4,
"selected": true,
"text": "<p>There is a jQuery <a href=\"http://jquery.andreaseberhard.de/pngFix/\" rel=\"nofollow\">plugin for it here</a... | 2010/07/08 | [
"https://webmasters.stackexchange.com/questions/298",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/138/"
] | How do I use transparent PNGs in IE6? I have a corporate app that **must** use IE6 and **must** use use PNGs, but the transparency all comes through as a pale white colour. | There is a jQuery [plugin for it here](http://jquery.andreaseberhard.de/pngFix/), or the following script also does a good job (just call it in your `<body onload="">`;
```
function fixPNG(){
var arVersion = navigator.appVersion.split("MSIE")
var version = parseFloat(arVersion[1])
if ((version >=... |
312 | <p>I recently made a change to my User class (which is memcached); is there any way I can invalidate all entries whose key begins with <code>User</code> without invalidating the entire cache?</p>
<p>If not are there any workarounds? I would rather not delete everything.</p>
| [
{
"answer_id": 332,
"author": "artlung",
"author_id": 26,
"author_profile": "https://webmasters.stackexchange.com/users/26",
"pm_score": 3,
"selected": true,
"text": "<p>In the <a href=\"http://code.google.com/p/memcached/wiki/FAQ\" rel=\"nofollow\">memcached FAQ</a>, <a href=\"http://co... | 2010/07/08 | [
"https://webmasters.stackexchange.com/questions/312",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/141/"
] | I recently made a change to my User class (which is memcached); is there any way I can invalidate all entries whose key begins with `User` without invalidating the entire cache?
If not are there any workarounds? I would rather not delete everything. | In the [memcached FAQ](http://code.google.com/p/memcached/wiki/FAQ), [**Deleting by Namespace**](http://code.google.com/p/memcached/wiki/FAQ#Deleting_by_Namespace):
>
> While memcached does not support any
> type of wildcard deleting or deletion
> by namespace (since there are not
> namespaces), there are some tri... |
356 | <p>What are the best options for parsing Amazon S3 (Simple Storage) log files? I've turned on logging and now I have log files that look like this:</p>
<pre><code>858e709ba90996df37d6f5152650086acb6db14a67d9aaae7a0f3620fdefb88f files.example.com [08/Jul/2010:10:31:42 +0000] 68.114.21.105 65a011a29cdf8ec533ec3d1ccaae92... | [
{
"answer_id": 382,
"author": "Chealion",
"author_id": 24,
"author_profile": "https://webmasters.stackexchange.com/users/24",
"pm_score": 3,
"selected": true,
"text": "<p>Amazon recommends using AWStats and includes <a href=\"http://developer.amazonwebservices.com/connect/entry.jspa?exte... | 2010/07/09 | [
"https://webmasters.stackexchange.com/questions/356",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/26/"
] | What are the best options for parsing Amazon S3 (Simple Storage) log files? I've turned on logging and now I have log files that look like this:
```
858e709ba90996df37d6f5152650086acb6db14a67d9aaae7a0f3620fdefb88f files.example.com [08/Jul/2010:10:31:42 +0000] 68.114.21.105 65a011a29cdf8ec533ec3d1ccaae921c 13880FBC983... | Amazon recommends using AWStats and includes [instructions on how to set up an AWStats configuration file](http://developer.amazonwebservices.com/connect/entry.jspa?externalID=2330). You will also need to set up some method to automate downloading the logs to where your AWStats installation is.
Personally I use cron t... |
403 | <p>When I set up a site in multiple languages, how should I set up my URLs for search engines and usability?</p>
<p>Let's say my site is <code>www.example.com</code>, and I'm translating into French and Spanish. What is best for usability and SEO?</p>
<p><strong>Directory option:</strong></p>
<pre><code>http://www.e... | [
{
"answer_id": 412,
"author": "Wookai",
"author_id": 172,
"author_profile": "https://webmasters.stackexchange.com/users/172",
"pm_score": 4,
"selected": false,
"text": "<p>In my opinion, you should use either the folder or subdomain approach, because they are more intuitive to the user. ... | 2010/07/09 | [
"https://webmasters.stackexchange.com/questions/403",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/26/"
] | When I set up a site in multiple languages, how should I set up my URLs for search engines and usability?
Let's say my site is `www.example.com`, and I'm translating into French and Spanish. What is best for usability and SEO?
**Directory option:**
```
http://www.example.com/sample.html
http://www.example.com/fr/sam... | There are many acceptable ways to structure your site for both SEO and internationalization. Each have advantages and disadvantages.
Top Level Domains
-----------------
Buy the same domain name at multiple top level country domains like `example.com`, `example.es` and `example.de`.
**Advantages**
* Fully supported ... |
462 | <p>I am helping a friend to bring a very large, completely static web site out of the stone age. One thing I'd like to add immediately is a RSS/ATOM feed.</p>
<p>He does not like working with any kind of CMS. He makes his pages using a Dream Weaver template, then uploads it and manually updates some pages to link to t... | [
{
"answer_id": 493,
"author": "danivovich",
"author_id": 93,
"author_profile": "https://webmasters.stackexchange.com/users/93",
"pm_score": 2,
"selected": false,
"text": "<p>I can't think of anything off the shelf, but you could be pretty easily script something like this in Ruby for exa... | 2010/07/09 | [
"https://webmasters.stackexchange.com/questions/462",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/55/"
] | I am helping a friend to bring a very large, completely static web site out of the stone age. One thing I'd like to add immediately is a RSS/ATOM feed.
He does not like working with any kind of CMS. He makes his pages using a Dream Weaver template, then uploads it and manually updates some pages to link to the new con... | Dan Bricklin, creator of VisiCalc, has a free product called [Software Garden ListGarden](http://www.softwaregarden.com/products/listgarden/) that generates RSS feeds manually:
[](https://i.stack.imgur.com/dBACo.gif)
(source: [softwaregarden.com](http://www.softwarega... |
530 | <p>When I receive Flash objects from my designer, it comes with an example HTML page which includes both <code><object></code> tags and <code><embed></code> tags as well as a whole heap of JavaScript. If I copy and paste this code in to my webpage, it works, but the code looks a mess (and there is so much o... | [
{
"answer_id": 540,
"author": "Mark Hatton",
"author_id": 130,
"author_profile": "https://webmasters.stackexchange.com/users/130",
"pm_score": 2,
"selected": false,
"text": "<p>There are some great answers to this already over at StackOverflow: <a href=\"https://stackoverflow.com/questio... | 2010/07/09 | [
"https://webmasters.stackexchange.com/questions/530",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/130/"
] | When I receive Flash objects from my designer, it comes with an example HTML page which includes both `<object>` tags and `<embed>` tags as well as a whole heap of JavaScript. If I copy and paste this code in to my webpage, it works, but the code looks a mess (and there is so much of it!). If I remove the extra code an... | [SWFObject](http://code.google.com/p/swfobject/) is what you're looking for. It's a JavaScript library that does all the cross-browser heavy-lifting. Simply include the JavaScript file in your page, create an element to be replaced in your source, and tell swfobject the name that that element and the path to the `.swf`... |
541 | <p>Is there some setting that I can search for in Apache configurations to make sure that all pages, CSS, and JavaScript are sent via gzip?</p>
<p>Are they located in different places for different Operating Systems (if so, I am running Debian).</p>
| [
{
"answer_id": 543,
"author": "Darryl Hein",
"author_id": 210,
"author_profile": "https://webmasters.stackexchange.com/users/210",
"pm_score": 3,
"selected": true,
"text": "<p>I put the following in my httpd.conf and it seems to work:</p>\n\n<pre><code> # 20100709 added etag code\n Fil... | 2010/07/09 | [
"https://webmasters.stackexchange.com/questions/541",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/27/"
] | Is there some setting that I can search for in Apache configurations to make sure that all pages, CSS, and JavaScript are sent via gzip?
Are they located in different places for different Operating Systems (if so, I am running Debian). | I put the following in my httpd.conf and it seems to work:
```
# 20100709 added etag code
FileETag MTime Size
# 20100709 added compression START
# Insert filter
SetOutputFilter DEFLATE
# Netscape 4.x has some problems...
BrowserMatch ^Mozilla/4 gzip-only-text/html
# Netscape 4.06-4.08 have some mor... |
609 | <p>OK I have blocked "Evony Online" and other such annoying stuff using the competitive ad filter. But I am now getting these exasperating flash adverts from Google themselves for "Google Translate".</p>
<p>How do I block adsense ads from Google? I tried putting google.com and google.co.* into the competitive ad filte... | [
{
"answer_id": 612,
"author": "Gelatin",
"author_id": 215,
"author_profile": "https://webmasters.stackexchange.com/users/215",
"pm_score": 3,
"selected": true,
"text": "<blockquote>\n <p>I tried putting google.com and google.co.* into the competitive ad filter but it doesn't seem to wor... | 2010/07/10 | [
"https://webmasters.stackexchange.com/questions/609",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/-1/"
] | OK I have blocked "Evony Online" and other such annoying stuff using the competitive ad filter. But I am now getting these exasperating flash adverts from Google themselves for "Google Translate".
How do I block adsense ads from Google? I tried putting google.com and google.co.\* into the competitive ad filter but it ... | >
> I tried putting google.com and google.co.\* into the competitive ad filter but it doesn't seem to work.
>
>
>
The adsense URI is:
```
googlesyndication.com
``` |
675 | <p>I was thinking about implementing a tagging system for my blog to attach one to five tags to each blog post. </p>
<p>Are there any tricks to help search engines identify that these are tags though and that they should use this information to help determine what the blog post is about?</p>
<p>Or is tagging complete... | [
{
"answer_id": 676,
"author": "Tim Post",
"author_id": 55,
"author_profile": "https://webmasters.stackexchange.com/users/55",
"pm_score": 1,
"selected": false,
"text": "<p>I've found that strategic use of nofollow links helps here. For instance, tags at the bottom of the post should not ... | 2010/07/11 | [
"https://webmasters.stackexchange.com/questions/675",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/219/"
] | I was thinking about implementing a tagging system for my blog to attach one to five tags to each blog post.
Are there any tricks to help search engines identify that these are tags though and that they should use this information to help determine what the blog post is about?
Or is tagging completely ignored and no... | I definitely recommend using the `rel="tag"` microformat attribute.
<http://microformats.org/wiki/rel-tag>
I have [mixed feelings about microformats in general](http://www.codinghorror.com/blog/2009/12/microformats-boon-or-bane.html) but this one is quite easy and simple, and has no downside.
You can see how we do i... |
680 | <p>Are there any mechanisms to control what the Internet Archive archives on a site? I know to disallow all pages I could add:</p>
<pre><code>User-agent: ia_archiver
Disallow: /
</code></pre>
<ol>
<li><p>Can I tell the bot that I want them to crawl my site once a month, or once a year?</p>
</li>
<li><p>I have a site/pa... | [
{
"answer_id": 690,
"author": "Kris",
"author_id": 221,
"author_profile": "https://webmasters.stackexchange.com/users/221",
"pm_score": 4,
"selected": true,
"text": "<p><strong>Note</strong>: This answer is increasingly out-of-date.</p>\n\n<p>The largest contributor to the Internet Archi... | 2010/07/11 | [
"https://webmasters.stackexchange.com/questions/680",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/26/"
] | Are there any mechanisms to control what the Internet Archive archives on a site? I know to disallow all pages I could add:
```
User-agent: ia_archiver
Disallow: /
```
1. Can I tell the bot that I want them to crawl my site once a month, or once a year?
2. I have a site/pages that doesn't/don't get archived correctl... | **Note**: This answer is increasingly out-of-date.
The largest contributor to the Internet Archive's web collection has been Alexa Internet. Material that Alexa crawls for its purposes has been donated to IA a few months later. Adding the disallow rule mentioned in the question does not affect those crawls, but the Wa... |
707 | <p>I've noticed over the past few days someone has been entering text like the following into my comment fields :</p>
<pre><code><a href="http://www.distritofederal.df.gov.br/003/00301009.asp?ttCD_CHAVE=101732&lorcet">lorcet</a>
unendurable imperfections <a href="http://www.distritofederal.df.gov.... | [
{
"answer_id": 709,
"author": "Mark Hatton",
"author_id": 130,
"author_profile": "https://webmasters.stackexchange.com/users/130",
"pm_score": 2,
"selected": false,
"text": "<p>One possibility is that this is enticing people to follow a link that includes some kind of exploit in the quer... | 2010/07/12 | [
"https://webmasters.stackexchange.com/questions/707",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/102/"
] | I've noticed over the past few days someone has been entering text like the following into my comment fields :
```
<a href="http://www.distritofederal.df.gov.br/003/00301009.asp?ttCD_CHAVE=101732&lorcet">lorcet</a>
unendurable imperfections <a href="http://www.distritofederal.df.gov.br/003/00301009.asp?ttCD_CHAVE=10... | They get links to their site, which is good for ranking high in the search engines.
And additionally they gain exposure, since visitors of your site might follow these links..
As @mark mentioned, it could very well be of malicious intend if the linked site is '*bad*'
More important is to make sure that your site doe... |
764 | <p>I've always used a very simple bash script to deploy code. I'm moving away from using subversion to Mercurial but I don't really think the revision control software matters for deployment.</p>
<p>What are some betters ways to do this?</p>
<pre><code>#!/bin/sh
date=`date +%Y%m%d_%H%M%S`
tar -zcvf app-dir-$date.tar.... | [
{
"answer_id": 768,
"author": "Don Kirkby",
"author_id": 131,
"author_profile": "https://webmasters.stackexchange.com/users/131",
"pm_score": 0,
"selected": false,
"text": "<p>We use ant's <a href=\"http://ant.apache.org/manual/Tasks/scp.html\" rel=\"nofollow\">scp task</a>, with the <a ... | 2010/07/12 | [
"https://webmasters.stackexchange.com/questions/764",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/100/"
] | I've always used a very simple bash script to deploy code. I'm moving away from using subversion to Mercurial but I don't really think the revision control software matters for deployment.
What are some betters ways to do this?
```
#!/bin/sh
date=`date +%Y%m%d_%H%M%S`
tar -zcvf app-dir-$date.tar.gz app/dir
tar -zcvf... | I use [Mercurial to manage everything](http://echoreply.us/tuto/mercurial_site_management.html), including my static HTML pages. It makes life really, really easy for me.
Benefits include
* All the perks version control offers (rollbacks, milestone tags, etc)
* Being able to clone your site in a hurry
* You always ha... |
780 | <p>I have some aging Wordpress blogs where I made the mistake of creating way too many categories (50+ in some instances). This was, in part, due to the fact that tagging was not yet available in Wordpress.</p>
<p>I'd like now to condense the categories and implement tags. The problem is, I don't want to break indexed... | [
{
"answer_id": 782,
"author": "Grant Palin",
"author_id": 132,
"author_profile": "https://webmasters.stackexchange.com/users/132",
"pm_score": 0,
"selected": false,
"text": "<p>WordPress offers an option to convert selected tags to categories, and vise versa. I think it's been done in a ... | 2010/07/13 | [
"https://webmasters.stackexchange.com/questions/780",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/55/"
] | I have some aging Wordpress blogs where I made the mistake of creating way too many categories (50+ in some instances). This was, in part, due to the fact that tagging was not yet available in Wordpress.
I'd like now to condense the categories and implement tags. The problem is, I don't want to break indexed links.
W... | Under your site's `Tools > Import` menu there is a plugin you can install called **[Categories and Tags Converter](http://wordpress.org/extend/plugins/wpcat2tag-importer/)**, which once installed will give you control over how to handle categories you might want to convert.
This is a relatively painless process in the... |
885 | <p>How long should my text within my <code><title></title></code> tags really be? I know Google cuts it off at some point but when? </p>
<p>When I used IIS7's SEO Toolkit 1.0 I get error stating my title should be under 65 characters. I have a book by Bruce Clay that states I should use from 62-70 chara... | [
{
"answer_id": 886,
"author": "Tim Post",
"author_id": 55,
"author_profile": "https://webmasters.stackexchange.com/users/55",
"pm_score": 6,
"selected": true,
"text": "<p>It's not just the length, it's being meaningful enough so that tabs in any given browser can be easily differentiated... | 2010/07/15 | [
"https://webmasters.stackexchange.com/questions/885",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/108/"
] | How long should my text within my `<title></title>` tags really be? I know Google cuts it off at some point but when?
When I used IIS7's SEO Toolkit 1.0 I get error stating my title should be under 65 characters. I have a book by Bruce Clay that states I should use from 62-70 characters and roughly 9 +/- 3 words. I a... | It's not just the length, it's being meaningful enough so that tabs in any given browser can be easily differentiated (usability), as well as SEO.
I never go over 80 characters in length, and I assume that it's likely that some indexes will truncate at 60 characters or so. That isn't as big as a concern as it used to ... |
961 | <p>Let's say I have a site that has multiple versions for different countries, e.g.:</p>
<pre><code>www.example.com/us
www.example.com/uk
www.example.com/ca
</code></pre>
<p>and I want to use IP geolocation to redirect users who go to <code>www.example.com</code> to the appropriate country version of the site. What ... | [
{
"answer_id": 963,
"author": "gekkz",
"author_id": 328,
"author_profile": "https://webmasters.stackexchange.com/users/328",
"pm_score": 1,
"selected": false,
"text": "<p>You will run into SEO issues because crawler IPs will likely get detected as being from US and won't be able to see t... | 2010/07/15 | [
"https://webmasters.stackexchange.com/questions/961",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/343/"
] | Let's say I have a site that has multiple versions for different countries, e.g.:
```
www.example.com/us
www.example.com/uk
www.example.com/ca
```
and I want to use IP geolocation to redirect users who go to `www.example.com` to the appropriate country version of the site. What is the best way to do that without con... | Google Webmaster Central has a great blog post discussing this topic: <http://googlewebmastercentral.blogspot.com/2010/03/working-with-multi-regional-websites.html> |
1,000 | <p>I know when I search Google for specific things I get back images underneath some sites. How do I get that to work for my site? I have even seen some sites that will return 4 or 5 images for the the site that are all relevant to my search</p>
| [
{
"answer_id": 1001,
"author": "JasonBirch",
"author_id": 180,
"author_profile": "https://webmasters.stackexchange.com/users/180",
"pm_score": 0,
"selected": false,
"text": "<p>There are a couple ways that I know of that Google places images in the search results</p>\n\n<p>The first of t... | 2010/07/16 | [
"https://webmasters.stackexchange.com/questions/1000",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/108/"
] | I know when I search Google for specific things I get back images underneath some sites. How do I get that to work for my site? I have even seen some sites that will return 4 or 5 images for the the site that are all relevant to my search | An additional technique Google recommends is an [Image Sitemap](http://www.google.com/support/webmasters/bin/answer.py?hl=en&answer=178636), for which you add an `<image>` tag to the normal sitemap XML, and apply metadata for the search engine:
>
> With image search, just as with web
> search, Google's goal is to pr... |
1,005 | <p>The title attribute is an HTML standard element available across most tags. e.g.</p>
<blockquote>
<p><code><li><a title="Widgets listed by household function" href="/widgets/by-function.html">by Function</a></li></code></p>
</blockquote>
<p>I've used this attribute on some sites for usab... | [
{
"answer_id": 1006,
"author": "Ruxton",
"author_id": 237,
"author_profile": "https://webmasters.stackexchange.com/users/237",
"pm_score": 0,
"selected": false,
"text": "<p>it's a positive effect, that title will be associated with that link as a kind of set of keywords.</p>\n"
},
{
... | 2010/07/16 | [
"https://webmasters.stackexchange.com/questions/1005",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/180/"
] | The title attribute is an HTML standard element available across most tags. e.g.
>
> `<li><a title="Widgets listed by household function" href="/widgets/by-function.html">by Function</a></li>`
>
>
>
I've used this attribute on some sites for usability; many browsers pop up a "tooltip" over the link with the more ... | This is an old question that got bumped because of an edit, and a lot has changed.
==================================================================================
The title tag is used ("displayed") when hovering over the element in this case a link. It can be used for tool tip info et la. It has not been a part of... |
1,095 | <p>We have a PHP 5 web application and we're currently evaluating <a href="http://pear.php.net/package/PHP_CodeSniffer">PHP CodeSniffer</a> in order to decide whether forcing code standards improves code quality without causing too much of a headache. If it seems good we will add a SVN pre-commit hook to ensure all new... | [
{
"answer_id": 1107,
"author": "dragonmantank",
"author_id": 558,
"author_profile": "https://webmasters.stackexchange.com/users/558",
"pm_score": 3,
"selected": false,
"text": "<p>You're going to run into a lot of issues running PHPCS with your PHP code mixed in with HTML. PHPCS is only ... | 2010/07/16 | [
"https://webmasters.stackexchange.com/questions/1095",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/500/"
] | We have a PHP 5 web application and we're currently evaluating [PHP CodeSniffer](http://pear.php.net/package/PHP_CodeSniffer) in order to decide whether forcing code standards improves code quality without causing too much of a headache. If it seems good we will add a SVN pre-commit hook to ensure all new files committ... | I found a solution for removing the "*Line indented incorrectly*" error but first I should say that *dragonmantank* has a excellent point - you shouldn't mix PHP and HTML. It is a recipe for headaches. However, unfortunatly I think mixing PHP and HTML is very common especially in legacy software.
The quickest and dirt... |
1,148 | <p>Noticed something interesting in WordPress...hopefully its just me not seeing the right option.</p>
<p>Whenever a user requests a new password, it will notify the site admin that the password was changed. What I'd like to do is disable this feature, as for this specific site I really don't care if users are changin... | [
{
"answer_id": 1169,
"author": "John",
"author_id": 686,
"author_profile": "https://webmasters.stackexchange.com/users/686",
"pm_score": 1,
"selected": false,
"text": "<p>I couldn't see anything in WP 3.0 that did what you wanted.</p>\n\n<p>The Register Plus plugin <em>almost</em> gives ... | 2010/07/17 | [
"https://webmasters.stackexchange.com/questions/1148",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/619/"
] | Noticed something interesting in WordPress...hopefully its just me not seeing the right option.
Whenever a user requests a new password, it will notify the site admin that the password was changed. What I'd like to do is disable this feature, as for this specific site I really don't care if users are changing their pa... | You have to write a simple pluging that overwrites wp\_password\_change\_notification.
```
if ( !function_exists( 'wp_password_change_notification' ) ) {
function wp_password_change_notification() {}
}
```
More detailed instructions can be found here:
<http://wpquicktips.wordpress.com/2011/03/23/disable-passwor... |
1,186 | <p>Say I have this webpage: <code>http://ww.xyz.com/Product.aspx?CategoryId=1</code></p>
<p>If the name of CategoryId=1 is "Dogs" I would like to convert the URL into something like this: <code>http://ww.xyz.com/Products/Dogs</code></p>
<p>The problem is if the category name contains foreign (or invalid for a url) ch... | [
{
"answer_id": 1187,
"author": "Kris",
"author_id": 221,
"author_profile": "https://webmasters.stackexchange.com/users/221",
"pm_score": 1,
"selected": false,
"text": "<p>You could add a new field to the Products table that contained an URL safe and unique name for each product. This cou... | 2010/07/18 | [
"https://webmasters.stackexchange.com/questions/1186",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/708/"
] | Say I have this webpage: `http://ww.xyz.com/Product.aspx?CategoryId=1`
If the name of CategoryId=1 is "Dogs" I would like to convert the URL into something like this: `http://ww.xyz.com/Products/Dogs`
The problem is if the category name contains foreign (or invalid for a url) characters. If the name of CategoryId=2 i... | I've come up with the 2 following extension methods (asp.net / C#):
```
public static string RemoveAccent(this string txt)
{
byte[] bytes = System.Text.Encoding.GetEncoding("Cyrillic").GetBytes(txt);
return System.Text.Encoding.ASCII.GetString(bytes);
}
public static string Slugify(this string phrase)
{
... |
1,188 | <p>A few months ago I saw a video where someone explained a website where when you submit your link, it would be submitted to all mayor search engines. It looked like a pretty nice website.</p>
<p>I thought I would remember it but as always I forget both what the link was, I also forget where I saw the clip.</p>
<p>D... | [
{
"answer_id": 1195,
"author": "Ben Hoffman",
"author_id": 108,
"author_profile": "https://webmasters.stackexchange.com/users/108",
"pm_score": 0,
"selected": false,
"text": "<p>These are the two I see out there:</p>\n\n<ul>\n<li><a href=\"http://www.addme.com/\" rel=\"nofollow\">http://... | 2010/07/18 | [
"https://webmasters.stackexchange.com/questions/1188",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/693/"
] | A few months ago I saw a video where someone explained a website where when you submit your link, it would be submitted to all mayor search engines. It looked like a pretty nice website.
I thought I would remember it but as always I forget both what the link was, I also forget where I saw the clip.
Does anyone know s... | I do submit any new sites I create to search engines, but I don't do it through the "old" method of just submitting a URL (such as [here on Google](http://www.google.com/addurl/?continue=/addurl)). Instead I create an [XML sitemap](http://www.sitemaps.org/) and I then go to each search engine's webmaster management con... |
1,203 | <p>Recently I started to work again with AdSense program, but when I placed code in my WordPress blog it didn't display even after 30min.<br>
So maybe I'm doing something wrong?<br>
I did setup the account.<br>
Created ad for content.<br>
Got the code.<br>
Placed it in my themes sidebar.</p>
<p>Maybe I have to add my ... | [
{
"answer_id": 1204,
"author": "Community",
"author_id": -1,
"author_profile": "https://webmasters.stackexchange.com/users/-1",
"pm_score": 3,
"selected": true,
"text": "<p>Well, first of all, I won't insult your intelligence by saying \"You did turn off Adblock, didn't you?\", because i... | 2010/07/18 | [
"https://webmasters.stackexchange.com/questions/1203",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/94/"
] | Recently I started to work again with AdSense program, but when I placed code in my WordPress blog it didn't display even after 30min.
So maybe I'm doing something wrong?
I did setup the account.
Created ad for content.
Got the code.
Placed it in my themes sidebar.
Maybe I have to add my webpage address... | Well, first of all, I won't insult your intelligence by saying "You did turn off Adblock, didn't you?", because it's probably only me that forgets about that kind of thing.
Next possibility: Is your blog actually on a public-facing server or is it on a test machine? If it's on a test machine like <http://localhost/> t... |
1,220 | <p>I have a website with dynamic content and different kind of pages. I have some pages that rarely change, and I have pages like blogs that change often. The blog pages also have links for sorting, for example sorting on date, asc, desc.</p>
<p>On some of the pages I also have links to different tabbed content, and l... | [
{
"answer_id": 1222,
"author": "DisgruntledGoat",
"author_id": 233,
"author_profile": "https://webmasters.stackexchange.com/users/233",
"pm_score": 2,
"selected": false,
"text": "<p>If you are using any decent blogging software then you should have an RSS feed, which is usable as a Sitem... | 2010/07/18 | [
"https://webmasters.stackexchange.com/questions/1220",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/693/"
] | I have a website with dynamic content and different kind of pages. I have some pages that rarely change, and I have pages like blogs that change often. The blog pages also have links for sorting, for example sorting on date, asc, desc.
On some of the pages I also have links to different tabbed content, and links that ... | You should use your [sitemap](http://en.wikipedia.org/wiki/Sitemaps) to index everything. There's no downside to including every url, and there is a danger that at a large scale some urls will get missed.
In your sitemap, every url can have different set of data associated with it. Have a look at the [Element Definiti... |
1,247 | <p>After buying a multi-domain SSL certificate I have started testing it with the Nginx webserver (following documentation in their <a href="http://wiki.nginx.org/NginxHttpSslModule">SSL wiki page</a>).</p>
<p>Everything is fine, it works and I get a green padlock symbol in the URL bar but... every time I restart Ngi... | [
{
"answer_id": 1251,
"author": "Peter Smit",
"author_id": 791,
"author_profile": "https://webmasters.stackexchange.com/users/791",
"pm_score": 1,
"selected": false,
"text": "<p>Yes, this is a common thing to do. If the pass phrase would be stored on disk, an attacker could take over the ... | 2010/07/19 | [
"https://webmasters.stackexchange.com/questions/1247",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/500/"
] | After buying a multi-domain SSL certificate I have started testing it with the Nginx webserver (following documentation in their [SSL wiki page](http://wiki.nginx.org/NginxHttpSslModule)).
Everything is fine, it works and I get a green padlock symbol in the URL bar but... every time I restart Nginx I get asked the fol... | As suggested, I asked the question on ServerFault: <https://serverfault.com/questions/161768/restart-webserver-without-entering-a-password>
But the short answer is:
Backup your key:
```
> cp server.key server.key.org
```
Strip out the password:
```
> openssl rsa -in server.key.org -out server.key
[enter the pass... |
1,276 | <p>I'm using Blogger with a custom domain. When I use the Google search <code>site:example.com</code>, the top results are in the form <code>Example: 2010-01-10</code>. These are archive pages that Blogger generates. My relevant content pages only show up after all of these, on page 2 or 3. Ideally I don't even want th... | [
{
"answer_id": 1277,
"author": "Ben Hoffman",
"author_id": 108,
"author_profile": "https://webmasters.stackexchange.com/users/108",
"pm_score": 1,
"selected": false,
"text": "<p>Ideally you would want to put a <code>rel=nofollow</code> in your anchor tag. I am not sure if you have acces... | 2010/07/19 | [
"https://webmasters.stackexchange.com/questions/1276",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/125/"
] | I'm using Blogger with a custom domain. When I use the Google search `site:example.com`, the top results are in the form `Example: 2010-01-10`. These are archive pages that Blogger generates. My relevant content pages only show up after all of these, on page 2 or 3. Ideally I don't even want these pages to appear in Go... | I believe what you want is to add this inside the `<head>` tags in your site's template - this should be a conditional piece of code that adds a `noindex` meta tag to ONLY your archive pages:
```
<b:if cond='data:blog.pageType == "archive"'>
<meta name="robots" content="noindex" />
</b:if>
```
See [more on blogger t... |
1,286 | <p>I have a page that gets minimal traffic, but I set up static notifications when it gets hit. Now, I want bots to get ignored, so what I'm doing now is adding bots I see to a "no notify" list. </p>
<p>Is there a reference listing of the IP addresses used by indexing robots?</p>
<p>e.g, a list like:</p>
<pre><code>... | [
{
"answer_id": 1297,
"author": "Ben Hoffman",
"author_id": 108,
"author_profile": "https://webmasters.stackexchange.com/users/108",
"pm_score": 1,
"selected": false,
"text": "<p>Why don't you just put this in your robots.txt file?</p>\n\n<pre><code>User-agent: *\nDisallow: /path/page-you... | 2010/07/19 | [
"https://webmasters.stackexchange.com/questions/1286",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/26/"
] | I have a page that gets minimal traffic, but I set up static notifications when it gets hit. Now, I want bots to get ignored, so what I'm doing now is adding bots I see to a "no notify" list.
Is there a reference listing of the IP addresses used by indexing robots?
e.g, a list like:
```
$no_mail = array(
'67.19... | <http://www.user-agents.org/> might be what you are looking for. |
1,305 | <p>We've got a page that embeds a <code>.MOV</code> file into a webpage. In the last 6 months it stopped working on some Macs. Then it stopped working on all macs. Then it stopped working on Windows XP. But it works fine in Windows 7. Here's what is embedded in the HTML:</p>
<pre><code><embed src="/Magic94Scripts/m... | [
{
"answer_id": 1307,
"author": "Mark Henderson",
"author_id": 138,
"author_profile": "https://webmasters.stackexchange.com/users/138",
"pm_score": 3,
"selected": true,
"text": "<p>I have solved the situation by doing URL ReWriting with the following rule:</p>\n\n<p><code>RewriteRule (/re... | 2010/07/20 | [
"https://webmasters.stackexchange.com/questions/1305",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/138/"
] | We've got a page that embeds a `.MOV` file into a webpage. In the last 6 months it stopped working on some Macs. Then it stopped working on all macs. Then it stopped working on Windows XP. But it works fine in Windows 7. Here's what is embedded in the HTML:
```
<embed src="/Magic94Scripts/mgrqispi94.dll?APPNAME=FileMa... | I have solved the situation by doing URL ReWriting with the following rule:
`RewriteRule (/res/)(.*)/(.*)/(.*)/(.*) /Magic94Scripts/mgrqispi94.dll?APPNAME=$2&PRGNAME=ViewResource&ResID=$3&size=$4 [I,O,U]`
And using URLs such as:
`/res/FileManager/2785/9/TheVideo.mp4`
Crazy, but it now works. I can only assume quick... |
1,325 | <p>I've set a few clients up with <a href="http://www.adobe.com/products/contribute/">Adobe (formerly Macromedia) Contribute</a> to edit static html content. Add the comments to prevent them from causing too much damage and it works okay:</p>
<pre><code><!-- TemplateBeginEditable name="UserEditedSection" -->
<... | [
{
"answer_id": 1369,
"author": "Frank Robert Anderson",
"author_id": 369,
"author_profile": "https://webmasters.stackexchange.com/users/369",
"pm_score": -1,
"selected": false,
"text": "<p>Personally I use Drupal for such things. Drupal is a content management system, it takes a bit to g... | 2010/07/20 | [
"https://webmasters.stackexchange.com/questions/1325",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/26/"
] | I've set a few clients up with [Adobe (formerly Macromedia) Contribute](http://www.adobe.com/products/contribute/) to edit static html content. Add the comments to prevent them from causing too much damage and it works okay:
```
<!-- TemplateBeginEditable name="UserEditedSection" -->
<p>stuff the user can edit</p>
<!-... | Here are a few different options of simpler CMS's, hosted and downloadable:
* [PageLime](http://www.pagelime.com/) (Hosted, Commercial,
Free up to 3 sites)
* [SnappySnippets](http://www.snappysnippets.com/) (Hosted, Commercial, Free for simpler sites)
* [CushyCMS](http://www.cushycms.com/) (Hosted, Commercial, Free fo... |
1,355 | <p>I have Blogger setup with the Blog Archive panel shown on every page so that users can easily get to old posts. The problem is that it lists the title of each page in this panel, meaning that the current page is getting keywords not directly relevant to it but to a different page.</p>
<p>For example, I might be wri... | [
{
"answer_id": 1356,
"author": "artlung",
"author_id": 26,
"author_profile": "https://webmasters.stackexchange.com/users/26",
"pm_score": 3,
"selected": false,
"text": "<p>Supposedly you can add the class <code>robots-nocontent</code> to elements on your page, like this:</p>\n\n<pre><cod... | 2010/07/20 | [
"https://webmasters.stackexchange.com/questions/1355",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/125/"
] | I have Blogger setup with the Blog Archive panel shown on every page so that users can easily get to old posts. The problem is that it lists the title of each page in this panel, meaning that the current page is getting keywords not directly relevant to it but to a different page.
For example, I might be writing about... | Supposedly you can add the class `robots-nocontent` to elements on your page, like this:
```
<div class="robots-nocontent">
<p>Ignore this stuff.</p>
</div>
```
[Yahoo respects this](http://help.yahoo.com/l/us/yahoo/search/indexing/slurp-14.html), though I don't know if other search engines respect this. It ap... |
1,360 | <p>I have noticed a few oddities recently with the titles of web pages in search engine results pages (SERPs). I started using some special characters in my page titles in order to make them look slightly more appealing in SERPs and perhaps stand out a bit more:</p>
<pre><code>&#8216;Item name&#8217; widget &a... | [
{
"answer_id": 1356,
"author": "artlung",
"author_id": 26,
"author_profile": "https://webmasters.stackexchange.com/users/26",
"pm_score": 3,
"selected": false,
"text": "<p>Supposedly you can add the class <code>robots-nocontent</code> to elements on your page, like this:</p>\n\n<pre><cod... | 2010/07/21 | [
"https://webmasters.stackexchange.com/questions/1360",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/233/"
] | I have noticed a few oddities recently with the titles of web pages in search engine results pages (SERPs). I started using some special characters in my page titles in order to make them look slightly more appealing in SERPs and perhaps stand out a bit more:
```
‘Item name’ widget • Site Name
(( Ite... | Supposedly you can add the class `robots-nocontent` to elements on your page, like this:
```
<div class="robots-nocontent">
<p>Ignore this stuff.</p>
</div>
```
[Yahoo respects this](http://help.yahoo.com/l/us/yahoo/search/indexing/slurp-14.html), though I don't know if other search engines respect this. It ap... |
1,389 | <p>I'm working on a flex app that relates documents (pdfs, images, etc) with events. When i click the document link in my app for PDFs, images, text files, etc, IE7 and IE8 present them in the appropriate editor and life is good. However, if the linked document is a .doc file, the popup window that shows when you click... | [
{
"answer_id": 1393,
"author": "Thomas",
"author_id": 871,
"author_profile": "https://webmasters.stackexchange.com/users/871",
"pm_score": 0,
"selected": false,
"text": "<p>IE has <a href=\"https://stackoverflow.com/questions/49284/file-downloads-in-ie6\">had trouble</a> with this sort o... | 2010/07/21 | [
"https://webmasters.stackexchange.com/questions/1389",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/920/"
] | I'm working on a flex app that relates documents (pdfs, images, etc) with events. When i click the document link in my app for PDFs, images, text files, etc, IE7 and IE8 present them in the appropriate editor and life is good. However, if the linked document is a .doc file, the popup window that shows when you click th... | Your webserver might not be sending the appropriate headers. If memory serves you need to send:
```
Content-Type: application/msword
Content-Length: <file size in bytes>
Content-Disposition: attachment; filename="<file name>"
Content-Transfer-Encoding: binary
Cache-Control: must-revalidate, post-check=0, pre-check=0
... |
1,423 | <p>When making the decision on the minimum requirements for a web application on client machines:</p>
<ol>
<li><strong>Browsers</strong> - Which browsers should one target at very minimum</li>
<li><strong>Screen Resolution</strong> - Which screen resolution should one target at very minimum</li>
</ol>
<p>To ensure th... | [
{
"answer_id": 1424,
"author": "Oren Hizkiya",
"author_id": 87,
"author_profile": "https://webmasters.stackexchange.com/users/87",
"pm_score": 3,
"selected": false,
"text": "<p>Instead of targeting a specific browser and resolution, I would start with the assumption that you want your si... | 2010/07/21 | [
"https://webmasters.stackexchange.com/questions/1423",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/922/"
] | When making the decision on the minimum requirements for a web application on client machines:
1. **Browsers** - Which browsers should one target at very minimum
2. **Screen Resolution** - Which screen resolution should one target at very minimum
To ensure the usability of the application is not compromised | [W3Schools](http://www.w3schools.com/browsers/browsers_display.asp) (for example) has some statistics on browser displays. As of January 2010:
```
Higher 1024x768 800x600 640x480 Unknown
76% 20% 1% 0% 3%
```
The Higher figure links to a [new table](http://www.w3schools.com/b... |
1,433 | <p>On the website I am working on I have a few hundred product pages. Some of the products look identical and I am positive we now have the same images with different alt tags and different source files. For example we have</p>
<pre><code><img src="/Images/Product1.jpg" alt="Product 1" />
<img src="/Images... | [
{
"answer_id": 1435,
"author": "artlung",
"author_id": 26,
"author_profile": "https://webmasters.stackexchange.com/users/26",
"pm_score": 2,
"selected": false,
"text": "<p>I think it's pretty minor. I am <em>guessing</em> that Google aggregates the various <code>alt</code> and <code>titl... | 2010/07/21 | [
"https://webmasters.stackexchange.com/questions/1433",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/108/"
] | On the website I am working on I have a few hundred product pages. Some of the products look identical and I am positive we now have the same images with different alt tags and different source files. For example we have
```
<img src="/Images/Product1.jpg" alt="Product 1" />
<img src="/Images/Product2.jpg" alt="Produ... | If the context of the images is different – one image is surrounded by a paragraph discussing *x* while the same image used a second time is surrounded by a paragraph discussing *y* – my understanding is that the image will be indexed twice, and returned in results for queries on either of the subjects in the context o... |
1,643 | <p>Is there a way to specify the location of generated sitemap files using the lastest version of the <a href="http://code.google.com/p/googlesitemapgenerator/" rel="nofollow">Google Sitemap Generator</a>?</p>
<p><em>Version is: 1.0.0.0? (a very un-google version number, lol):</em></p>
<pre><code>> sudo /usr/local... | [
{
"answer_id": 1644,
"author": "JoshMock",
"author_id": 824,
"author_profile": "https://webmasters.stackexchange.com/users/824",
"pm_score": 3,
"selected": false,
"text": "<p>The <a href=\"http://www.sitemaps.org/protocol.php#location\" rel=\"nofollow\">official sitemap protocol says</a>... | 2010/07/27 | [
"https://webmasters.stackexchange.com/questions/1643",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/500/"
] | Is there a way to specify the location of generated sitemap files using the lastest version of the [Google Sitemap Generator](http://code.google.com/p/googlesitemapgenerator/)?
*Version is: 1.0.0.0? (a very un-google version number, lol):*
```
> sudo /usr/local/google-sitemap-generator/bin/sitemap-daemon -v
Google Si... | The [official sitemap protocol says](http://www.sitemaps.org/protocol.php#location) it should be located at the root URL that all the files it points to share in common. So if the URLs in your sitemap are like `http://www.example.com/site/image1.jpg` and `http://www.example.com/site/mypage.html`, you could put the site... |
1,666 | <p>I would like to somehow be able to block all search engines except Google, Yahoo & Bing (and their related sites like Google Images) from crawling my site as they consume a lot of server and bandwidth but don't bring any traffic. </p>
<p>Is this easily done or difficult? It would be good if someone maintained a... | [
{
"answer_id": 1667,
"author": "Community",
"author_id": -1,
"author_profile": "https://webmasters.stackexchange.com/users/-1",
"pm_score": 2,
"selected": false,
"text": "<p>What have you tried so far?</p>\n\n<p>Using the <a href=\"http://www.google.com/support/webmasters/bin/answer.py?h... | 2010/07/28 | [
"https://webmasters.stackexchange.com/questions/1666",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/1083/"
] | I would like to somehow be able to block all search engines except Google, Yahoo & Bing (and their related sites like Google Images) from crawling my site as they consume a lot of server and bandwidth but don't bring any traffic.
Is this easily done or difficult? It would be good if someone maintained a list of small... | What have you tried so far?
Using the [webmaster tools robots.txt generator](http://www.google.com/support/webmasters/bin/answer.py?hl=en&answer=156449&from=35237) I made this:
```
User-agent: *
Disallow: /
User-agent: Googlebot
Allow: /
```
But I haven't tested it. |
1,675 | <p>What product url is better from SEO perspective for an eShop</p>
<pre><code>www.site.com/main-category/sub-category/sub-category2/product-name.html
www.site.com/products/product-name.html
www.site.com/product-name.html
</code></pre>
<p>Some people state that the last one since you make that page more important to ... | [
{
"answer_id": 1676,
"author": "Tim Post",
"author_id": 55,
"author_profile": "https://webmasters.stackexchange.com/users/55",
"pm_score": 1,
"selected": false,
"text": "<p>The first question you should ask is, which style is easier for users that want to share your links? Always conside... | 2010/07/28 | [
"https://webmasters.stackexchange.com/questions/1675",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/909/"
] | What product url is better from SEO perspective for an eShop
```
www.site.com/main-category/sub-category/sub-category2/product-name.html
www.site.com/products/product-name.html
www.site.com/product-name.html
```
Some people state that the last one since you make that page more important to the root of the domain. I ... | What @Tim Said.
If you decide that you must use folders for whatever reason, I would suggest not going more than 1 level deep. Usually, the reasoning to use folders is to clearly define the areas of your site. So for instance if your site sells products, has a blog and has users then you might want to go with a struct... |
1,690 | <p>I have a site (built with wordpress) that is currently under a bot attack (as best I can tell). A file is being requested over and over, and the referrer is (almost every time) <code>turkyoutube.org/player/player.swf</code>. The file being requested is deep within my theme files, and is always followed by "<code>?... | [
{
"answer_id": 1692,
"author": "Kris",
"author_id": 221,
"author_profile": "https://webmasters.stackexchange.com/users/221",
"pm_score": 1,
"selected": false,
"text": "<p>If the attack is coming from the same IP number each time (or a small set of IP numbers) you should block that IP num... | 2010/07/28 | [
"https://webmasters.stackexchange.com/questions/1690",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/43/"
] | I have a site (built with wordpress) that is currently under a bot attack (as best I can tell). A file is being requested over and over, and the referrer is (almost every time) `turkyoutube.org/player/player.swf`. The file being requested is deep within my theme files, and is always followed by "`?v=`" and a long strin... | How about a little [corbomite maneuver](http://en.wikipedia.org/wiki/The_Corbomite_Maneuver)?
```
RewriteEngine on
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?turkyoutube.org.*$ [NC]
RewriteRule ^(.*)$ http://127.0.0.1/$1 [R=401,L]
```
Note, **untested** but should redirect requests from them back to themselves ... |
1,721 | <p>I expected to see something like this in the <code><head></code> section of stackoverflow.com, for example: </p>
<pre><code><meta name="description" content="A language-independent collaboratively
edited question and answer site for programmers."/>
</code></pre>
<p>There seems to be some evidence tha... | [
{
"answer_id": 1723,
"author": "Virtuosi Media",
"author_id": 745,
"author_profile": "https://webmasters.stackexchange.com/users/745",
"pm_score": 2,
"selected": false,
"text": "<p>As mentioned, the description you mentioned is pulled from DMOZ. However, one reason they may not have a me... | 2010/07/29 | [
"https://webmasters.stackexchange.com/questions/1721",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/1126/"
] | I expected to see something like this in the `<head>` section of stackoverflow.com, for example:
```
<meta name="description" content="A language-independent collaboratively
edited question and answer site for programmers."/>
```
There seems to be some evidence that the meta description is useful at least for some... | >
> There seems to be some evidence that the meta description is useful at least for some search engines.
>
>
>
In general, meta tags are not useful. Google is over 90% of our traffic, and they only use the meta for site summary in the case where you aren't listed in DMOZ.
<http://googlewebmastercentral.blogspot... |
1,752 | <p>When Putting in a place for users to put it content, (for example, posting a question,answer or comment on this site) What are some things to consider when deciding to use some form of WYSIWYG editor, some form of BBC like markup, or just giving users a plain textarea to work with?</p>
| [
{
"answer_id": 1753,
"author": "Tim Post",
"author_id": 55,
"author_profile": "https://webmasters.stackexchange.com/users/55",
"pm_score": 4,
"selected": true,
"text": "<p>I think SO's minimal editor with markdown syntax has been remarkably effective for the purpose that it serves.</p>\n... | 2010/07/30 | [
"https://webmasters.stackexchange.com/questions/1752",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/236/"
] | When Putting in a place for users to put it content, (for example, posting a question,answer or comment on this site) What are some things to consider when deciding to use some form of WYSIWYG editor, some form of BBC like markup, or just giving users a plain textarea to work with? | I think SO's minimal editor with markdown syntax has been remarkably effective for the purpose that it serves.
In my opinion, the less HTML you have to deal with in submitted data, the better. Unless users need to organize and post data in tables or something, I really don't see the need for a WYSIWYG editor.
The com... |
1,772 | <p>I've read that it's best to serve static content (css, javascript, etc.) from a cookie-less domain or subdomain for better performance. I assume a domain is not cookie-less by default. How do I specify that I don't want to use cookies?</p>
| [
{
"answer_id": 1773,
"author": "Community",
"author_id": -1,
"author_profile": "https://webmasters.stackexchange.com/users/-1",
"pm_score": 2,
"selected": false,
"text": "<blockquote>\n <p>How do I specify that I don't want to\n use cookies?</p>\n</blockquote>\n\n<p>You don't have to s... | 2010/07/31 | [
"https://webmasters.stackexchange.com/questions/1772",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/1079/"
] | I've read that it's best to serve static content (css, javascript, etc.) from a cookie-less domain or subdomain for better performance. I assume a domain is not cookie-less by default. How do I specify that I don't want to use cookies? | When things like [YSlow](http://developer.yahoo.com/yslow/) and [Page Speed](http://code.google.com/speed/page-speed/) tell you to set up cookie-less domains, what they actually mean is serve media from a domain where you won't be setting any, or have not set any (globally) in the past. Sometimes this can be accomplish... |
1,838 | <p>Downtime is inconvenient for users and currently they have to wait any time a site's engine is being upgraded. Additionally, when using off-the-shelf scripts there's a risk that a setting change won't work as well as intended (even if they've been tested on a staging site).</p>
<p>How can I keep multiple versions o... | [
{
"answer_id": 1840,
"author": "Virtuosi Media",
"author_id": 745,
"author_profile": "https://webmasters.stackexchange.com/users/745",
"pm_score": 0,
"selected": false,
"text": "<p>What I would suggest:</p>\n\n<ul>\n<li>Test locally on a development server before uploading any\nchanges. ... | 2010/08/03 | [
"https://webmasters.stackexchange.com/questions/1838",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/215/"
] | Downtime is inconvenient for users and currently they have to wait any time a site's engine is being upgraded. Additionally, when using off-the-shelf scripts there's a risk that a setting change won't work as well as intended (even if they've been tested on a staging site).
How can I keep multiple versions of a site o... | Are you on a Linux/BSD machine? If so, you can easily use symbolic links to accomplish this goal.
Create Version 1 of the site here:
```
/var/www/www.example.org.v1
```
Create a symbolic link pointing to this directory
```
cd /var/www
ln -s www.example.com.v1 www.example.com
```
This should give you a directory ... |
1,847 | <p>I have an XML file on my server. In the same directory I have a PHP file which modifies the content of the XML and saves it. In this, the save part doesn't work. In my knowledge the code is alright and the problem is with the file access persmissions. </p>
<p>More details available here: <a href="https://stackoverf... | [
{
"answer_id": 1840,
"author": "Virtuosi Media",
"author_id": 745,
"author_profile": "https://webmasters.stackexchange.com/users/745",
"pm_score": 0,
"selected": false,
"text": "<p>What I would suggest:</p>\n\n<ul>\n<li>Test locally on a development server before uploading any\nchanges. ... | 2010/08/03 | [
"https://webmasters.stackexchange.com/questions/1847",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/1036/"
] | I have an XML file on my server. In the same directory I have a PHP file which modifies the content of the XML and saves it. In this, the save part doesn't work. In my knowledge the code is alright and the problem is with the file access persmissions.
More details available here: <https://stackoverflow.com/questions/... | Are you on a Linux/BSD machine? If so, you can easily use symbolic links to accomplish this goal.
Create Version 1 of the site here:
```
/var/www/www.example.org.v1
```
Create a symbolic link pointing to this directory
```
cd /var/www
ln -s www.example.com.v1 www.example.com
```
This should give you a directory ... |
1,878 | <p>I'm a bit confused by the new HTML5 element, <code><section></code>. What is the correct way to use it?<br>
Consider this outline:</p>
<pre><code><article>
<header>
<h2>Title</h2>
<p>Spiffy tagline</p>
</header>
<section>
<p>My content! B... | [
{
"answer_id": 1879,
"author": "Virtuosi Media",
"author_id": 745,
"author_profile": "https://webmasters.stackexchange.com/users/745",
"pm_score": 2,
"selected": false,
"text": "<p>I think you'll find <a href=\"http://diveintohtml5.org\" rel=\"nofollow\">Dive Into HTML5</a>, a book in pr... | 2010/08/03 | [
"https://webmasters.stackexchange.com/questions/1878",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/186/"
] | I'm a bit confused by the new HTML5 element, `<section>`. What is the correct way to use it?
Consider this outline:
```
<article>
<header>
<h2>Title</h2>
<p>Spiffy tagline</p>
</header>
<section>
<p>My content! BLA BLA BLA YADDA YADDA</p>
<p>Some more content!</b>
</section>
</article>
```
... | If you don't need sections (have small articles) you can just use a bare `<article>` entity around your content. And when you don't, the section can wrap sub-titles and paragraphs in those sections.
Check out the [html5 section specs](http://www.whatwg.org/specs/web-apps/current-work/multipage/sections.html#the-sectio... |
1,892 | <p>For instance Google Analytics uses document.location.protocol in the boilerplate for tracking:</p>
<pre><code><script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-XXXXX-X']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); g... | [
{
"answer_id": 1894,
"author": "AlfonsoML",
"author_id": 1232,
"author_profile": "https://webmasters.stackexchange.com/users/1232",
"pm_score": 2,
"selected": false,
"text": "<p>At least has one problem in IE because it causes double downloads: <a href=\"http://www.stevesouders.com/blog/... | 2010/08/04 | [
"https://webmasters.stackexchange.com/questions/1892",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/480/"
] | For instance Google Analytics uses document.location.protocol in the boilerplate for tracking:
```
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-XXXXX-X']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javas... | Indeed, it was **not an oversight** by the GA Team!
GA loader loads a script, so that's not affected by the double-download bug on a `<link>` or `@import` for a stylesheets in IE7/IE8.
They use the conditional (ternary) operator on `document.location.protocol` **because of an edge-case bug in IE6 that causes a secu... |
1,919 | <p>I have an account with Hostgator, and have registered private name servers (ns1.mydomain.com and ns2.mydomain.com). How long should I expect to wait for those changes to take place? Should my website be unavailable during that time?</p>
| [
{
"answer_id": 1920,
"author": "Tim Post",
"author_id": 55,
"author_profile": "https://webmasters.stackexchange.com/users/55",
"pm_score": 5,
"selected": true,
"text": "<p>Typically no, most major registrars will implement NS updates very quickly (minutes, or just a few hours). What rema... | 2010/08/04 | [
"https://webmasters.stackexchange.com/questions/1919",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/43/"
] | I have an account with Hostgator, and have registered private name servers (ns1.mydomain.com and ns2.mydomain.com). How long should I expect to wait for those changes to take place? Should my website be unavailable during that time? | Typically no, most major registrars will implement NS updates very quickly (minutes, or just a few hours). What remains is the `TTL (time to live)` value set on records served by your existing name servers that resolve your domain to its IP.
The typical cache period is 4 hours, however ISP's are free to ignore that, a... |
1,946 | <p>If I have a site with numerous subcategories would it be better to have one domain with each subcategory linking off it, or a domain for each subcategory?</p>
<p>For example, if it's a sports news site, it might be something like:</p>
<pre><code>sportsnews.com
sportsnews.com/football-news
sportsnews.com/cricket-ne... | [
{
"answer_id": 1949,
"author": "John Conde",
"author_id": 1253,
"author_profile": "https://webmasters.stackexchange.com/users/1253",
"pm_score": 4,
"selected": true,
"text": "<p>What's going to be:</p>\n\n<p>1) better for your users?</p>\n\n<p>If spreading it out over several domains wil... | 2010/08/05 | [
"https://webmasters.stackexchange.com/questions/1946",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/1306/"
] | If I have a site with numerous subcategories would it be better to have one domain with each subcategory linking off it, or a domain for each subcategory?
For example, if it's a sports news site, it might be something like:
```
sportsnews.com
sportsnews.com/football-news
sportsnews.com/cricket-news
sportsnews.com/ten... | What's going to be:
1) better for your users?
If spreading it out over several domains will make the content easier for your users to navigate and use then take that route. If putting it all in one place will do that, then take that route. You want to make sure you don't lose sight of the bigger picture which is the ... |
2,010 | <p>I know of 2 basic kinds of default web icons for websites:</p>
<ul>
<li><p><a href="http://en.wikipedia.org/wiki/Favicon" rel="nofollow noreferrer"><strong>Favicon</strong></a>: place an <code>.ico</code> formatted file at the root of your site named <code>favicon.ico</code> and most desktop browsers will find it a... | [
{
"answer_id": 2012,
"author": "fwaechter",
"author_id": 1111,
"author_profile": "https://webmasters.stackexchange.com/users/1111",
"pm_score": 1,
"selected": false,
"text": "<p>This depends on which platform you target. But i think most - standard compatible - mobile browsers understand... | 2010/08/07 | [
"https://webmasters.stackexchange.com/questions/2010",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/26/"
] | I know of 2 basic kinds of default web icons for websites:
* [**Favicon**](http://en.wikipedia.org/wiki/Favicon): place an `.ico` formatted file at the root of your site named `favicon.ico` and most desktop browsers will find it and display it in various contexts (bookmarks, tabs). Can also be added in code, which all... | It *appears* based on [this](http://drupal.org/node/742142) and [this](http://philwilson.org/blog/2010/01/adding-a-bookmark-to-an-android-home-screen) that Android will use the `rel` type of `apple-touch-icon-precomposed` or `apple-touch-icon`, **BUT** that for it to work you need to use a fully qualified url, e.g.:
... |
2,113 | <p>On my website, I allow users to create their own forums. </p>
<p>I use the same template to create the forum page, so according to my understanding thus far of Adsense, it is this template that will be modified to include Adsense ad unit snippets.</p>
<p>The urls for the forums are dynamic, and look something like... | [
{
"answer_id": 2115,
"author": "Community",
"author_id": -1,
"author_profile": "https://webmasters.stackexchange.com/users/-1",
"pm_score": 3,
"selected": true,
"text": "<p>Yes, you just use the \"channels\" feature of adsense. Go to \"Adsense setup\" then \"Channels\".</p>\n"
},
{
... | 2010/08/11 | [
"https://webmasters.stackexchange.com/questions/2113",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/-1/"
] | On my website, I allow users to create their own forums.
I use the same template to create the forum page, so according to my understanding thus far of Adsense, it is this template that will be modified to include Adsense ad unit snippets.
The urls for the forums are dynamic, and look something like this:
```
http:... | Yes, you just use the "channels" feature of adsense. Go to "Adsense setup" then "Channels". |
2,153 | <p>I just noticed the default 404 page on one of my hosting accounts displays the requested URI. </p>
<p><code><!--#echo var="REQUEST_URI" --></code> </p>
<p>I faintly remember hearing or reading that this is a potential vulnerability of some sort. However, it's hard to believe that a hosting provider would ... | [
{
"answer_id": 2157,
"author": "Mark Henderson",
"author_id": 138,
"author_profile": "https://webmasters.stackexchange.com/users/138",
"pm_score": 1,
"selected": false,
"text": "<blockquote>\n <p>However, it's hard to believe that a\n hosting provider would include this in\n their def... | 2010/08/12 | [
"https://webmasters.stackexchange.com/questions/2153",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/1079/"
] | I just noticed the default 404 page on one of my hosting accounts displays the requested URI.
`<!--#echo var="REQUEST_URI" -->`
I faintly remember hearing or reading that this is a potential vulnerability of some sort. However, it's hard to believe that a hosting provider would include this in their default 404 pag... | Echoing the failed URI may enable an XSS attack (it depends on your site) as the URL could be constructed so that a piece of JavaScript is injected and runs on your site. As such this injected JavaScript would have access to the users cookies and if he was logged in it could be used to gain his private information in y... |
2,160 | <p>I created a HTML form with several input fields, nothing special. Using the most recent version of Google Chrome and Firefox autocompletion works for all form fields which means that whenever I want to refill the form the browsers suggest former input values for the fields.</p>
<p>In IE8 it does not work at all. Ot... | [
{
"answer_id": 2167,
"author": "Dan Diplo",
"author_id": 914,
"author_profile": "https://webmasters.stackexchange.com/users/914",
"pm_score": 0,
"selected": false,
"text": "<p>Normally autocomplete \"just works\" unless you actively disable it (either by setting <code>autocomplete=\"off\... | 2010/08/12 | [
"https://webmasters.stackexchange.com/questions/2160",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/1470/"
] | I created a HTML form with several input fields, nothing special. Using the most recent version of Google Chrome and Firefox autocompletion works for all form fields which means that whenever I want to refill the form the browsers suggest former input values for the fields.
In IE8 it does not work at all. Other forms ... | According to the [MSDN article on Autocomplete](http://msdn.microsoft.com/en-us/library/ms533486%28VS.85%29.aspx), the issue isn't SSL alone, but rather a combination of SSL and the cache headers being sent out by your server:
```
Note: if both of the following conditions are true:
1. The page was delivered over HT... |
2,219 | <p>I have an ordered list where the text is displaying on the next line from the number in IE 8 (but not other browsers). If I switch on <em>Compatibility View</em> it looks correct. While I think I'll be able to debug this particular issue and fix it, does anyone know of a fairly complete description of what the Compa... | [
{
"answer_id": 2220,
"author": "DisgruntledGoat",
"author_id": 233,
"author_profile": "https://webmasters.stackexchange.com/users/233",
"pm_score": 4,
"selected": true,
"text": "<p>Compatibility View renders the page as if it was Internet Explorer 7 (including JavaScript). There are a <a... | 2010/08/13 | [
"https://webmasters.stackexchange.com/questions/2219",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/908/"
] | I have an ordered list where the text is displaying on the next line from the number in IE 8 (but not other browsers). If I switch on *Compatibility View* it looks correct. While I think I'll be able to debug this particular issue and fix it, does anyone know of a fairly complete description of what the Compatibility V... | Compatibility View renders the page as if it was Internet Explorer 7 (including JavaScript). There are a [few differences](https://docs.microsoft.com/en-us/archive/blogs/ie/site-compatibility-and-ie8) between IE8 with CV and pure IE7 but essentially it is the same.
You can also force IE8 to use CV with this meta tag:
... |
2,223 | <p>We've got a website which has been running for a few years now. One of our customers has just started having an intermittent problem. Looking at our iis6.0 logs the service works correctly when they have a user agent beginning "mozilla/4.0+" but fails when the user agent begins "mozilla/5.0+". The particular custome... | [
{
"answer_id": 2224,
"author": "Viper_Sb",
"author_id": 1546,
"author_profile": "https://webmasters.stackexchange.com/users/1546",
"pm_score": 3,
"selected": true,
"text": "<p>Firefox 3.x and many others do.</p>\n\n<p>Can you post the full agent string that you're having problems with? A... | 2010/08/13 | [
"https://webmasters.stackexchange.com/questions/2223",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/1545/"
] | We've got a website which has been running for a few years now. One of our customers has just started having an intermittent problem. Looking at our iis6.0 logs the service works correctly when they have a user agent beginning "mozilla/4.0+" but fails when the user agent begins "mozilla/5.0+". The particular customer o... | Firefox 3.x and many others do.
Can you post the full agent string that you're having problems with? As it sounds like it could be a custom script that is generating the request and pretending to be a certain agent. But is incorrectly creating the ident string. Or your check against the agent string is incorrect.
Edi... |
2,239 | <p>Recently, I changed the title tags for a site that I work on SEO for. See the changes made:</p>
<p>Previous title tag: Flat Fee Listing in MLS, Flat Fee MLS Listing For Sale By Owner.</p>
<p>Revised: Flat Fee MLS Listing | Sell Your Home for a Flat Fee</p>
<p>Shortly after this change was made, the site dropped... | [
{
"answer_id": 2241,
"author": "Thomas",
"author_id": 871,
"author_profile": "https://webmasters.stackexchange.com/users/871",
"pm_score": 2,
"selected": false,
"text": "<p>I have been of the opinion recently that any change to a major site page that touches on common areas of SEO causes... | 2010/08/13 | [
"https://webmasters.stackexchange.com/questions/2239",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/1124/"
] | Recently, I changed the title tags for a site that I work on SEO for. See the changes made:
Previous title tag: Flat Fee Listing in MLS, Flat Fee MLS Listing For Sale By Owner.
Revised: Flat Fee MLS Listing | Sell Your Home for a Flat Fee
Shortly after this change was made, the site dropped from a #1 ranking in Goog... | I believe your revised version to be much more beneficial.
In my experiences when doing seo for our clients, correct keyword placement in Title tags is more important now, than it ever has been.
I always follow the 3 golden rules for Title tags:
1. Short but descriptive of, and relevant to the corresponding page's t... |
2,280 | <p>I have a link that starts with one background image and then changes on hover to another. Both background images are set in the CSS. My browsers (any of them) don't seem to load the hover image until you actually hover. But then you end up with a blank image for the several seconds (on my very slow connection) it... | [
{
"answer_id": 2282,
"author": "John Conde",
"author_id": 1253,
"author_profile": "https://webmasters.stackexchange.com/users/1253",
"pm_score": 5,
"selected": true,
"text": "<p>1) Use <a href=\"http://css-tricks.com/css-sprites/\" rel=\"nofollow noreferrer\">CSS Sprites</a> (This is the... | 2010/08/15 | [
"https://webmasters.stackexchange.com/questions/2280",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/632/"
] | I have a link that starts with one background image and then changes on hover to another. Both background images are set in the CSS. My browsers (any of them) don't seem to load the hover image until you actually hover. But then you end up with a blank image for the several seconds (on my very slow connection) it takes... | 1) Use [CSS Sprites](http://css-tricks.com/css-sprites/) (This is the preferred method).
2) Load the images in a hidden div. Place the images in the div and then set the div's CSS to `display: none;` to hide it.
3) [Load the images with CSS](https://stackoverflow.com/questions/819336/how-to-preload-images-without-jav... |
2,301 | <p>I have a registration page which includes all the standard fields e.g. phone no, email etc. </p>
<p>The telephone and password are tab adjacent i.e. not physically adjacent but if you are tabbing it goes first name -> surname -> email -> telephone -> password.</p>
<p>For some reason is giving users a prompt to rem... | [
{
"answer_id": 2302,
"author": "John Conde",
"author_id": 1253,
"author_profile": "https://webmasters.stackexchange.com/users/1253",
"pm_score": 3,
"selected": true,
"text": "<p>Use autocomplete=\"off\" to disable autocomplete and Firefox (and other browsers who support this non-standard... | 2010/08/16 | [
"https://webmasters.stackexchange.com/questions/2301",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/442/"
] | I have a registration page which includes all the standard fields e.g. phone no, email etc.
The telephone and password are tab adjacent i.e. not physically adjacent but if you are tabbing it goes first name -> surname -> email -> telephone -> password.
For some reason is giving users a prompt to remember their user ... | Use autocomplete="off" to disable autocomplete and Firefox (and other browsers who support this non-standard attribute) will not save those values.
```
<input type=text" name="dontsave" autocomplete="off">
```
**Edit:**
What you're seeing may be due to the field names you are using. Auto-complete looks for common u... |
2,347 | <p>I am tracking the pageviews that each of my authors' articles generates on a Wordpress site with Google Analytics Event Tracking:</p>
<pre><code>var pageTracker = _gat._getTracker("UA-xxxxxxx-x");
pageTracker._trackPageview();
} catch(err) {}
<?php if ( is_singular()) { ?>
pageTracker._trackEvent('Authors','... | [
{
"answer_id": 2354,
"author": "DisgruntledGoat",
"author_id": 233,
"author_profile": "https://webmasters.stackexchange.com/users/233",
"pm_score": 2,
"selected": false,
"text": "<p>You can set up multiple profiles for each site you add to Analytics, and give users access to specific pro... | 2010/08/17 | [
"https://webmasters.stackexchange.com/questions/2347",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/1567/"
] | I am tracking the pageviews that each of my authors' articles generates on a Wordpress site with Google Analytics Event Tracking:
```
var pageTracker = _gat._getTracker("UA-xxxxxxx-x");
pageTracker._trackPageview();
} catch(err) {}
<?php if ( is_singular()) { ?>
pageTracker._trackEvent('Authors','viewed','<?php the_a... | You can set up multiple profiles for each site you add to Analytics, and give users access to specific profiles. I believe then it would simply be a matter of duplication the tracking code for the author on the page, something like this:
```
var pageTracker = _gat._getTracker("UA-base-code");
pageTracker._trackPagevie... |
2,355 | <p>I am migrating an older site to a newer one which is using Drupal. As part of this I am trying to setup some 301 redirects to the new pages but I am getting some unexpected behavior. I added the following line to my .htaccess file:</p>
<pre><code>redirect 301 /redirect.html http://www.example.com/newpage
</code></p... | [
{
"answer_id": 2356,
"author": "danlefree",
"author_id": 1064,
"author_profile": "https://webmasters.stackexchange.com/users/1064",
"pm_score": 0,
"selected": false,
"text": "<p>Your other rewrite rules are interfering.</p>\n\n<p>Try the following instead:</p>\n\n<pre><code>RewriteEngine... | 2010/08/18 | [
"https://webmasters.stackexchange.com/questions/2355",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/252/"
] | I am migrating an older site to a newer one which is using Drupal. As part of this I am trying to setup some 301 redirects to the new pages but I am getting some unexpected behavior. I added the following line to my .htaccess file:
```
redirect 301 /redirect.html http://www.example.com/newpage
```
Unfortunately, wha... | So after a bit of searching, I found the answer [here](http://drupal.org/node/38960). It is similar to danlefree's but slightly diffrent.
```
<IFModule mod_rewrite.c>
RewriteEngine on
RewriteBase /
# custom redirects
RewriteRule ^redirect\.html$ http://www.mysite.com/newpage [R=301,L]
# end cust... |
2,359 | <p>In my phpbb forum, just after I post a reply to a thread, a page is shown and I've to wait around 5 secs to return back to the thread. How do I reduced the time to 0. (I tried setting the "Flood Interval" to 0 but it dint work.</p>
| [
{
"answer_id": 2366,
"author": "John Conde",
"author_id": 1253,
"author_profile": "https://webmasters.stackexchange.com/users/1253",
"pm_score": 1,
"selected": false,
"text": "<p>Sounds like a meta refresh tag to me. Find that tag and change it to have a value of \"0\" and you should be ... | 2010/08/18 | [
"https://webmasters.stackexchange.com/questions/2359",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/1606/"
] | In my phpbb forum, just after I post a reply to a thread, a page is shown and I've to wait around 5 secs to return back to the thread. How do I reduced the time to 0. (I tried setting the "Flood Interval" to 0 but it dint work. | If you're using phpBB 3, then you can reduce the refresh time by editing the posting.php file in the root directory of the script.
Inside you'll find (around line 1118 for 3.0.7PL1) an if statement similar to the following, depending on your version:
```
// Check the permissions for post approval. Moderators are not ... |
2,398 | <p>For some reason the user directory I have for my server has stopped working whenever I go to <code>http://server/~user/public_html/</code> I get a 404 error. The files are there on the ftp, but they're not showing up from the web.</p>
<p>It's strange because it was working just a while ago.</p>
<p>Any help?</p>
| [
{
"answer_id": 2399,
"author": "danlefree",
"author_id": 1064,
"author_profile": "https://webmasters.stackexchange.com/users/1064",
"pm_score": 1,
"selected": false,
"text": "<p>Check permissions on the directory, ownership of the directory, and the user Apache processes run under to mak... | 2010/08/20 | [
"https://webmasters.stackexchange.com/questions/2398",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/1519/"
] | For some reason the user directory I have for my server has stopped working whenever I go to `http://server/~user/public_html/` I get a 404 error. The files are there on the ftp, but they're not showing up from the web.
It's strange because it was working just a while ago.
Any help? | Would you be able to post part of your httpd.conf (or included configuration if it's split into multiple files)?
Inside of it should be the "per user" configuration section, which defines which directory the servers looks for in a user's home.
For example, here is the default I normally have on my Apache servers:
``... |
2,427 | <p>I once saw a textbook that recommended a certain pica range for each of several various fonts. Is there any online guide that's available? What are my options? What should I know as a beginner?</p>
| [
{
"answer_id": 2429,
"author": "Chris Lercher",
"author_id": 245,
"author_profile": "https://webmasters.stackexchange.com/users/245",
"pm_score": 1,
"selected": false,
"text": "<p>I'm not really sure about the correct answer - but I've learnt that you can't measure in pica on a web site ... | 2010/08/21 | [
"https://webmasters.stackexchange.com/questions/2427",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/1323/"
] | I once saw a textbook that recommended a certain pica range for each of several various fonts. Is there any online guide that's available? What are my options? What should I know as a beginner? | You need to keep in mind that different operating systems (Windows, Mac, Linux) have different default fonts that come as part of the OS. This means if you choose a font that is available on Windows but not on a Mac or Linux those users will see a different font. That font will be the closest match the OS can choose. I... |
2,433 | <p>On eBay you can code the content of a <code><div></code> on the auction's page. The problem is that you can't edit the <code><head></code> content.</p>
<p>I tried using inside the <code><div></code> something like this:</p>
<pre><code><style type="text/css">
my styles...
</style&g... | [
{
"answer_id": 2438,
"author": "Metalshark",
"author_id": 480,
"author_profile": "https://webmasters.stackexchange.com/users/480",
"pm_score": 1,
"selected": false,
"text": "<p>Browsers shouldn't honour <link rel=\"stylesheet\"> outside of the header, but many do. Please check the ... | 2010/08/21 | [
"https://webmasters.stackexchange.com/questions/2433",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/1661/"
] | On eBay you can code the content of a `<div>` on the auction's page. The problem is that you can't edit the `<head>` content.
I tried using inside the `<div>` something like this:
```
<style type="text/css">
my styles...
</style>
```
It works on Chrome and Firefox but it doesn't work on Internet Explorer.
D... | you can use a tool to convert your external style to inline stylesheets, such as used for email-marketing and other areas where inlinestyling is the only option
* <http://inlinestyler.torchboxapps.com/styler/> |
2,498 | <p>Does it make any difference to SEO ratings what-so-ever if your url has a trailing slash:</p>
<pre><code>http://www.example.com/some/slug/paths/
</code></pre>
<p>as opposed to one that does not:</p>
<pre><code>http://www.example.com/some/slug/paths
</code></pre>
| [
{
"answer_id": 2499,
"author": "Ben Hoffman",
"author_id": 108,
"author_profile": "https://webmasters.stackexchange.com/users/108",
"pm_score": 6,
"selected": true,
"text": "<p>Read the full blog post by Google here, <a href=\"http://googlewebmastercentral.blogspot.com/2010/04/to-slash-o... | 2010/08/24 | [
"https://webmasters.stackexchange.com/questions/2498",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/1703/"
] | Does it make any difference to SEO ratings what-so-ever if your url has a trailing slash:
```
http://www.example.com/some/slug/paths/
```
as opposed to one that does not:
```
http://www.example.com/some/slug/paths
``` | Read the full blog post by Google here, <http://googlewebmastercentral.blogspot.com/2010/04/to-slash-or-not-to-slash.html>, it covers this exact topic.
Long story short Google does not care if you have a trailing slash. However, it will treat the below 2 paths as separate pages.
```
http://www.example.com/some/slug/... |
2,506 | <p>I know that there is a <a href="http://code.google.com/apis/analytics/docs/tracking/asyncTracking.html">Asynchronous method of using Google Analytics</a> but is there something similar for adsense? I can't find one from my current searches - I was wondering whether there is a common trick I'm missing?</p>
| [
{
"answer_id": 2507,
"author": "Virtuosi Media",
"author_id": 745,
"author_profile": "https://webmasters.stackexchange.com/users/745",
"pm_score": 2,
"selected": false,
"text": "<p>They don't currently offer the option, as far as I can see. Your best option, if it was allowed by the Goog... | 2010/08/24 | [
"https://webmasters.stackexchange.com/questions/2506",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/500/"
] | I know that there is a [Asynchronous method of using Google Analytics](http://code.google.com/apis/analytics/docs/tracking/asyncTracking.html) but is there something similar for adsense? I can't find one from my current searches - I was wondering whether there is a common trick I'm missing? | Yes, there is a way - using iframes. We do asynchronous loading of ad content on one of our customer's sites.
You first have to contact Google for support of their ads in iframes (which was not widely available back when we built that site). You can then use JavaScript to trigger the loading of the AdSense iframe cont... |
2,512 | <p>I want to run an installation of MediaWiki as a Internet-accessible personal wiki, running on wiki.mysite.com. However, I want to ensure that I am the only one who can read and write to this wiki. In the future, I may explicitly give other people read and/or read/write access, so the method of securing the wiki shou... | [
{
"answer_id": 2523,
"author": "danlefree",
"author_id": 1064,
"author_profile": "https://webmasters.stackexchange.com/users/1064",
"pm_score": 3,
"selected": false,
"text": "<p>I've used MediaWiki as a CMS on quite a few occasions, though my goal has been to publish (i.e. allow anyone e... | 2010/08/24 | [
"https://webmasters.stackexchange.com/questions/2512",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/353/"
] | I want to run an installation of MediaWiki as a Internet-accessible personal wiki, running on wiki.mysite.com. However, I want to ensure that I am the only one who can read and write to this wiki. In the future, I may explicitly give other people read and/or read/write access, so the method of securing the wiki should ... | I've used MediaWiki as a CMS on quite a few occasions, though my goal has been to publish (i.e. allow anyone else to view and only editors access to write) content but restrict edit access.
To lock down write privileges:
```
$wgGroupPermissions['*']['createaccount'] = false;
$wgGroupPermissions['*']['edit'] = false;
... |
2,515 | <p>Yesterday at 10AM, the Google search:</p>
<blockquote>
<p>"Submitting values of "jQuery Editable
Invoice" into a MySQL DB using PHP"</p>
</blockquote>
<p>came up with <code>stackoverflow.com</code> as the 8th result on the page. The first was a spammy page which was just copying the info from <code>stackoverf... | [
{
"answer_id": 2517,
"author": "John Conde",
"author_id": 1253,
"author_profile": "https://webmasters.stackexchange.com/users/1253",
"pm_score": 2,
"selected": false,
"text": "<p>Speculation (as it always is with SEO):</p>\n\n<p>1) Your first search occurred while Google was updating its... | 2010/08/24 | [
"https://webmasters.stackexchange.com/questions/2515",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/239/"
] | Yesterday at 10AM, the Google search:
>
> "Submitting values of "jQuery Editable
> Invoice" into a MySQL DB using PHP"
>
>
>
came up with `stackoverflow.com` as the 8th result on the page. The first was a spammy page which was just copying the info from `stackoverflow.com` without attribution [contacted and they... | The inner quotes are still recognized as a control character in the query (note that Google strips out all non-alphanumeric characters *except* control characters when running a query - you can add apostrophes, periods, and commas to the query without altering the search results).
Your effective search on the first go... |
2,536 | <p>The thing is I have a table containing ~2000 rows where each row contain a link that has the same title e.g. </p>
<pre><code><a id="1" title="A very long string common to all my links that i would like to have only once in the file in order to gain weight" href="goThere1">My 1st link</a>
[...]
<a... | [
{
"answer_id": 2542,
"author": "Metalshark",
"author_id": 480,
"author_profile": "https://webmasters.stackexchange.com/users/480",
"pm_score": 2,
"selected": false,
"text": "<p>If you would like the title attribute to effective on each <A> element without putting the title against ... | 2010/08/25 | [
"https://webmasters.stackexchange.com/questions/2536",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/1723/"
] | The thing is I have a table containing ~2000 rows where each row contain a link that has the same title e.g.
```
<a id="1" title="A very long string common to all my links that i would like to have only once in the file in order to gain weight" href="goThere1">My 1st link</a>
[...]
<a id="2000" title="A very long... | One solution would be to use Javascript to add all the link titles once the page has loaded. This means the download for the user will be small - although depending on how long the string really is, it could eat up more memory. Another possible downside: search engines and some screenreaders may not see the link titles... |
2,578 | <p>I'm just working at a website that is supposed to be printable.</p>
<p>One problem I'm running into is that some table borders won't be printed, although they are correctly displayed on screen.</p>
<p>I tried both Firefox and Chrome. Both display all table borders on screen, but omit some of the borders when print... | [
{
"answer_id": 2580,
"author": "danlefree",
"author_id": 1064,
"author_profile": "https://webmasters.stackexchange.com/users/1064",
"pm_score": 4,
"selected": true,
"text": "<p>Consider creating a <a href=\"http://www.alistapart.com/articles/goingtoprint/\">style sheet for print media</a... | 2010/08/26 | [
"https://webmasters.stackexchange.com/questions/2578",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/1558/"
] | I'm just working at a website that is supposed to be printable.
One problem I'm running into is that some table borders won't be printed, although they are correctly displayed on screen.
I tried both Firefox and Chrome. Both display all table borders on screen, but omit some of the borders when printing.
What do I n... | Consider creating a [style sheet for print media](http://www.alistapart.com/articles/goingtoprint/) which utilizes the table's border property instead of cell spacing and background color - the following should generate a visible border when printing:
```
table {
border:solid #000 !important;
border-width:1px ... |
2,585 | <p>I want a list of rows that have the following look to them:</p>
<pre><code>+------------------------#main-----------------------+
| |
| |
| +------+ Lorem ipsum dolor sit amet, consectetur |
| | pic | adipiscing... | [
{
"answer_id": 2587,
"author": "CMPalmer",
"author_id": 1746,
"author_profile": "https://webmasters.stackexchange.com/users/1746",
"pm_score": 3,
"selected": true,
"text": "<p>This works for me:</p>\n\n<pre><code>#main {width: 600px; margin: 10px auto; border: 1px solid gray; padding: 20... | 2010/08/26 | [
"https://webmasters.stackexchange.com/questions/2585",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/1744/"
] | I want a list of rows that have the following look to them:
```
+------------------------#main-----------------------+
| |
| |
| +------+ Lorem ipsum dolor sit amet, consectetur |
| | pic | adipiscing elit. Phasell... | This works for me:
```
#main {width: 600px; margin: 10px auto; border: 1px solid gray; padding: 20px;}
.ProdList {
padding-bottom: 20px;
float: left;
clear: left;
width: 100%;
border:2px solid green
}
/*contains an image and a paragraph*/
.ProdList p {
margin-left: 50px;
float:... |
2,593 | <p>(For the purposes of this message, let's assume that my company is named Squirrel Consulting LLC.)</p>
<p>I received an email today from someone offering to sell me the squirrelconsulting.com domain name today, for $980. Right now I'm using the domain "squirrelnow.com" for my business. When I formed the company, th... | [
{
"answer_id": 2594,
"author": "John Conde",
"author_id": 1253,
"author_profile": "https://webmasters.stackexchange.com/users/1253",
"pm_score": 3,
"selected": true,
"text": "<p>At the very least use escrow to handle the payment. That way if they are a scam they either will balk at it im... | 2010/08/26 | [
"https://webmasters.stackexchange.com/questions/2593",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/1748/"
] | (For the purposes of this message, let's assume that my company is named Squirrel Consulting LLC.)
I received an email today from someone offering to sell me the squirrelconsulting.com domain name today, for $980. Right now I'm using the domain "squirrelnow.com" for my business. When I formed the company, the proper s... | At the very least use escrow to handle the payment. That way if they are a scam they either will balk at it immediately and thus save you a hassle or, if they are trying to scam you somehow, you'll never have to pay them as they won't ever successfully deliver the product (the domain). |
2,598 | <p>I am getting dozens of 404 errors on my site that are requests for gif's with apparently random names, like 4273uaqa.gif and 5pwowlag.gif.</p>
<p>I see that most of them are coming from one user. I assume something is happening in the background on her machine without her knowledge -- a malware thing on the client.... | [
{
"answer_id": 2608,
"author": "danlefree",
"author_id": 1064,
"author_profile": "https://webmasters.stackexchange.com/users/1064",
"pm_score": 2,
"selected": false,
"text": "<p>Google appears to be aware of <a href=\"http://www.google.com/#hl=en&source=hp&q=5pwowlag&aq=f&... | 2010/08/26 | [
"https://webmasters.stackexchange.com/questions/2598",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/847/"
] | I am getting dozens of 404 errors on my site that are requests for gif's with apparently random names, like 4273uaqa.gif and 5pwowlag.gif.
I see that most of them are coming from one user. I assume something is happening in the background on her machine without her knowledge -- a malware thing on the client.
Have you... | It's new crimeware related to exploiting facebook.
eg,
```
<script>
function fbs_click() {
u=location.href;
t=document.title;
window.open('http://www.facebook.com/sharer.php?u='+encodeURIComponent(u)+'&t='+encodeURIComponent(t),'sharer','toolbar=0,status=0,width=626,height=436');
return false;
}
</script>
<a href="ht... |
2,643 | <p>I have a problem I can't figure out. When I nest a div inside another div and I want to give the outer div a border, the border doesn't wrap around the rendered content. Even though the content of the inside divs might be several lines high the outside border only adds whatever padding there might be.</p>
<p>The CS... | [
{
"answer_id": 2645,
"author": "John Conde",
"author_id": 1253,
"author_profile": "https://webmasters.stackexchange.com/users/1253",
"pm_score": 2,
"selected": false,
"text": "<p>It's because of the floats. You need to clear them before the closing <code></div></code> tag. Try this... | 2010/08/28 | [
"https://webmasters.stackexchange.com/questions/2643",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/1765/"
] | I have a problem I can't figure out. When I nest a div inside another div and I want to give the outer div a border, the border doesn't wrap around the rendered content. Even though the content of the inside divs might be several lines high the outside border only adds whatever padding there might be.
The CSS:
```
.w... | When an element contains another that is floated, the first element will not seem to contain the second. The accepted solution will work, however I don't like it because it requires extra markup to resolve a layout issue.
A more preferred solution - in my eyes, anyway - is to set the parent overflow to auto:
```
.wra... |
2,740 | <p>I have a php document and am using include to include my drop down navigation.
The navigation is an external html with external js and css elements.</p>
<p>Code is:</p>
<pre><code><div id="nagivation">
<?php include ("navigation.html");?>
</div>
<!--end #navigation!-->
</code></pre>... | [
{
"answer_id": 2742,
"author": "bpeterson76",
"author_id": 1074,
"author_profile": "https://webmasters.stackexchange.com/users/1074",
"pm_score": 2,
"selected": false,
"text": "<p>If I was a betting man, I'd say that the links you provided inside your navigation html are trying to go rel... | 2010/09/02 | [
"https://webmasters.stackexchange.com/questions/2740",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/-1/"
] | I have a php document and am using include to include my drop down navigation.
The navigation is an external html with external js and css elements.
Code is:
```
<div id="nagivation">
<?php include ("navigation.html");?>
</div>
<!--end #navigation!-->
```
Unfortunately my drop down works great in it's html ... | If I was a betting man, I'd say that the links you provided inside your navigation html are trying to go relative to the URL of the page your're including it from. To test, change the links to absolute (http://www...) and see if they work...if they do, then you know what the problem is.
When I'm confused about include... |
2,772 | <p>I understand there are tools on the net to make a sprite, but I'd like to learn how to create icons for the different states of the icon. Is there an easy way to make all these different variations of this icon:</p>
<p><img src="https://i.stack.imgur.com/RGYUS.png" alt="alt text"></p>
<p>(Also, can you tell me ho... | [
{
"answer_id": 2776,
"author": "Daniel Rhoden",
"author_id": 1848,
"author_profile": "https://webmasters.stackexchange.com/users/1848",
"pm_score": 3,
"selected": true,
"text": "<p>If I understand your question, and you already know that a sprite is really just an image-combining-image, ... | 2010/09/03 | [
"https://webmasters.stackexchange.com/questions/2772",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/1323/"
] | I understand there are tools on the net to make a sprite, but I'd like to learn how to create icons for the different states of the icon. Is there an easy way to make all these different variations of this icon:

(Also, can you tell me how I can better word my question ... | If I understand your question, and you already know that a sprite is really just an image-combining-image, then the last part you need to know is about the CSS.
The CSS is what associates a portion of your image with a state. You create the html representing the button, assign it a class, then you write up your CSS.
... |