0

Really annoying glitch...

I was experimenting with shapes so I created this html code to begin with then build from: <style> #square { width: 50px; height: 50px; background: black; position: relative; } </style> <div id="square"> </div> It worked so far, creating a small, black square. Then I wondered if it would work without a backround code, so I took thar bit out. It didn’t work, so I typed it back in exactly as it was, and it didn’t work! Has this happened to anyone else and is there a solution to get it to work again?

24th Jun 2018, 7:54 PM
George
George - avatar
2 odpowiedzi
+ 4
George I tested this for you a few times its working fine for me did you accidentally remove a ; or misspell something? I pasted this exact post and it worked great.
24th Jun 2018, 8:23 PM
bobbie
bobbie - avatar
0
oh - I wrote backround instead of background... I feel a bit silly now - thanks for your answer anyway!
25th Jun 2018, 5:54 AM
George
George - avatar