Solved

Why are my ordered list (ol) numbers appearing on the right instead of the left?

Posted on 2010-08-28
3
680 Views
Last Modified: 2012-05-10
I have a simple ordered list and the numbers appear on the right in IE 7. Help?

Here's my code:

<div class="indent_left_mid" style="line-height: 1.8em; margin: 0; padding: 20px; ">
                                                                                    <p style="font-size: 1.8em;">Why  it pays to register...</p>
                                                                                    <p style="font-size: 1.4em;">Five great reasons:</p>
                                                                                    <ol
                                                                                                ><li><span class="featured_text_yellow">Complimentary Move or Cash Rebate</span><br />
                                                                                                Your apartment lease includes professional moving service from your current local home or apartment to your new one at no charge to you. This service is free and is addition to ALL other specials! .</li
                                                                                                ><li><span class="featured_text_yellow">Gift cards, coupons, unpublished specials</span><br />
                                                                                                            You not only forfeit nothing, but you'll often get much more than you could on your own or even through another locator.</li
                                                                                                ><li><span class="featured_text_yellow">Latest unpublished rates and specials</span><br />
                                                                                                            Your registration will insure that you have the latest unpublished rates and specials, plus our professional recommendations based on our inside knowledge of each property and I relationships with the onsite staff.</li
                                                                                                ><li><span class="featured_text_yellow">Our insider info on apartments saves you time, money <br />
                                                                                                            and possible disappointment later...<br />
                                                                                                            </span>We want you to have the  very best apartment locating experience possible. Our insider knowledge about the good and the not so good of each apartment community can save you time, money and possible disappointment later. </li
                                                                                                ><li><span class="featured_text_yellow">Our apartment locating services are absolutely free</span><br />
                                                                                                            Our services are provided free of charge. </li
                                                                                    ></ol>
                                                                                    <p>Please provide us with a little information by submitting our registration form on the right, so we can email you a package of hot properties and current specials. </p>
                                                                                    <p>You can always give us a call us  at <span class="featured_text_yellow">214-377-2944</span> </p>
                                                                                    <p><span style="font-size: 1.4em;">Thank you for visiting our web site...</span></p>
                                                                                    <p class="featured_text_yellow">The My Dallas Apartment Client Services Team</p>
                                                                        </div>
0
Comment
Question by:weknowjack
3 Comments
 
LVL 5

Expert Comment

by:roxviper
ID: 33550142
Hi,

You must provide more code. If you put that text into a clean document, you will see that it's ok.
0
 

Author Comment

by:weknowjack
ID: 33550312
Thanks. Here is the applicable css:

div, ul, ol, li, a {
      padding:0px;
      margin:0px;/*      behavior: url(./iepngfix.htc);*/
}

.content_area_mid { /*outer container*/
      width:905px;
      float:left;
      background-image:url(../images/content_area_mid.jpg);
      background-repeat:repeat-y;
}

.content_indent_left_wrap { /* inner container  */
      width:660px;
      float:left;
}

/* container and styles of the ol */

.indent_left_mid {
      width:590px;
      padding: 20px 35px 0px 35px;
      float:left;
      font-size: 14px;
      letter-spacing: 1%;
      line-height: 1.3em;
}

.indent_left_mid li {
      font-family:Georgia, "Times New Roman", Times, serif;
      font-size:14px;
      text-decoration:none;
      color:#FFFFFF;
      font-weight:normal;
      margin-top: 8px;
      margin-left: 22px;
      color: #FFF;
}

.featured_text_yellow {
      font-family:Georgia, "Times New Roman", Times, serif;
      font-size:20px;
      text-decoration:none;
      color:#e8cf8e;
      font-weight:normal;
      width: 600px;
      float: left;
}
0
 
LVL 13

Accepted Solution

by:
myderrick earned 500 total points
ID: 33551208
Hi,

Do this:

remove the float: lfet from this css:

.featured_text_yellow {
      font-family:Georgia, "Times New Roman", Times, serif;
      font-size:20px;
      text-decoration:none;
     
      font-weight:normal;
      width: 600px;
      /***float: left;***/
}

Good Luck

MD
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article discusses how to create an extensible mechanism for linked drop downs.
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
In this tutorial viewers will learn how to style different bullet points for unordered lists in CSS. Begin with a normal unordered list; the default bullet point is a solid circle: In the CSS, create a defined class of unordered list by typing "ul.S…
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now