Answer the question
In order to leave comments, you need to log in
How to remove spaces from a string in Ruby?
I understand that the question is stupid, but for some reason I could not find an answer to it. or poorly searched (
In general, the task is simple. There is a simple css code:
div{
width:100px;
height:50px;
background:tomato;
}
Answer the question
In order to leave comments, you need to log in
Sori, but at first it suggests itself: what for do such broken backgrounds do?
You draw whatever image you want in photoshop, then you set the background for the desired block: url(img.png) + absolute positioning, if required.
You can of course in another way, but you do not need it.
Check out the source code on that site...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question