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 4544324
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T15:39:21+00:00 2026-05-21T15:39:21+00:00

An ul list against a float:left is giving me serious headache in IE 9.

  • 0

An ul list against a float:left is giving me serious headache in IE 9. It worked fine in IE 7 and IE 8, and now it doesn’t. I’ve tried to change the doc type to no avail. If I leave the doctype out of it, it works fine….. but that’s not the way to go.

The following example will put the bulletpoints over the yellow area in IE 9. Any pointers at all?

enter image description here

Here’s my code:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<style type="text/css">
body{
background-color:grey;
}
.somewrapper{
width:500px;
background-color:white;
float:left;
}
.imagewrapper{
float:left;
width:180px;
height:140px;
margin-right:30px;
background-color:yellow;
}
ul{
margin:0px;
padding:0px;
margin-left:25px;
}

ul li{
list-style:disc outside none;
}

</style>
</head>

<body>
    <div class="somewrapper">
        <div class="imagewrapper">

        </div>
        <div class="teste">
            <h2>asdklfjaøskljf</h2>
            <ul>
                <li>aøsklfjaøs jasas fasfklf aaasfasasfa sfasfsdfasfas fasf asfasfasfasfasf asf as fasføsjklf</li>
                <li>aøsklfjaøsjklfaøsjklf</li>
                <li>aøsklfjaøsjklfaøsjklf</li>
                <li>aøsklfjaøsjklfaøsjklf</li>
                <li>aøsklfjaøsjklfaøsjklf</li>
                <li>aøsklfjaøsjklfaøsjklf</li>
            </ul>
            <h2>asdfasfasfasdfasf</h2>
            <p>asdfasfasfaskjf aklsjf asjklf askljf </p>
            <ul>
                <li>aøsklfjaøsjklfaøsjklf</li>
                <li>aøsklfjaøsjklfaøsjklf</li>
                <li>aøsklfjaøsjklfaøsjklf</li>
                <li>aøsklfjaøsjklfaøsjklf</li>
                <li>aøsklfjaøsjklfaøsjklf</li>
                <li>aøsklfjaøsjklfaøsjklf</li>
                <li>aøsklfjaøsjklfaøsjklf</li>
                <li>aøsklfjaøsjklfaøsjklf</li>
                <li>aøsklfjaøsjklfaøsjklf</li>
            </ul>
            <h2>asdfasfasfasdfasf</h2>
            <p>asdfasfasfaskjf aklsjf asjklf askljf </p>
        </div>

    </div>
</body>

  • 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-21T15:39:22+00:00Added an answer on May 21, 2026 at 3:39 pm

    By adding overflow:hidden, and then some padding tweaking I solved the most worst part. It wont flow completely around, but it will work good enough!

    So overflow:hidden is the answer.

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

Sidebar

Related Questions

I am writing a web part against a list. The first thing I do
I need to check the url against Google list of dangerous sites, how I
I've got a list of names which some code checks against to see if
I have to compare a Class object against a list of pre-defined classes. Is
If I want to filter a list of objects against a specific id, I
I have a List<> of custom objects. This custom type has a property called
In a chrome extension I want to to check each url against a list
I have a list of curse words I want to match against other list
I am currently using similar_text to compare a string against a list of ~50,000
So I need to check a string (url) against a list of reg ex

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.