Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!
  • Guest, before posting your code please take these rules into consideration:
    • It is required to use our BBCode feature to display your code. While within the editor click < / > or >_ and place your code within the BB Code prompt. This helps others with finding a solution by making it easier to read and easier to copy.
    • You can also use markdown to share your code. When using markdown your code will be automatically converted to BBCode. For help with markdown check out the markdown guide.
    • Don't share a wall of code. All we want is the problem area, the code related to your issue.


    To learn more about how to use our BBCode feature, please click here.

    Thank you, Code Forum.

school project being stupid, columns and rows not working.

ijndsfijkansmf

New Coder
this is due in like a week or two and I've tried using chatgpt but it doesn't work. I've got like a background image and I have it so that when the image finishes it goes back to the normal background colour, which is white. I'm trying to put some writing next to an image which is in the middle:
<style>
/* Create three equal columns that float next to each other */
.column {
float: left;
width: 33.33%;
}
/* Clear floats after the columns */
.row:after {
content: "";
display: table;
clear: both;
}
/* Responsive layout - makes the three columns stack on top of each other instead of next to each other on smaller screens (600px wide or less) */
@media screen and (max-width: 600px) {
.column {
width: 100%;
}
}
</style>
<div class="row">
<div class="column">
<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
<div class="box">
<h2>Column</h2>
<p>With all special effects designed on our new software, Patient ZERO can compete with all upcoming films. Our new software, Spec FX 30, will be sure to give you the best viewing experience, unmatched by all others.</p>
</div>
</div>

copy and pasted from
<div class="column">
<img src="images/blakezombie.png" height="75%" />
</div>
</div>
column and row code copy and pasted from w3 schools. Ignore all the writing it's a boring project I have to do. anywyass, for some reason the column and image and writing and stuff gets caught on the bottom of the image background and doesn't go down to the normal background, which is after the image background. Here is my code for the image background btw:

<style>body {
width: 100%;
height: 100vh;
background-image: url("images/posterbackground.jpg") ;
background-repeat: no-repeat, no-repeat;
background-position: center, center;
background-size: cover, cover;
color: #ddd;
}</style>


pls make it so I can move my text with image onto the normal background, or just another way to put text with image plsssss.
 

New Threads

Buy us a coffee!

Back
Top Bottom