Web design background code problem?
What HTML code should I put to make sure that the background image and elements will properly fit on the screen thinking different desktop resolutions may open your site? If there's no HTML code, what CSS should I insert? I don't know anything about CSS so please be specific. I need accurate and serious answers. Thanks in advance!
Public Comments
- You add this in your html page in "head" tag <style type = "text/css"> BODY { background-image: url("logo.png"); background-repeat: no-repeat; } </style>
- Insert this code under the <head> tag of your website. <style type = "text/css"> body { background-image: url("image.png"); background-repeat: no-repeat; } </style> Change image.png to whatever is desired. Alternatively, you can use this HTML code: Replace the <body> tag with this: <body background="image.png"> Again, change image.png to whatever is desired.
Powered by Yahoo! Answers