DEV Community

loading...

What should I do in this circumstance?

불온녀
Just a normal person(except I know nothing about html/css)
・1 min read

I wrote a css code like this:
<☆style>
input type="text/css" {
background-image:url(https://postfiles.pstatic.net/MjAxOTA5MTVfNzkg/MDAxNTY4NTU2MzUyMDgy.zafr2QX1piImxHGJ-J87MKVI9rnYQ8j9KaMo5v2rpbAg.cXcUCJfnJoTfYe8GwhxbXfTowmwR5g5_i3smAhRcAG8g.PNG.lyj1898/%EC%A0%9C%EB%AA%A9_%EC%97%86%EC%9D%8C-1.png?type=w966);
}

<☆/style>

And It looks like this:

https://imgur.com/a/ah1XhbE

But in the website I'm using, it looks like this:

https://imgur.com/a/6QMBzD6

I've also tried background-repeat but it ain't work in my blog.(worked well in Tryit Editor.)

How can I align the Image properly? it should've looked like the picture one.
I can't help with how the input box was coded since I'm not the one who programmed the website.

Please, help me saving my life & ass.

https://postfiles.pstatic.net/MjAxOTA5MTVfNzkg/MDAxNTY4NTU2MzUyMDgy.zafr2QX1piImxHGJ-J87MKVI9rnYQ8j9KaMo5v2rpbAg.cXcUCJfnJoTfYe8GwhxbXfTowmwR5g5_i3smAhRcAG8g.PNG.lyj1898/%EC%A0%9C%EB%AA%A9_%EC%97%86%EC%9D%8C-1.png?type=w966

This is the original image as you see. thanks.

Discussion (1)

Collapse
cy799 profile image
불온녀 Author • Edited

Oh hell, I just figured that I made some stupid mistake :0

<☆STYLE>
bodybody,table,tr,td,select,input,div,jyjonform,textarea,pre
{
background-image:url(☆);
background-attachment: fixed;
background-repeat: repeat;
background-position: bottom right;
}
table
{
background-color: transparent;
}
td
{
background-color: transparent;
}
<☆/STYLE>

I wrote this tag to show background image but I forgot to remove "div" how dumb am I? XD It's all good now I finally solved the one mystery I have yet to face like, phew!