Forum Moderators: not2easy

Message Too Old, No Replies

global background,how to?

css,background,css-zengarden,images

         

debug1984

1:54 am on Mar 8, 2006 (gmt 0)

10+ Year Member



hi,guys~
i want to know how to place the background for the whole page ,like css-zen garden~
here is the sample
[csszengarden.com...]

pardon me the poor english,i'm from the other side of the earth

thanks

[edited by: SuzyUK at 7:58 am (utc) on Mar. 8, 2006]
[edit reason] no signatures please, see TOS#13 [/edit]

Vishal

2:19 am on Mar 8, 2006 (gmt 0)

10+ Year Member



Hello debug1984,

Welcome to WebmasterWorld.

Here are first few lines of code from their css file, hope it helps.

html {
background: transparent url(htmlbg.jpg) repeat-x;
}

body {
margin: 0;
padding: 0;
font: normal 0.7em/1.4em Tahoma, Verdana, Arial, Georgia, sans-serif;
color: #7c7c7c;
text-align: center;
background: transparent url(bodybg.jpg) no-repeat center top;
}

#container {
margin: 0px auto;
padding: 0;
width: 696px;
border: none;
text-align: left;
background-image: url(footerbg.jpg);
background-repeat: no-repeat;
background-position: bottom;
padding-bottom: 70px;
}

Vishal