Jump to content

Coding Help


bluewisp16

Recommended Posts

I created a background that I want to use on my user lookup, but whenever I code it in using this:

<img src="http://whatevermyURLis.jpg"'>http://whatevermyURLis.jpg" id="img">

it's too small. I tried making it larger in Photoshop, but it still doesn't help. I've also tried using this:

<img src="http://whatevermyURLis.jpg" width="1050" height="2100" />

but it makes the image a bit fuzzy and pixely. All help is greatly appreciated!

Link to comment
Share on other sites

Try using this it's a css code.

 

#main {
background: url("URL HERE");
background-color: purple;
margin-left: 125px;
}

 

if you don't want your image to repeat add no-repeat; to the coding.

I hope this helps.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...