Will the program create a background image for a webpage?

Started by arthurghewett, January 27, 2008, 08:32:05 PM

Previous topic - Next topic

neuspadrin

#15
you cant control the sites background as well with the default values.  just remove the image from the body tag and use css to do it (as i showed earlier).  it will remove the blue block showing up again at the bottom suddenly.  and set the background of the page to the very bottom color of the gradient.

great tutorials for css if you dont have experience with it:
http://www.w3schools.com/css/default.asp

css allows you to make a much better site with more control over how it functions.

arthurghewett

Thanks for your help.
http://www.arthurhewett.info/
I think I have it now.
Also plan to play around in the W3 area.
I know some about CSS but I am certainly not a 401 application, probably a 201.
Thanks again for your help.
Arthur
:)

arthurghewett

I notice I create this background 128x750 NOT the 128x128 and I used CSS to show it.
http://www.arthurhewett.info/
Is this the normal size 128x750 for a webpage background?

Arthur

neuspadrin

what?

and btw the reason your picture isnt showing:
c:\!!!1\backgroundbluegradient1.jpg <-- its pointing somewhere to your harddrive.... also i noticed theres two <html> tags and thus two <head> sections.

actually all of this:
---------------------------------
<style type="text/css">
body {background-repeat: no-repeat;}
</style>

<!-- End Gem Insert your own HTML -->
&nbsp;<!-- Start Gem Insert your own HTML -->
<html>
<head>

<style type="text/css">
body
{
background-image:
url('c:\!!!1\backgroundbluegradient1.jpg');
background-repeat: repeat-x
}
</style>

</head>

<body>
</body>
</html>

is inside the body tag.... you just need that style part to be inside the head area (the actual heading...).

also you shouldnt keep the call to the image inside the body tag when you use css to change it.