Wednesday, April 8, 2015

Aries Astrology

You're like a Ram ready to break out of the gate this year, Aries! The cosmic taskmaster has finally moved on from the underworld sector of your chart, giving you a break from all of the painful inner work of facing your demons. You've literally been to hell and back since 2012. You've faced your darkest fears, delved into your deepest insecurities and uncovered the most complex layers of your sexuality. Now you're ready for a breath of fresh air. 

2015 is about breaking new ground and reconnecting with your spiritual path in a new way. Enough wallowing in the darkness. Travel beckons and you will be reworking your entire philosophy and worldview while seeking important mentors and guides. Only those with tried-and-true experience and wisdom will do. You have a discerning eye when it comes to whom you will allow into your sacred world in 2015. You've learned the hard way what it means to be too trusting in that naive Aries way. 

http://www.indyarocks.com/blog/2155111/What-is-the-love-compatibility-between-Aries-male-and-Scorpio-female


Friday, April 3, 2015

How to Earn Money From Internet or work from home jobs

Area names are important web land and a few individuals really bring home the bacon off of purchasing and offering them. One technique is to utilize Google Adwords to discover magic words that are inclining and utilize that data to purchase area names that you think might soon be sought after. Then again, since short, smart, or direct area names have been generally grabbed up, you can likewise get fortunate purchasing space names that are irregular acronyms, as you never know when an individual or organization with those careful initials will choose to set up a site. (CPC.com, for instance, sold for over $200,000 when Contract Pharmaceutical Corporation chose to go online.[1] Not awful for three letters.) For more counsel, read How to Buy a Cheap Domain Name.

Decipher sound. Sites are improving and better about giving composed transcripts to the listening to debilitated, implying that transcriber employments pop up decently routinely. Deciphering is for the most part low paying but on the other hand is simple, quick, and doesn't oblige much responsibility. Check eLance or oDesk for current translation postings.

Enter challenges. Since you won't get paid unless your entrance wins, scan for an extensive variety of free challenges in a field where you're now have a considerable measure of conceivable passages (ex. photographs, logo-production, foundation outline) and present your work to the same number of spots as will have you. It may take a day to get past every one of them, yet even a couple of little triumphs (or, ideally, an awesome enormous one) will compensate for it. The experience may even guide you in another imaginative heading.

Reference:
-------------






































Wednesday, April 1, 2015

Earn money by writing articles

 How do i earn money?

  • You can earn money in multiple ways.
  • You can earn money by writing a topic or article.
  • You can earn money by posting questions and writing answers.
  • You can earn money by writing answers to others questions.
  • You can earn money by giving genuine review / feedback on any product / movie / place / hotel ..etc.
  • You can earn money by writing problems and solutions.
  • You can earn money by referring others.
  • You can earn money by posting payment proofs which you received from this site.

Saturday, February 14, 2015

Work from home online

About Work From Home Jobs: You can earn money from home doing paid legitimate work from home jobs, but beware of the many dodgy work from home scams that plague the internet. Dodgy work from home jobs often ask for money up front and promise huge earning potential - if it sounds too good to be true, it probably is! We have found some genuine work from home jobs that are free, which you can apply for right here.

Type of work from home jobs: You can find all kinds of part time legitimate work from home jobs and homeworking jobs that you can do from your home PC. We have some great work from home ideas such as paid surveys, freelancer jobs, online tutoring, website testing, content writing, blogging, transcription, translation and internet research jobs, which can all be done from your home PC on the internet. You can even sell your photos online! Check out some of the best paid legitimate work from home jobs in the UK below...

Rates of pay: Most work from home jobs are paid by commission or on results. Paid surveys pay you per survey, website content pays per word or page written. Online tutoring jobs will pay by the hour though. Make sure you check that your work from home job will pay you at least the national minimum wage, otherwise it is an illegal work from home job.

http://www.studiopress.com/forums/users/sampathcse16/
http://www.symantec.com/connect/user/sampathcse16
http://challengepost.com/sampathcse16

Tuesday, June 25, 2013

What is the difference between div and span in CSS?

 Difference between div and span in CSS :

         The div is a block level element. Span is a an inline element. 

1) All block level elements starts with a new line and ends with a new line. But inline elements appears in the same line. 

Example:

<html>
    <body>
         
        <p><u>Using Div:</u></p>
        <div>Hellow</div>
        <div>World</div>
        
        <p><u>Using Span:</u></p>
        <span>Hellow</span>
        <span>World</span>
        
    </body>

</html>

Output:



2) Block level element occupies maximum width. Inline element occupies minimum width.

Example:

<html>
    <body>
         
        <p><u>Using Div:</u></p>
        <div style="background: red">Hellow World</div>
              
        <p><u>Using Span:</u></p>
        <span style="background: red">Hellow World</span>
        
    </body>

</html>

Output:


3) A block level element can contain another block level element. But an inline lement can not contain another block level element.

4) We can not apply width and height  for Inline elements.

Example: 

<html>
    <body>
         
        <p><u>Using Div:</u></p>
        <div style="background: red;width:200px;height:50px;">
        Hellow World
        </div>
              
        <p><u>Using Span:</u></p>
        <span style="background: red;width:200px;height:50px;">
        Hellow World
       </span>
        
    </body>

</html>

Output:





Examples of Block Elements:
 <div>,<p><form>, <ul>,<header>,<nav>,  <li>, and <h1>


Examples of Inline Elements:
<span>,<a>,<b>, <em>, <i>, <cite>, <mark>, and <code>.



What is specificity in CSS?

