1
Hello, in my css and html studies I am creating pages and I came across a following problem that I am a few days trying to understand, I have a tag and inside it I have a background-image that is covering all content, why give this behavior? and how I can solve?
html code:
<aside>
<img src="br.jpg" alt="" width="150%">
<p class="cc1">Already have an account?</p>
<h1 class="cc2">Go to your account</h1>
<input class="cc3" type="button" value="sign up">
</aside>
css code:
aside{
width: 50%; height: 100%; position: fixed; right: 0; top: 0;
}
i’ve tried to apply direct in css but I got no result, in advance I come to thank to those who take their time to help me, my thank you
hello I want the image in question to serve as aside background, but I can’t manipulate it to fit properly inside the aside
– Rafael Silva
Edited, see if it solves your problem :)
– user187547
thanks for the help but still the content continues as a kind of padding the img and not above it
– Rafael Silva
Try a position: Absolute; bottom:0; in css
– user187547