I am trying to create a image slider based on a <ul>
.
The problem is that the <li>
are not displayed inline-block
.
I already tried this:
.slider ul li {
display: inline;
float: left;
white-space: nowrap;
}
But that doesn't work. I also tried display:inline-flex;
but no result.
An other thing I tried is to replace the <li>
by a <div>
but that to without any result.
I normally works so I don't know why it doesn't work this time.
So can somebody help me fixing this problem?