Specificity:  Specificity describes about the priority of selector in CSS. Before working with CSS it is good to know about specificity.  Because if the page contains few CSS selectors, then it is fine. But if we are dealing with a page which contains many CSS selectors, then we might confuse. For example, if i give red color to a particular div/block in CSS, the parent of this div/block may be black. So sometimes the parent selector might override the child selector. This will result the div color as black even though we have given red color.  Here i am trying to explain CSS specificity with different examples.

CSS Syntax:
Selector
{
       Property : Value;
}

Different Selectors in CSS:

1) All  HTML Elements

2) ID

3) Class



Example 1:

<html>
<head>
<style>
p
{
color:red;
</style>
</head>
<body>
<p>Hello World!</p>
</body>
</html>

Output:

Hello World!

              In the above example, we have used the html element 'p' as selector.  We have given red color to that element.  Now observe the second example.

Example 2:

<html>
<head>
<style>
.test
{
color:green;
p
{
color:red;
</style>
</head>
<body>
<p class='test'>Hello World!</p>
</body>
</html>

Output:

Hello World!

                In the second example i have used class called 'test' and i have given green color to this class. Now the text will be in green color,  even though we have give red color through html element 'p'  , the class selector will be given high priority. Due to this we are seeing the output text in green color. Now Observe the third example.

Example 3:

<html>
<head>
<style>
#demo
{
color:yellow;
}

.test
{
color:green;

p
{
color:red;
</style>
</head>
<body>
<p id='demo' class='test'>Hello World!</p>
</body>
</html>

Output:

Hello World!

                   In the above example i have used the Id called 'demo' . So now the priority is given to the Id. So the output will be in yellow color. Now observe the fourth example. 

Example 4:

<html>
<head>
<style>
#demo
{
color:yellow;
}

.test
{
color:green;

p
{
color:red;
</style>
</head>
<body>
<p id='demo' class='test' style='color: blue'>Hello World!</p>
</body>
</html>

Output:

Hello World!

        In the above example i have used inline styles. So inline style will be given highest priority. Hence the output will be in blue color. So now we know the priority among html elements, id, class and inline styles.So how to know the priority of a selector? . If the selector contains single element, we can easily know the priority with this knowledge. But if the selector contains multiple elements then it is difficult to know the priority.  Here i will explain the technique to calculate the specificity or priority of a selector.

Technique to calculate specificity :


   



       When calculating specificity of a selector, we need to use the above three digits. If the selector contains ID and Class, then we need to place the count of these occurrences in those digits. If the selector does not contain html element then we need to place 0 in the 1st digit. Here i will give examples of specificity for different combinations. 

Examples:

1) P#demo                       Specificity =  1 0 1

  
           In the above example specificity is 101. Because it contains one id. So in 3rd place we will put 1. It does not contain any class, so i am keeping 0 in 2nd digit. It contains html element 'p'. So in 1st digit, i have put 1.

2) P#demo.test                Specificity = 1 1 1

3) #demo                        Specificity = 1 0 0

4) .test                           Specificity = 0 1 0

5) p                                Specificity = 0 0 1

6) #sample p#demo         Specificity = 2 0 1

        In the above example it contains total 2 Ids. So we have to put 2 in 3rd digit. 

7) div#sample p#demo      Specificity = 2 0 2

        In the above example it contains total 2 Ids. So we have to put 2 in 3rd digit. And it contains total 2 html elements. So we have to keep 2 in 1st digit.


Question: Which of the above 7 has highest specificity or priority?

Ans: div#sample p#demo 

                Because 202 is the highest value among 7 examples.


Tip: If you are too lazy to calculate the specificity using the above technique, you can simply use '!important' to a value of a property. So this will be given highest priority.

Example:

1) p
    {
        color:red !important;
    }

2) p#demo
    {
      color:green;
    }

   In the above two examples, the 1st example is given highest priority even though it has less specificity than 2nd example. So when the page contains too many selectors, then we can use this key word '!important'. So that we no need to worry about other selectors.




Wednesday, August 1, 2012

Cross browser code for rounded corner in css

Cross browser code for rounded corner :


      Now a days , designing a border with rounded corner is very familiar. We can achieve this functionality by using css. But when we write css code for getting rounded corner border, it will work in some browsers and not work in some other browsers. The following css code will work for all browsers including Internet Explorer.  But if we want rounded corner in IE we need an extra file, that is PIE.htc file. You can download this file from the following source.

Download Here

Note: After downloading, Extract the file.

          Now copy the following code as it is, and save with anyname.html .

Code:



<!Doctype html>
<html>
<head>
<title>Rounded Corner</title>
<style type="text/css">
.rounded_corner {
border: 1px solid #696;
padding: 10px 0;
text-align: center; 
width:300px;
height:300px;
-webkit-border-radius: 15px;
-moz-border-radius: 15px;
border-radius: 15px;
background: #188BC0;
background: -webkit-gradient(linear, 0 0, 0 bottom, from(#25A6E1), to(#188BC0));
background: -webkit-linear-gradient(#25A6E1, #188BC0);
background: -moz-linear-gradient(#25A6E1, #188BC0);
background: -ms-linear-gradient(#25A6E1, #188BC0);
background: -o-linear-gradient(#25A6E1, #188BC0);
background: linear-gradient(#25A6E1,#188BC0);
-pie-background: linear-gradient(#25A6E1, #188BC0);
color: #fff;
font-family: 'Helvetica Neue' ,sans-serif;
font-size: 17px;
behavior: url(PIE.htc);
}
</style>
</head>
<body>
<div class="rounded_corner"></div>
</body>
</html>




Note: you have to give exact path of PIE.htc file in behavior: url(PIE.htc).

           After running the html file you will see the following rounded corner box. This will work for all browsers.


Output:


             If you want more rounded corner just change the values of  border-radius: 15px, -moz-border-radius: 15px, -webkit-border-radius: 15px values to some ther values.