[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.

09/05/2009 at 11:27AM PDT, ID: 24710112
[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!

6.8

Bulleted list not placed correctly beside floated image - margin ignored

Asked by alicia1234 in Cascading Style Sheets (CSS)

I've tried everything I can think of to solve this problem, but I just can't make it work right.
www.wallewu.com/bulletproblem.html

The second bulleted list is displaying correctly: indented 20px. But the first one, which is to the right of a div that is floated left, does not display correctly. The div has a 15px right margin, and it's as if this margin is being totally ignored in the case of the bulleted list.

I do not have the luxury of being able to change the HTML code. Can only change the CSS. This problem exists in a much more complicated page, but I've extracted only the relevant code and also made the style sheet internal to help me debug it, and that's the "bulletproblem.html" code that I've posted for you to see.


I need help! ;-)
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
72:
73:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Bullet Problem</title>
<style type="text/css">
* { margin: 0; padding: 0; border: none; }
img {border: 0; }
html { background-color: #49176D; }
/* Set default font size to 10px (62.5% of 16, the browser default) as basis for em measurements */
body { font: 62.5%/180% "Trebuchet MS", Arial, Helvetica, sans-serif; color: #454545; }  
div#clearfloat { clear: both; }
h1 { font-size: 1.9em; font-weight: bold; padding-left: 5px; }
h2 { font-size: 1.6em; font-weight: bold; padding-left: 5px; }
h3 { font-size: 1.5em; font-weight: bold; padding-left: 5px; }
p { font-size: 1.3em; line-height: normal; margin: 0; padding: 5px 5px 5px 5px; }
ul { list-style-type: disc; list-style: outside; padding: 5px 5px 5px 5px;  }
ol { list-style-type: decimal; padding: 5px 5px 5px 5px; }
li { font-size: 1.3em; }
div#bodywrapper { width: 556px; margin: 0 auto; padding: 10px 0 18px 0; background-color: #49176D; }
div#centerwrapper { float: left;  width: 548px;  margin-left: 4px; margin-right: 4px;  }
div#phototextwrapper { background-repeat: repeat-x; background-position: bottom right; padding: 10px 10px 10px 10px; background-color: #FFFFFF; }
div#content {  }
div#content h2 { font-size: 1.6em; color: #454545; padding: 0 5px 5px 5px; margin: 0; }
div#content ul, div#content ol { margin-left: 35px; margin-right: 20px; }
div#photo { float: left; width: 165px; padding-top: 5px; margin-right: 15px; }
div#pageheader { height: 25px; background-color: #49176D; border: 1px solid #FFFFFF; border-bottom: none; padding-top: 2px; }
div#hdricon { float: left; padding-left: 5px; }
divl#hdrtxt { float: left; }
div#hdrtxt h1 { line-height: normal; color: #FFFFFF; }
div#actions { text-align: right; }
div#actions a { font-size: 1.1em; }
</style>
</head>
<body>
<div id="bodywrapper">
  <div id="centerwrapper">
    <div id="pageheader">
      <div id="hdricon">
        <img src="icon_hr_sm.png" alt="Human Resources Icon" />				
      </div> <!-- hdricon -->
      <div id="hdrtxt">
        <h1>Human Resources</h1>
      </div> <!-- hdrtext -->
    </div> <!--pageheader -->
    <div id="phototextwrapper">
      <div id="photo">
        <img src="placeholder_photo.png" alt="Placeholder Photo" />				
      </div> <!-- photo -->
      <div id="content">
        <h2>Headline goes here	</h2>
        <p>Aenean a ligula in lectus molestie scelerisque. Aenean a ligula in lectus molestie scelerisque. </p>
        <ul>
          <li>First bulleted list item #1</li>
          <li>First bulleted list item #2</li>
          <li>First bulleted list item #3</li>
        </ul>
        <p>Aenean a ligula in lectus molestie scelerisque. Aenean a ligula in lectus molestie scelerisque. Sed vulputate tincidunt metus.</p>
        <ul>
          <li>Second bulleted list item #1</li>
          <li>Second bulleted list item #2</li>
          <li>Second bulleted list item #3</li>
        </ul>
        <p>Aenean a ligula in lectus molestie scelerisque. Aenean a ligula in lectus molestie scelerisque. Sed vulputate tincidunt metus. Aenean a ligula in lectus molestie scelerisque. Aenean a ligula in lectus molestie scelerisque. Sed vulputate tincidunt metus. Aenean a ligula in lectus molestie scelerisque. </p>
      </div> <!-- content -->
      <div id="actions">
          <p><a href="#" target=_"blank">Click here for more info</a></p>
      </div> <!-- actions -->
    </div> <!-- phototextwrapper-->
  </div> <!-- centerwrapper -->
</div> <!-- body wrapper -->
</body>
</html>
[+][-]09/05/09 12:05 PM, ID: 25267353

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.

 
[+][-]09/05/09 12:40 PM, ID: 25267448

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.

 
[+][-]09/06/09 12:07 AM, ID: 25268979

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.

 
[+][-]09/06/09 12:08 AM, ID: 25268985

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

Zone: Cascading Style Sheets (CSS)
Sign Up Now!
Solution Provided By: kadaba
Participating Experts: 2
Solution Grade: A
 
 
[+][-]09/06/09 01:05 AM, ID: 25269090

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.

 
[+][-]09/06/09 06:43 AM, ID: 25269901

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.

 
[+][-]09/06/09 06:44 AM, ID: 25269909

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.

 
[+][-]09/06/09 06:59 AM, ID: 25269968

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.

 
[+][-]09/06/09 07:34 AM, ID: 25270073

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.

 
[+][-]09/07/09 02:15 AM, ID: 25273663

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.

 
[+][-]09/07/09 07:44 AM, ID: 25275392

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.

 
 
Loading Advertisement...
20091111-EE-VQP-91 - Hierarchy / EE_QW_EXPERT_20070906