0
I m doing wrapper now but I had a any problems. How can I place a href on picture I use positions flexes in css but useless
5 ответов
+ 2
Gulnoz Teshaboeva
Image won't be displayed if you provide any random text as image source.
You need to give proper path to image destination.
Moreover you must specify the height and width of your image.
Is this what you were trying to do?
https://code.sololearn.com/W787JxcvzGdi/?ref=app
If no then feel free to ask further details and also keep in mind that you'll have to complete html course properly (you haven't started yet) to understand this
+ 1
Question does not sound clear enough. Can you link your code.?
Maybe you want the user to get redirected to specific link when image is touched.
You can try nesting your image inside an anchor tag.
<a href="link">
<img src="source" >
</a>
+ 1
thank you
0
<div class="menu">
<img src="img.png">
<a >contacts</a>
css:
.menu img{
display:flex;
width:100%;
height:43px:
}
.menu a{
flex:4;
align-items: center
}
I tried but the text " contacts" remains under picture
0
the text is not visible I'm doing menu which tag i should use there