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

7th Sep 2019, 11:53 AM
Gulnoz Teshaboeva
Gulnoz Teshaboeva - avatar
5 Answers
+ 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
7th Sep 2019, 4:23 PM
🇮🇳Omkar🕉
🇮🇳Omkar🕉 - avatar
+ 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>
7th Sep 2019, 1:18 PM
🇮🇳Omkar🕉
🇮🇳Omkar🕉 - avatar
+ 1
thank you
9th Sep 2019, 3:32 AM
Gulnoz Teshaboeva
Gulnoz Teshaboeva - avatar
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
7th Sep 2019, 2:05 PM
Gulnoz Teshaboeva
Gulnoz Teshaboeva - avatar
0
the text is not visible I'm doing menu which tag i should use there
7th Sep 2019, 2:09 PM
Gulnoz Teshaboeva
Gulnoz Teshaboeva - avatar