Introduction
CSS
menus are created using formatting and positioning of standard HTML.
The underling structure is simply a nested list. The visible portion of
the menu is the outermost list, and the drop-down portions are sublists.
Each item in the list is a link to content. The associated formatting
of the sheet changes the display of the submenus depending on whether or
not the mouse is over the outer list item. Depending on the method
used, the submenu may be set to display off the screen, or not be
displayed at all unless the mouse is over the "Home title". When the
mouse hovers over the title, the inner list is displayed overlapping the
outer, so that the Home "drops down".
In fact, however,
keyboard navigation is virtually impossible with this kind of menu
because, while the tab key moves the "focus" to the submenu items, the
user has no way of knowing what item is currently selected, or even what
items are available. The only items that can be reliably accessed are
those of the outer list.
Step 1: Open Macromedia Dreamweaver.
Step 2: Then create a new document by clicking the File Menu then New Document.
Step 3: HTML 5 Doctype:
<!DOCTYPE html>
<html dir="ltr" lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8" />
<title>Title </title>
</head>
<body>
Create Text here
</body>
</html>
Step 4: Define the body part and set the content of the CSS Dropdown Menu:
Code
<nav>
<ul>
<li><a href="#">Home</a>
<ul>
<li><a href="#">SubMenu Text here 1</a> </li>
<li><a href="#">SubMenu Text here 2</a> </li>
<li><a href="#">SubMenu Text here 3</a> </li>
<li><a href="#">SubMenu Text here 4</a>
<ul>
<li><a href="#">SubMenu Lable 2 Text here 1</a> </li>
<li><a href="#">SubMenu Lable 2 Text here 2</a> </li>
<li><a href="#">SubMenu Lable 2 Text here 3</a> </li>
<li><a href="#">SubMenu Lable 2 Text here 4</a> </li>
<li style="border-bottom: none;"><a href="#">SubMenu Text Lable 2 here 5</a> </li>
</ul>
</li>
<li style="border-bottom: none;"><a href="#">SubMenu Text here 5</a> </li>
</ul>
</li>
<li><a href="#">About us</a></li>
<li><a href="#">Services</a></li>
<li><a href="#">Portfolio</a></li>
<li><a href="#">Contact</a></li>
</ul>
</nav>
Step 5: Apply the stylesheet of the Dropdown Menu:
Code
<style>
*
{
margin: 0px;
padding: 0px;
}
body
{
background: #6d0086;
}
nav
{
background: #36004d;
float: left;
width: 100%;
height: 40px;
margin: 0px 0 2px 0px;
border-bottom: 2px solid #d298e7;
}
nav ul
{
float: right;
margin: 0px;
padding: 0px;
list-style: none;
display: inline;
}
nav ul li
{
float: left;
list-style: none;
display: inline;
position: relative;
line-height: 23px;
}
nav ul li a
{
float: left;
list-style: none;
display: block;
padding: 4px 22px;
border-left: 1px solid #0e0313;
border-right: 1px solid #5f016f;
color: #fff;
text-decoration: none;
font-size: 14px;
font-family: "Myriad Pro" , Arial;
}
nav ul li ul
{
display: none;
}
nav ul li:hover ul
{
width: 187px;
display: block;
float: left;
position: absolute;
left: 0px;
top: 29px;
background: #36004d;
border: 1px solid #36004d;
z-index: 9999 !important;
}
nav ul li:hover ul li
{
margin: 0 5px;
padding: 0px;
display: inline;
float: left;
border-bottom: 1px dotted #dddddd;
font-weight: normal;
position: relative;
background: none;
}
nav ul li:hover ul li a
{
font-weight: normal;
padding: 0px;
float: none;
width: 168px;
display: block;
padding: 0px 0 0px 9px;
font-size: 11px;
line-height: 25px;
height: 25px
border-left: none !important;
border-right: none !important;
}
nav ul li:hover ul li a:hover
{
background: #d298e7;
color: #000000;
}
nav ul li:hover ul li ul
{
display: none;
}
nav ul li:hover ul li:hover ul
{
position: absolute;
left: 170px;
top: 0px;
display: block;
}
</style>
Step 6: Write the complete code for the developed simple CSS Dropdown Menu that uses the HTML 5 tools. The complete application is:
<!DOCTYPE html>
<html dir="ltr" lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8" />
<title>Css Dropdown menu</title>
<style>
*
{
margin: 0px;
padding: 0px;
}
body
{
background: #6d0086;
}
nav
{
background: #36004d;
float: left;
width: 100%;
height: 40px;
margin: 0px 0 2px 0px;
border-bottom: 2px solid #d298e7;
}
nav ul
{
float: right;
margin: 0px;
padding: 0px;
list-style: none;
display: inline;
}
nav ul li
{
float: left;
list-style: none;
display: inline;
position: relative;
line-height: 23px;
}
nav ul li a
{
float: left;
list-style: none;
display: block;
padding: 4px 22px;
border-left: 1px solid #0e0313;
border-right: 1px solid #5f016f;
color: #fff;
text-decoration: none;
font-size: 14px;
font-family: "Myriad Pro" , Arial;
}
nav ul li:hover ul li a:hover
{
background: #d298e7;
color: #000000;
}
nav ul li ul
{
display: none;
}
nav ul li:hover ul
{
width: 187px;
display: block;
float: left;
position: absolute;
left: 0px;
top: 29px;
background: #36004d;
border: 1px solid #36004d;
z-index: 9999 !important;
}
nav ul li:hover ul li
{
margin: 0 5px;
padding: 0px;
display: inline;
float: left;
border-bottom: 1px dotted #dddddd;
font-weight: normal;
position: relative;
background: none;
}
nav ul li:hover ul li a
{
font-weight: normal;
padding: 0px;
float: none;
width: 168px;
display: block;
padding: 0px 0 0px 9px;
font-size: 11px;
line-height: 25px;
height: 25px;
border-left: none !important;
border-right: none !important;
}
nav ul li:hover ul li ul
{
display: none;
}
nav ul li:hover ul li:hover ul
{
position: absolute;
left: 170px;
top: 0px;
display: block;
}
</style>
</head>
<body>
<nav>
<ul>
<li><a href="#">Home</a>
<ul>
<li><a href="#">SubMenu Text here 1</a> </li>
<li><a href="#">SubMenu Text here 2</a> </li>
<li><a href="#">SubMenu Text here 3</a> </li>
<li><a href="#">SubMenu Text here 4</a>
<ul>
<li><a href="#">SubMenu Lable 2 Text here 1</a> </li>
<li><a href="#">SubMenu Lable 2 Text here 2</a> </li>
<li><a href="#">SubMenu Lable 2 Text here 3</a> </li>
<li><a href="#">SubMenu Lable 2 Text here 4</a> </li>
<li style="border-bottom: none;"><a href="#">SubMenu Text Lable 2 here 5</a> </li>
</ul>
</li>
<li style="border-bottom: none;"><a href="#">SubMenu Text here 5</a> </li>
</ul>
</li>
<li><a href="#">About us</a></li>
<li><a href="#">Services</a></li>
<li><a href="#">Portfolio</a></li>
<li><a href="#">Contact</a></li>
</ul>
</nav>
</body>
</html>
Thursday, 28 February 2013
Wednesday, 27 February 2013
How did you handle your most challenging experience in your previous job ?
f you are a
fresher with no work experience or does not have any challenging
experience, talk to your seniors or people who has experience. They may
give you some examples.
Think of a stressfull thing that happened at your last job. Then write a short description of what it was and what you did. Did you work to resolve the problem? Did you remove yourself from the problem and let other handle it? Stuff like that. Just a short explaination of what happened.
This is more related to problem solving, first, think of a problem you had in you work and what is the action/ solution you have taken to resolve. It is always better to explain the point in logical order with a good example.
When answering a question like this, you should always try and remember two things:
use an example.
use the word 'teamwork'.
Employers want to know how you handle stress, how you worked through that problem, and if you're a team player.
Think of a stressfull thing that happened at your last job. Then write a short description of what it was and what you did. Did you work to resolve the problem? Did you remove yourself from the problem and let other handle it? Stuff like that. Just a short explaination of what happened.
This is more related to problem solving, first, think of a problem you had in you work and what is the action/ solution you have taken to resolve. It is always better to explain the point in logical order with a good example.
When answering a question like this, you should always try and remember two things:
use an example.
use the word 'teamwork'.
Employers want to know how you handle stress, how you worked through that problem, and if you're a team player.
What are your career goals ?
This is a, very
frequently asked question in the HR round. When you answer this
question make sure you give realistic answers. For example a person with
1 year of experience cannot say I would see myself as a Project Manager
in the next 3 years.
Every organisation has a career path and we have to spend the required time at each level, learn the stuff what it takes to get it to the next level and move on. Hence set your expectations realistic.
Next 2-3 years to become a senior developer.
Next 3-5 years to become a team lead.
Also, let the interviewer know that in terms of my future career path, you are confident that if you do your work with excellence, opportunities will come your way and you will be able to achieve your career goals.
The same question can also be asked as, Where do you see yourself in the next 3 to 5 years from now.
Every organisation has a career path and we have to spend the required time at each level, learn the stuff what it takes to get it to the next level and move on. Hence set your expectations realistic.
Next 2-3 years to become a senior developer.
Next 3-5 years to become a team lead.
Also, let the interviewer know that in terms of my future career path, you are confident that if you do your work with excellence, opportunities will come your way and you will be able to achieve your career goals.
The same question can also be asked as, Where do you see yourself in the next 3 to 5 years from now.
Why do you want to make career in this company ?
The interviewer
wants to know, how much you are interested in his company or the job
that is being offered. Because, if a person likes or has passion for the
job and the company, he will do everything to the best of his ability.
The employee will be highly motivated and naturally will have the
highest productivity.
So, when answering this question, think about all the facts that you like about the company:
1. The company and its brand value.
2. The quality of the products and services.
3. Any unique features like, has more than 100,000 employees, or has branches in every country in the world etc.
Also, make sure to let the interviewer know how your skills and strengths can be utilized on the job that is being offered.
For example, if you are applying for a software engineer job you can say the following:
My technical skills is a perfect match for the offered job. I strongly believe, with my skills I can have the job well done and contribute to the organisation success and at the same time achieve my personal goals as well. Infact, I have been waiting for an opportunity like this from a long time. If given a chance, I will prove myslef to be a valuable resource to the organisation. To work for company XYZ is my dream.
This question can also be asked as, Why do you want to work here?
So, when answering this question, think about all the facts that you like about the company:
1. The company and its brand value.
2. The quality of the products and services.
3. Any unique features like, has more than 100,000 employees, or has branches in every country in the world etc.
Also, make sure to let the interviewer know how your skills and strengths can be utilized on the job that is being offered.
For example, if you are applying for a software engineer job you can say the following:
My technical skills is a perfect match for the offered job. I strongly believe, with my skills I can have the job well done and contribute to the organisation success and at the same time achieve my personal goals as well. Infact, I have been waiting for an opportunity like this from a long time. If given a chance, I will prove myslef to be a valuable resource to the organisation. To work for company XYZ is my dream.
This question can also be asked as, Why do you want to work here?
What is your salary expectation ?
What is your salary expectation ?
or
What is your minimum salary expectation you think ?
This is a very common interview question in the HR round. Based on the answer to this question, the HR will decide on how much will you be paid. Remember that for every role with in an organisation there will be a range. Depending on your qualification and experience you fall some where between this range.
Depending on your situation, your answers may vary. Following are some of the scenarios and responses that I can think of at the moment. If you can think of any other scenarios, I request you to kindly add them by submitting the form below.
Scenario:
1. You are a fresher.
2. Currently you don't have an offer from any other company.
3. You don't have any other interview scheduled.
4. Even if there is an other interview scheduled, you are not confident about getting to this stage in the interview process.
Example Response: It is better to say, I don't have any figures on my mind. I strongly believe the organisation decides the salary scale based on the industry standards. So, I will be more than happy to accept accept the offer made based on the current industry standards.
Scenario:
1. You are a fresher (currently have an offer) or an experienced person and currently working.
2. Currently you have an offer from an other company or your current salary is XYZ (if you are currently working).
In this scenario, make sure you have already done your research and you are aware of what is the highest and lowest salary range for a similar position in the market. If your current offered salary is in the lower side of the range, then you can ask for a hike of what ever is the difference. The number could be in terms of percentage or the actaul number itslef.
Example Response: I currently have an offer for XYZ and I am expecting 15% more.
If in case the Interviewer asks, why should I pay you 15% more than your current offer, then you can let him know about the research you have done.
If you can fine tune the answer for this question further, please feel free to do so by submitting the form below. I thank you for your feedback.
or
What is your minimum salary expectation you think ?
This is a very common interview question in the HR round. Based on the answer to this question, the HR will decide on how much will you be paid. Remember that for every role with in an organisation there will be a range. Depending on your qualification and experience you fall some where between this range.
Depending on your situation, your answers may vary. Following are some of the scenarios and responses that I can think of at the moment. If you can think of any other scenarios, I request you to kindly add them by submitting the form below.
Scenario:
1. You are a fresher.
2. Currently you don't have an offer from any other company.
3. You don't have any other interview scheduled.
4. Even if there is an other interview scheduled, you are not confident about getting to this stage in the interview process.
Example Response: It is better to say, I don't have any figures on my mind. I strongly believe the organisation decides the salary scale based on the industry standards. So, I will be more than happy to accept accept the offer made based on the current industry standards.
Scenario:
1. You are a fresher (currently have an offer) or an experienced person and currently working.
2. Currently you have an offer from an other company or your current salary is XYZ (if you are currently working).
In this scenario, make sure you have already done your research and you are aware of what is the highest and lowest salary range for a similar position in the market. If your current offered salary is in the lower side of the range, then you can ask for a hike of what ever is the difference. The number could be in terms of percentage or the actaul number itslef.
Example Response: I currently have an offer for XYZ and I am expecting 15% more.
If in case the Interviewer asks, why should I pay you 15% more than your current offer, then you can let him know about the research you have done.
If you can fine tune the answer for this question further, please feel free to do so by submitting the form below. I thank you for your feedback.
Why should we hire you?
This is another
common question asked in your interview. This question deals with your
ability to market yourself with the experience and skills you have.
The interviewer is asking this question to find out how can your skills and experience be a value add for the job you are being interviewed for.
Answers that would get the interviewer's attention:
1. I have three years of experience in this technology and my skills enables me to develop better products in less time
2. I have what it takes to fill the requirements of this job - solve customer problems using my excellent customer service skills.
3. I have the experience and expertise in the area of customer support that is required in this position.
This is the time to let the interviewer know what you can do for them and why they should listen to what you have to offer. The more detail you give, the stronger your answer will be. This is not a time to talk about what you want. It is a time to summarize your accomplishments and relate what makes you unique and therefore a viable fit for this position.
Look at the job description. Find out requirements of the job? Make a list of these requirements. List your skills and think of two or three key qualities you have to offer that match each requirement that the employer is seeking.
The following are the other ways of asking the same question:
What can you bring to this position?
What can you bring to the table if selected?
Why do you think you are qualified for this job?
The interviewer is asking this question to find out how can your skills and experience be a value add for the job you are being interviewed for.
Answers that would get the interviewer's attention:
1. I have three years of experience in this technology and my skills enables me to develop better products in less time
2. I have what it takes to fill the requirements of this job - solve customer problems using my excellent customer service skills.
3. I have the experience and expertise in the area of customer support that is required in this position.
This is the time to let the interviewer know what you can do for them and why they should listen to what you have to offer. The more detail you give, the stronger your answer will be. This is not a time to talk about what you want. It is a time to summarize your accomplishments and relate what makes you unique and therefore a viable fit for this position.
Look at the job description. Find out requirements of the job? Make a list of these requirements. List your skills and think of two or three key qualities you have to offer that match each requirement that the employer is seeking.
The following are the other ways of asking the same question:
What can you bring to this position?
What can you bring to the table if selected?
Why do you think you are qualified for this job?
Tell me something about yourself ?
This is the most common and very first question usually asked in any interview. When you answer this question you usually have to tell about the following:
Educational Qualifications: When you talk about educational qualifications, don't talk about percentages unless they are very good. If you have made any achievements like topping college academics or secured a gold medal make sure you tell about it.
Family Background: Donot spend too much of time here. Let the interviewer know your father's and mother's profession and how many siblings you have.
Hobbies/Interests: This is very important section and be prepared for follow up questions. If you say my hobby is reading books. Interviewer might ask a followup question like, what type of books you usually read. If you say I read fiction books. The interviewer might ask you, Who is your favourite author.
So be very careful when you are making up hobbies. It is better if your hobbies add value for the type of job you are doing. For example if you are going for a software engineer interview, you can say browsing internet as one of the hobby. If a software engineer has good browsing skills he might find solutions online quickly and solve the problem at hand in less time. When you say browing as one of your hobby, be prepared for the follow up interview questions like, What do you usually browse on the internet? What is your favourite website? Who is your favourite technical article writer?
Strengths: Tell interviewer about your strengths with example. Examples of strengths are listed below. Make sure you back up each strength with an example from your past experience.
Hard Working in nature.
Dedication.
Commitment.
Good Team player.
Communication Skills
Problem solving skills
Taking Initiatives
Beging Pro-active
Design Skills
Weakness: When ever you say you have a weakness, make sure you also have a plan and working on it to over come your weakness.
Too invloved: Some times when there is a technical issue or a problem I tend to work continuously until I fix it without having a break. But what I have noticed and, I am trying to practice is that, taking a break away from the problem and thinking outside the box or taking suggestions will assist you in identifying the root cause of the problem sooner.
Over confident: Very rarely I become over confident, especially when a simple task is given, I get to solving the issue without spending much time planning. So I am working on applying the 80/20 principle of planning and implementation. Spend 80% of my effort and time in planning and 20% on implementation.
Educational Qualifications: When you talk about educational qualifications, don't talk about percentages unless they are very good. If you have made any achievements like topping college academics or secured a gold medal make sure you tell about it.
Family Background: Donot spend too much of time here. Let the interviewer know your father's and mother's profession and how many siblings you have.
Hobbies/Interests: This is very important section and be prepared for follow up questions. If you say my hobby is reading books. Interviewer might ask a followup question like, what type of books you usually read. If you say I read fiction books. The interviewer might ask you, Who is your favourite author.
So be very careful when you are making up hobbies. It is better if your hobbies add value for the type of job you are doing. For example if you are going for a software engineer interview, you can say browsing internet as one of the hobby. If a software engineer has good browsing skills he might find solutions online quickly and solve the problem at hand in less time. When you say browing as one of your hobby, be prepared for the follow up interview questions like, What do you usually browse on the internet? What is your favourite website? Who is your favourite technical article writer?
Strengths: Tell interviewer about your strengths with example. Examples of strengths are listed below. Make sure you back up each strength with an example from your past experience.
Hard Working in nature.
Dedication.
Commitment.
Good Team player.
Communication Skills
Problem solving skills
Taking Initiatives
Beging Pro-active
Design Skills
Weakness: When ever you say you have a weakness, make sure you also have a plan and working on it to over come your weakness.
Too invloved: Some times when there is a technical issue or a problem I tend to work continuously until I fix it without having a break. But what I have noticed and, I am trying to practice is that, taking a break away from the problem and thinking outside the box or taking suggestions will assist you in identifying the root cause of the problem sooner.
Over confident: Very rarely I become over confident, especially when a simple task is given, I get to solving the issue without spending much time planning. So I am working on applying the 80/20 principle of planning and implementation. Spend 80% of my effort and time in planning and 20% on implementation.
Why are you looking for a change ?
When answering this question please make sure not to talk anything bad about your current organisation, Manager or your peer. What ever may be the reason why you left your present job, don't speak badly about your previous employer. The interviewer may think, you will talk bad about his company next time you're looking for another job.
The following are some of the reasons you shouldn't be giving for quitting your current job:
1. They didn't pay you enough.
2. Odd shift timings.
3. You did not like the management.
4. This new job offer pays much more than what you are getting now.
5. You are fired for poor performance or bad code of conduct.
Answers that could get interviewer the attention:
1. My organisation is very small and I have already spent 3 years and as there is no scope for growth with my current employer and I'm ready to move on to a new challenge.
2. I'm looking for a bigger challenge and to grow my career and I couldn't job hunt part time while working. It didn't seem ethical to use my former employer's time.
3. I am relocating to this area due to family circumstances and left my previous position in order to make the move.
4. I am interested in a new challenge and an opportunity to use my technical skills and experience in a different capacity than I have in the past.
5. I was looking for a position like this which is an excellent match for my skills and experience and I am not able to fully utilize them in my present job as there is very limited scope for growth.
Other ways of asking the same question:
1. Why are you leaving your job?
2. Why did you leave your job?
3. What made you leave your current job?
Labels:
basic interview questions
,
HR
,
HR Interview Questions
,
Interview
Subscribe to:
Posts
(
Atom
)