bluewisp16 Posted February 25, 2012 Share Posted February 25, 2012 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! Quote Link to comment Share on other sites More sharing options...
Mouseykins Posted February 25, 2012 Share Posted February 25, 2012 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. Quote Link to comment Share on other sites More sharing options...
youngrace Posted February 27, 2012 Share Posted February 27, 2012 ditto mouseykins. and remember to add <style> and </style> around it to make sure it's read as css, and not html! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.