[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

07/24/2008 at 07:25AM PDT, ID: 23592185
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

8.8

Getting link to stay in a certain place on an image.

Asked by systems_mitsui in Cascading Style Sheets (CSS), Adobe Fireworks, Extensible HTML (XHTML)

Tags: CSS, IE 6/7 Firefox

Hi,
 I have a problem with a link that I want to stay within a certain place on an image. The image has a circle within it and on that circle I have a link called "go"

The image does not resize with the brower [set in pixels]. Neither does the link; its font-size is also set in pixels.
Now, the image and the link are in a div called  #lawn_services. Here is the XHTML

<div id="lawn_services">
<p class="lawn">lawn services</p>
<img src="lawn_services.jpg" alt="picture of a lawn"</img>
<p class="blurb">keeping a lawn in prestine condition can be an ardous task. Read more about how STK can help...</p>
<a href="#" title="click here to access lawn services">go</a>
</div>

In order to place the link within the image I made the div "#lawn_services"  position: absolute and the a: link position relative and positioned it accordingly.

However the link does not stay within the circle on the image. The div "#lawn_services"  sits within a content div called "#main_content" that is floated right 70%  The other content div '#side_menu'  is floated left :30% [in other words I have a two column liquid layout]

When the browser is re-sized or font size of the browser is  changed the image moves up and down a line and thus the link moves out of position.
If I do NOT  take the link from out of the normal flow of the document, ie do not position it absolute then it moves up and down OK relevant with other elements around it. However in the normal flow of the document it is below the image and paragraph text. How can I put the link on the image and have it stay in position relevant to the image even when the browser of font-size is increased.
Here is my CSS:

body{

margin:0;
font-family: "Gill Sans MT", sans-serif;
}

#wrapper {

width: 100%;

}




#header {

width: 100%;
height: 141px;
background: url(header_grad.gif) repeat-x;

}


#flowers {

background: url(flowers_header.jpg) no-repeat;
position: absolute;
height: 141px;
width: 230px;
top: 0;
right:0;

}


#letters {

background: url(letters_header.jpg) no-repeat;
position: absolute;
height: 141px;
width: 568px;
top: 0px;
left:0px;
}

#side_menu {
margin-top: 145px;
display: inline;
float: left;
width: 29%;

}


#main_content {

margin-top: 90px;
float: right;
width: 69%;

}

#main_content p.tag_line {
margin-left: 10%;
font-size: 1.6em;
color: #bbbf99;

}

.brown {

color: #a99a7f;

}

#footer {
clear: both;
margin-top: 10px;
width: 100%;
background-color: orange;

}


.box{
margin-left: 10%;
width: 55%;

background: #fbf5c7  url(bottom_left.gif) no-repeat left bottom;
}

.box-outer {

background: url(bottom_right.gif) no-repeat right bottom;


}

.box-inner {

background: url(top_left.gif) no-repeat left top;

}

.box h3 {

background: url(top_right.gif) no-repeat right top;


}


.box p {

color: #5e5e5a;
padding-left: 1%;
padding-right: 1%;
padding-top: 1%;

}

.box2{

width: 82%;
margin-left: 5%;
background: #fcf7ce  url(bottom_left2.gif) no-repeat left bottom;
}

.box2-outer2 {

background: url(bottom_right2.gif) no-repeat right bottom;
padding-bottom: 1%;

}

.box2-inner2 {

background: url(top_left2.gif) no-repeat left top;

}

.box2-inner3 {

background: url(top_right2.gif) no-repeat right top;
height: 1%;

}


#side_menu li {

margin-top: 14%;
list-style-type: none;
border-bottom: 1px solid #e3dfbb;
border-width: 50%;
width: 90%;
}


#side_menu a {
display: block;
padding-right: 8%;
background: url(arrow.jpg) no-repeat center right;
font-family: "Gill Sans MT", sans-serif;
font-size: 150%;
color: #7b7966;
text-decoration: none;

}

#lawn_services {
position: relative;
margin-left: 10%;


}

#lawn_services p.lawn {
margin-top: 3%;
color: #9aa529;
font-size: 130%;

}




#lawn_services p.blurb {

margin-top: 1%;
color: #8d8e87;
font-size: 90%;

}


#lawn_services a:link,#lawn_services a:visited {

position: absolute;
font-size: 20px;
text-decoration: none;
color: #c5c2a6;
top: 34%;
margin-left: 18%;
}

If you need to see the files e-mail me at d.jonesATmitsui.com






 
[+][-]07/24/08 07:28 AM, ID: 22079501

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07/24/08 07:33 AM, ID: 22079555

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07/24/08 07:33 AM, ID: 22079560

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07/24/08 08:04 AM, ID: 22079958

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07/24/08 08:21 AM, ID: 22080152

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07/24/08 08:49 AM, ID: 22080485

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Cascading Style Sheets (CSS), Adobe Fireworks, Extensible HTML (XHTML)
Tags: CSS, IE 6/7 Firefox
Sign Up Now!
Solution Provided By: abel
Participating Experts: 4
Solution Grade: A
 
 
[+][-]07/24/08 08:51 AM, ID: 22080506

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07/24/08 08:53 AM, ID: 22080532

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07/24/08 08:55 AM, ID: 22080551

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07/24/08 08:56 AM, ID: 22080559

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07/24/08 12:28 PM, ID: 22082653

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 30-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]07/24/08 12:46 PM, ID: 22082809

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07/24/08 06:12 PM, ID: 22085209

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07/24/08 06:31 PM, ID: 22085275

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07/24/08 06:52 PM, ID: 22085362

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07/25/08 04:00 AM, ID: 22087368

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091111-EE-VQP-91 / EE_QW_2_20070628