Your Ad Here

Posts Tagged ‘help’

The most basic mistake in CSS

The most basic mistake in CSS

Well, we use CSS, no matter how complex the style sheet becomes, we tend to do some very basic mistakes that might result into catastrophic results. Today I will cover a very simple mistake. Let us assume this piece of style which seems correct

#pa {

Background: red;

font-family: Arial,georgia,sans-serif;

font-weight: bolder;

font-style: normal;

text-decoration: underline;

font-variant: ;

font-size: 0px;

width:500px;

height:300px

overflow: auto;

}

It seems like a perfect style sheet, but it will not actually have a scroll bar in it. No matter how much text is entered. So where is the problem, the problems exists in the line

height:300px

it has no terminator at the end of the property.  The property overflow is treated as being related to height some how. But this is wrong.

So the correct code is

#pa {

Background: red;

font-family: Arial,georgia,sans-serif;

font-weight: bolder;

font-style: normal;

text-decoration: underline;

font-variant: ;

font-size: 0px;

width:500px;

height:300px;

overflow: auto;

}

Now on entering excess text we see there is a scroll bar. Regardless of the number of property, you should always put the terminator (i.e. ; ) at the end of each property so when you decide to add a property later you don’t get to face any problems. It is a basic problem that we often face.

Posted on June 24th, 2009 by Mutedart  |  No Comments »

Searching Tips


This is an important issue that we all face. We often have to search for many things. But many times we don’t get what we are looking for.  So here a few important tips for how to search.

  1. Choose the terms wisely:

By saying this, I mean if you want to search for vacation locations in some place. Irrelevant terms can be vacation spots in the world, places for vacations in the world. This is rather a very wide area of search. I would say going with a term like tourism, etc will be better this way our search is also not made close.  But a better thing is for example if you are planning to go to Mauritius for vacations search for tourism in Mauritius will be better than searching for tourism or searching for vacation spots worldwide.

  1. Search terms are normally not case sensitive:

Case sensitivity is a very important aspect that we often have to see. What does it mean? You might have noticed, that you can type alphabets in capitals or no capitals.  When we write in capitals it’s in UPPER CASE, and when we write not in capital, that is LOWERCASE. There is no difference between HELLO WORLD EXAMPLES, and hello world examples. You will get the same results.

  1. Searching for a specific phrase:

I want to search for something like HELLO WORLD, how can I look for the exact phrase, it is quite simple, enclose the phrase within inverted commas (i.e. “Phrase that has to be searched”) if we were searching for HELLO WORLD we will write “HELLO WORLD”.

  1. Operator usage in searching

We often use the and operator, this is denoted by &. We might want to search for something, for example Hello world and good afternoon. We will type “HELLO WORLD” & “GOOD AFTERNOON”.

  1. Definition search:

Type in define: type here the word of which you are seeking definition, this is often very useful when looking for the definition. It works perfectly fine with Google. Don’t know about other search engines.

PS note: If you want me to add any other search tip, please leave a comment about the tip. And the tip will be added.



Posted on October 4th, 2008 by Mutedart  |  2 Comments »