Hi there,
I have the following code to define the first article on the website I'm developing Strong-Links.org
<article id="me" class="panel">
<img src="/images/Strong-Links.png">
<a href="#work" class="jumplink pic">
<span class="arrow icon fa-chevron-right"><span>See my work</span></span>
<img src="images/me.jpg" alt="" />
</a>
</article>
This basically just places two images on the page, with me.jpg aligned to the left, and an arrow icon overlaying it.
However, when I view this page from the mobile, Strong-Links.png spans over the screen. I need to make it width=100%.
In the CSS mobile styles, I have defined the below:
.picture-center
{
width=100%;
height=100%;
}
The same, but blank, is in the desktop CSS styles.
Under the HTML file, I now have the following:
<article id="me" class="panel">
<div id="center-picture">
<img src="/images/Strong-Links.png">
</div>
<a href="#work" class="jumplink pic">
<span class="arrow icon fa-chevron-right"><span>See my work</span></span>
<img src="images/me.jpg" alt="" />
</a>
</article>
However, this does not solve the problem. The image still overlaps the edges on a mobile device. Some please tell me what I am doing wrong!