cant put elements on the level a photo is

basically i am making a portfolio for myself while learning html css and js and i have a photo at the top and some text below it but when i add a new element for a home button and i want it to be at the top level like where the photo is it wont let me and it wont let me put anything in that area the photo is (creating a new element just puts it above where the element is on the left, see image)
No description
8 Replies
Jochem
Jochem10mo ago
please give #how-to-ask-good-questions a look, without code (preferably a live example) it's impossible to give good advice
shahar king new
shahar king newOP10mo ago
i can show the code i use currently and also an example of the problem
Jochem
Jochem10mo ago
preferably in a codepen, it's more likely people will be able to help if they can see your code live
shahar king new
shahar king newOP10mo ago
i have this photo above and the a tag and everytime i add any elements it gets Below the image, now i want the a tag to be like in the picture
No description
shahar king new
shahar king newOP10mo ago
codepen? oh i want the menu a tag to be like in the photo, if i add it before the image it goes down i want it to be on the level of the image
Jochem
Jochem10mo ago
Once again, it's impossible to help without seeing your code. Check out #how-to-ask-good-questions
shahar king new
shahar king newOP10mo ago
<div id="PFPdiv">
<img src="images/mcpfp - green_spawner153.png" id="PFPImage">
</div>

<a id="MenuButton">Menu</a>
<div id="PFPdiv">
<img src="images/mcpfp - green_spawner153.png" id="PFPImage">
</div>

<a id="MenuButton">Menu</a>
this is the html with the photo and the a tag currently only the a tag has css which only changes font size color and font family
b1mind
b1mind10mo ago
I would invest some time learning Grid and Flex
Want results from more Discord servers?
Add your server