Css Backgrounds
8 posts
Page 1 of 1
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
<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
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
They always think they know what I will write, and they just fill it up for me. I get so annoyed. NotePad FTW.
-Toxikr3
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:
+rep to Adobe Dreamweaver :lol:
We shall let the revolution begin.. the revolution for freedom, freedom against censorship. We shall fight in the fields and in the streets, we shall fight in the hills; we shall never surrender
8 posts
Page 1 of 1
Copyright Information
Copyright © Codenstuff.com 2020 - 2023