Skip to content

Tag: css

Horizontal scroll using arrow keys

I use a horizontal scroll on a page I built. It’s inside a div, named it with a class, and I want to use the arrows keys to scroll. For it to scroll with the keys, I need to click somewhere on it. Is it possible to use the keys directly on first load of the page without necessarily clicking

Link text is not respecting div boundaries

I am creating some html tags dynamically as below which contains some text and a link. Javascript: CSS: Normal text is working fine and it is getting wrapped to the next line if it is crossing the div width but the link text is not getting wrapped to the next line if it is crossing the div width. Can any