Hi , I would like to know how to make, keep my image in my nav-bar
I think we are going to need a little more information. Can you give us a link to your project?
Are you talking about landiebeauty.png? If so, one way would be to use it as a CSS background image on the nav. Or you could move it into the nav element (before the ul).
okay ,but if i do that , i will bloked , if i want to finish my landing page, I’ve tried, but that don’t match.
I’m not sure I understand what you mean. I think you will need to give specific examples of what you tried to do and how it didn’t work. I haven’t done this project so I’m not familiar with all of the requirements, so maybe someone who has worked on this project would be able to help you better.
okay, I would like my navigation bar to be fixed position and my image to appear there, but I don’t know how to do it
I made two suggestions above but you said you tried them and they didn’t work. Maybe I misunderstood you and that wasn’t what you meant?
- Move the
<img>
into the<nav>
(putting it before the<ul>
). Then you can use various CSS positioning techniques to place everything in the<nav>
as you want. - Get rid of the
<img>
tag completely and use the CSS background property to add it as a background image on the<nav>
. This would be my preferred method.