I've been working on creating my personal HTML record, but I'm facing one last challenge that I can't seem to overcome.
I want to design my header like this: https://i.stack.imgur.com/FU8EJ.png
With the following elements:
TEXT SUMMARY will represent the job I seek
PHOTO will showcase my photo
NAME will display my name
PERSONAL INFORMATION will include my address and phone number
However, I'm struggling to find a suitable solution as when I try CTRL+ in my browser, the elements appear scattered...
/* HEADER BLOCK */
header{
margin: 2%;
font-size: 15pt;
font-family: Comic Sans MS, Comic Sans, cursive;
width : 96%;
display: inline-block;
}
img#profilePhoto{
height: 236px;
width: 236px;
float: left;
}
div#description{
float: right;
text-align: right;
}
div#search{
text-align: center;
vertical-align: middle;
font-weight: bold;
font-size: 25pt;
width: 5000px;
}
p#name{
padding: 8px;
vertical-align: bottom;
text-align: left;
font-size: 20pt;
background-color: #7E97AD;
color: white;
width: 100%;
height: 20pt;
}
<br>
<header>
<img id="profilePhoto" src="images/photo.jpg" alt="Profile Photo">
<div id="description">
FIELD1<br>
FIELD2<br>
FIELD3<br>
FIELD4<br>
FIELD5<br>
FIELD6<br>
FIELD7<br>
</div>
<br><br>
<div id="search">
<a href="general/recherche.html">CURRENTLY SEEKING A POST GRADUATE INTERNSHIP
</a>
</div>
<p id="name">
NAME
</p>
</header>
Could someone guide me on how to create this layout effectively?