I am still new to the world of HTML and CSS. I have a basic understanding, but when it comes to designing, I struggle. I believe what I want is achievable, but my searches are not yielding the results I need. That's why I'm reaching out to you all for help. (I think it's called Responsive Layout? Please correct me if I'm mistaken)
Here is the page I currently have: https://i.sstatic.net/sUybv.jpg
I am satisfied with how it looks, but my goal is to maintain this layout regardless of the resolution. For example, if I resize the browser window, I want the logo to remain centered above the two buttons.
Here is my current code snippet:
<img src='../../iScrape.png' style="margin-top:25%;margin-left:35%;" />
<br />
<input id="Button1" type="button" value="LEARN MORE"style="
margin-top:2%;
margin-left:34%;
padding-left:2%;
padding-right:2%;
border-top-left-radius: 10px;
border-bottom-right-radius: 10px;
border-top-right-radius: 10px;
border-bottom-left-radius: 10px;
background-color:transparent;
border-color:white;
font-family:Verdana;
color:white;
" onclick="location.href='@Url.Action("About", "Home")'" />
<input id="Button2" type="button" value="TESTING1 TWO" style="
margin-left:2%;
padding-left:2%;
padding-right:2%;
border-top-left-radius: 10px;
border-bottom-right-radius: 10px;
border-top-right-radius: 10px;
border-bottom-left-radius: 10px;
background-color:#ED5B53;
border-color:transparent;
font-family:Verdana;
color:white;
" onclick="location.href='@Url.Action("Testing1two", "Home")'" />
(This code is within the body of a basic template in an ASP.Net project).
I'm hoping there is a straightforward way to achieve my desired layout. I am confident that such a solution exists because experiencing cropping like this:
https://i.sstatic.net/57zOz.png
is not ideal.