View Full Version : Help for a beginner, please, re. backgrounds
Hello,
Can anyone tell me how to use a background gif - how to make it repeat to cover the screen? I've looked on the web for the html code, but can't seem to make it work.
Any help will be appreciated! (If this is not the right place for this question, please excuse it.)
Thank you.
bobdog
12-01-2006, 11:38 AM
you can google "body background" here is one tutorial:
http://www.htmlcodetutorial.com/document/_BODY_BACKGROUND.html
Basil
12-02-2006, 03:01 AM
Feh, use CSS.
<style type="text/css">
body {
background: #fff url('image.gif') repeat top left;
}
</style>
http://www.w3schools.com/css/css_background.asp
If you're new to html, get in the habit of using CSS to style your pages, it'll pay off.
engineeringguy
12-03-2006, 09:50 AM
Feh, use CSS.
<style type="text/css">
body {
background: #fff url('image.gif') repeat top left;
}
</style>
http://www.w3schools.com/css/css_background.asp
If you're new to html, get in the habit of using CSS to style your pages, it'll pay off.
What he said x 2.. .
EchoEchoEchoEcho
redsox9
12-04-2006, 06:13 AM
Basil is correct in that you should use CSS to format your pages, backgrounds, etc.
Also, on the subject of backgrounds, I would add that you should make sure that the background being used does not detract from the page content itself. I only post this warning because I've seen too many sites ruined with background images that almost blind me. Subtle is the key... :cool:
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.