- This topic is empty.
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
- The forum ‘CSS’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
I would like to have an arrow appear before some text BUT the arrow needs to appear outside the div
. Using position:absolute
is fine until I add the needed overflow-y:scroll
–
http://codepen.io/seanjacob/pen/oHzcq
I rather not use padding-left
on the div
.
Do you expect the arrow to scroll with the text?
Pretty sure it can’t do that if you’re restricting overflow.
Yes I do expect the arrow to scroll with the text.
Not going to happen with CSS, I suspect….given that overflow restriction is a requirement.
Perhaps a JS solution but I’m not seeing, TBH, the point.
Surely a better “Look At This” option exists?
I’d be interested in understanding what this is for to further my understanding.
There are other design options but this is the design the client wants and I didn’t want to say it wasn’t possible yet.
I have gone against my word and have used padding-left:20px
with margin-left:-20px
to get what I wanted, I have updated the pen.