- This topic is empty.
Viewing 7 posts - 1 through 7 (of 7 total)
Viewing 7 posts - 1 through 7 (of 7 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.
Hey! Here I’m back.
Cant understand why in this example the title part when in two rows it hides the line to the right? When its one row – its ok. Have any ideas?
You have them absolutely positioned, so when the first line wraps it covers the second.
Ok. Any ideas how to handle it ?
Don’t position them absolutely.
Is there a reason that that div
has the “imgframe” class?
If it had its own class name, you could target it much easier. For example, you could position the figcaption
and span
relatively, and add a media query so they don’t overflow their container on small screens:
No, there is no exect reason, but its off of the case.
How else can I draw the line to the right without making it absolute?
How else can I draw the line to the right without making it absolute?
The only reason I would give the container a different classname is so the changes don’t adversely affect the other .imgframe
elements on the page.
If you don’t want to remove the “imgframe” class, you could also add an additional classname (or id) to better target that specific div
.
Thanks alot you, guys. Understood for myself many interesting things. I’ll be back soon with new ideas and goals for common brains! *)