Answers for "disable space create by whitespaces html"

CSS
1

css remove whitespace around element

body { margin:0px; }

header { border:1px black solid; }
Posted by: Guest on September-14-2020
0

remove whitespaces

//Extenion function
fun String.removeWhitespaces() = replace(" ", "")

// Uses
var str = "This is an example text".removeWhitespaces()

println(str)
Posted by: Guest on July-28-2021

Browse Popular Code Answers by Language