fighter-ii fighter-ii - 1 month ago 5x
CSS Question

Padding not applied to ul

i really don`t know whats going on here.

I have the following HTML syntax

<div class="album_column>

And the following css:

ul {
padding: 0;
margin: 0;

.album_column ul {
display: block;
padding: auto;
margin: auto;

But for some reason, the padding of
.album_column ul
isn't applied to the ul (but all other arguments i can think of are, like margin, color, whatsoever)

You can see the behavior in the following screenshot:
Padding not applied
any input appreciated :) thanks a lot guys!

edit: additional screenshot:
padding manipulated


auto is not a valid value for padding property, the only thing you can do is take out padding: 0;