Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6803619
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T19:21:59+00:00 2026-05-26T19:21:59+00:00

The following markup is not something I can change as it’s based on user

  • 0

The following markup is not something I can change as it’s based on user content. The problem is that in IE9 the bullets in a ul that are next to a floated img appear on the wrong side of the image. This is only a problem in IE9. The way the ul wraps the image is desired behavior and something I’d like to keep but that makes this problem really hard to solve.
Any ideas on how to solve this without changing the markup and in a way that looks good cross-browser?

Fiddle
http://jsfiddle.net/fdHN6/

EDIT : I should have mention this, list-style-position: inside causes the last bullet point which has more than one line of text to align incorrectly which is why that alone is not really a good solution.

<html>
    <body>
        <div style="width:500px;">
            <img src="http://placekitten.com/g/200/303" alt="smelly cat" />
            <ul style="margin-left: 10px;">
                <li>Mine!</li>
                <li>Mine!</li>
                <li>Mine!</li>
                <li>Mine!</li>
                <li>Mine!</li>
                <li>Mine!</li>
                <li>Mine!</li>
                <li>Mine!</li>
                <li>Mine!</li>
                <li>Mine!</li>
                <li>Mine!</li>
                <li>Mine!</li>
                <li>Mine!</li>
                <li>Mine!</li>
                <li>Mine!</li>
                <li>Mine!</li>
                <li>Mine!</li>
                <li>Mine!</li>
                <li>Mine!</li>
                <li>Mine!</li>
                <li>Mine!</li>
                <li>Mine!</li>
                <li>Mine! Mine! Mine! Mine! Mine! Mine! Mine! Mine! Mine! Mine! Mine! Mine! Mine! Mine</li>
            </ul>
        </div>
</body>
</html>

body{
    margin-left:35px;
}

img {
    margin:20px;
    float:left;
}

ul li {
    list-style-type: disc;
}
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T19:22:00+00:00Added an answer on May 26, 2026 at 7:22 pm
    list-style-position: inside;
    

    should solve your issue.

    http://jsfiddle.net/fdHN6/1/

    UPDATE: Using pseudo-elements you can achieve a similar effect, while preserving the text-indent:

    http://jsfiddle.net/fdHN6/3/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Does anyone know of a solution to the following markup validation error? I'm not
I have the following markup for buttons (can be changed, but I really don't
I have the following markup that is used to produce a pop-up style mega-menu
Placing the following code inside the 'markup' section on a web form does not
I'd like to be able to generate the following markup: <label for=field>Something <span class=hint>Field
I have a web user control with the following markup <table> <tr> <td> <h1>
I have the following markup on page load: <select name=sel_billing_address></select> After page load that
I have the following, which doesn't work, my validation seems that it's not triggered
I have the following markup, and I want to make the All radio button
Given the following markup: <ul> <li>apple</li> <li class=highlight>orange</li> <li>pear</li> </ul> Both the ul s

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.