In each list item I have a text box within a div element.

```
<html>   
    <body>       
        <!-- Window -->
        <div id="sample_container_id">
            <div class="bucket" id="defaultBucket">
                <h3>Default Bucket</h3>
                <input type="button" value="Add" class="button">
                <div class="innerBucket">
                    <ul id="tasks">
                        <li>
                            <div class="TaskDiv">
                                <input type="text" class="TaskTextInput">
                            </div>
                        </li>
                        <li>
                            <div class="TaskDiv">
                                <input type="text" class="TaskTextInput">
                            </div>
                        </li>
                        <li>
                            <div class="TaskDiv">
                                <input type="text" class="TaskTextInput">
                            </div>
                        </li>
                    </ul>
                </div> <!-- innerBucket -->
            </div> <!-- defaultBucket -->
        </div>
    </body>
</html>

```

This is the result:

```
body 
{
    background-color: #F8F8F8;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.2em;
    margin: 15px;
}

h1, p 
{
    color: #333;
}

#sample_container_id 
{
    width: 100%;
    height: 400px;
    position: relative;
    border: 1px solid #ccc;
    background-color: #fff;
    margin: 0px;
}

.innerBucket
{
    width: 290px;
    height: 355px;
    margin-top: 40px;
    margin-left: 5px;
    position: relative;
    background-color: white; 
}

.bucket
{
    width: 300px;
    height: 400px;
    background-color: #ddd;
    position: absolute;
}

.bucket h3
{
    float: left;
    padding-left: 10px;
    padding-top: -10px;
}

.bucket ul
{
    margin: 0;
    padding-left: 30px; 
    position: relavtive;
    list-style: none;
}

.bucket ul li
{
    margin: 0;
    padding: 0;
    text-indent: 0.5em;
    margin-left: -0.5em;
    display: block;
    position: relative;
}

.bucket .button
{        
    background-color:#fbb450;       
    border:1px solid #c97e1c;

    float: right;
    margin: 5px;
    display:inline-block;
    color:#ffffff;
    font-family:Trebuchet MS;
    font-size:17px;
    font-weight:bold;
    padding:2px 11px;
    text-decoration:none;

    text-shadow:0px 1px 0px #8f7f24;
}

```

**Result**

![enter image description here](https://i.stack.imgur.com/A5pk1.png)

As you may notice the first item is indented, and I would like the list items to all be aligned on the left. How do I fix this with the CSS (there probably is a lot of things wrong with my CSS, I was trying everything)? 

**EDIT**

I added some more code. You should be able to replicate the problem now.
I didn't want to post a wall of code :)

**Solution**

I found the solution to the problem. The problem was actually the `<h3>` element. The bottom margin was forcing the first element off to the side.

![enter image description here](https://i.stack.imgur.com/mTHH5.png)

Adding this fixed the problem:

```
.bucket h3
{
    ...
    margin-bottom: 0;
}

```