Page 1 of 1

Css Backgrounds

Posted: Sun Jan 03, 2010 1:48 pm
by Lewis
First we can change the body background of our webpage you can also look at my thread in HTML If you dont know what that is, Now We can add this to the head section of the webpage:
<head>
<style>
%Add the style tags *Dont add this*%
</style>
</head>

Now we can set the background of the webpage to a color i choose a grayish blue color:
add this in between <style>
body {
background-color:#b0c4de
}

But we can also set an image as the background:
body {
background-image:url('bg.gif')
}

You can repeat the background horizontaly:
background-repeat:repeat-x;

And Verticly:
background-repeat:repeat-y;

Note you have to add the background repeat under the were youv set the image

Re: Css Backgrounds

Posted: Sun Jan 03, 2010 1:48 pm
by Lewis
any questions? Ask me :P

Re: Css Backgrounds

Posted: Tue Jan 12, 2010 3:04 am
by tedhead2
what do you use to write CSS? I use Komodo Edit.

Re: Css Backgrounds

Posted: Tue Jan 12, 2010 4:08 pm
by Lewis
I can use notepad anything realy :P

Re: Css Backgrounds

Posted: Tue Jan 12, 2010 11:04 pm
by Toxikr3
I hate html/css editors.

They always think they know what I will write, and they just fill it up for me. I get so annoyed. NotePad FTW.

-Toxikr3

Re: Css Backgrounds

Posted: Wed Jan 13, 2010 8:21 pm
by Lewis
^^ Post above agreed ^^

Re: Css Backgrounds

Posted: Sat Jan 15, 2011 5:45 pm
by rocky4126
Dreamweaver for codehints but normally notepad/notepad ++

Re: Css Backgrounds

Posted: Sat Jan 15, 2011 5:57 pm
by Codex
I use Dreamweaver for all web coding, because if i do any sort of mistake it will tell me. and i also like the syntax highlighting. cooll;

+rep to Adobe Dreamweaver :lol: