This question already has an answer here:
- Div height:0px does not work? 9 answers
I was trying to make a webpage using css .. Suddenly i realized that i could not set the height of some text in paragraph(or div) to 0px. I thought of getting some help from this amazing community.
<!DOCTYPE html>
<html>
<style>
p{
background-color:red;
height:0px;
}
</style>
<body>
<p>All behold the power of mighty Juggernaut</p>
</body>
</html>
Aucun commentaire:
Enregistrer un commentaire