⤿ html vertical overlap
Sep. 23rd, 2023 01:21 pm![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
this time i'm gonna
experiment some more with
boxes
while practicing
things i already
know, such as:
- fonts and colours
- lists
- hyperlinks
hm. it's strange that last time i made boxes, they stretched to accomodate
text, but this time, it didn't. i wonder if it's because i defined dimensions
for the text. let me see if that's the case:
woah. this isn't what i thought would happen.
i learned something just now though!
when i defined the length and width for the first div, i also defined where
the next div would start. that's why there was overlap!
the next div would start. that's why there was overlap!
now i want to figure out how to do it on purpose. i originally wanted to learn how to use images as backgrounds in this post,
but it's good that i ran into this problem so i can deepen my understanding of
html and how it works.
woaahh!!! i did it! so basically what i did was i made the div above this one 15px tall, and then i typed a lot to make the text taller than 15 pixels.
this just looks like a big disaster, but it was very educational for me. in the next post, i'll try to make boxes with images as the backgrounds.