The example is clear. I want to have an horizontal scroll in the ol but the 3 is going down.
Surround the ordered list with a wrapper:
Remove overflow: auto from the ordered list and add it to the wrapper. Make sure the wrapper has a fixed width:
The wrapper should now act as a window within which the ol will scroll.
You can add white-space:nowrap; to the ol block to prevent the text from wrapping.
@Meta_Ing much more elegant your way :)
@Meta_Ing your solution worked, thank you!
You must be logged in to reply to this topic.
*May or may not contain any actual "CSS" or "Tricks".