ok so i know this might be a tired topic for a lot of you guys, but i have searched everywhere on the internet and the code seems to be the same… yet when i try to use it i can’t get it to work properly?
anyway, here’s the code i’m using:
[quote]
<style type=”background/css”>
<!–
body {
background-color: #8D93B3;
background-image: url(files/backgroundgradient.jpg);
background-position: top;
background-repeat: repeat-x;
}
–>
</style>
before i did this i defined a new CSS tag as “background”. i had also created an image in photoshop that was 1 px by 500 px
with a gradient done inside of it – the bottom part of the gradient is the color code you see in my coding.
however when i preview in browser it shows no background (just white).
ideally i’d like to do the gradient angular (top to bottom, left to right) like printhuge’s website:
[url]http://printhuge.com/
if you can recommend how i can do that, i would be very grateful. i initially thought to just create the entire page on photoshop as a giant image (i can create that gradient on photoshop). BUT then i’d have a huge image file to load on the page and that won’t account for any size window, obviously.
admittedly i am new to this and have been doing the dreamweaver tutorials & whatnot, i’m not a professional, but am doing what i can to learn. thanks SO much for any help! ?
EDIT: i’ve read this page on this site:
[url]http://www.google.com/url?sa=U&start=5&q=http://www.webdeveloper.com/forum/showthread.php%3Ft%3D117264&ei=MHO9SeiBE4HwsAOUk8E5&sig2=S3UaRjoUpmhoCLStpu8Ufw&usg=AFQjCNGRB2IDiJk1lTB9Rn4k7ufjA8P_LQ
(that’s how i found this site). i’ve tried that code too, and it doesn’t work either for me. what am i doing wrong?