+ 1
How can I make the img height the same as the paragraph beside it, in any screen size?
5 odpowiedzi
+ 1
Output is blank.
+ 1
It shouldn't be.
It works on my phone and laptop.
+ 1
💜 Alex Tușinean 🍇 ,hello
There is indeed an output, we just haven't been able to wait the 6s it takes to load totally.
When you say same size as the p, you mean the real p element or the div containing it?
0
💜 Alex Tușinean 🍇
Hello,
Concerning your question,have you considered using the CSS rule @media queries which allow specify rules according to screens...?
(Beside of that, from your code nothing appears in the output for me.)
0
From what I see, you didn't size your p element (no height) from #firstparagraph , also maybe instead of wrapping in table, you could try something with display:flex or display: grid on #homepage, and then play with property of their elements...(align-items for flex...)