I'm trying to make my own template, and I need the background separated in three parts: top border, main background and botttom border. The main background must repeat lengthwise and widthwise to fill the screen, and the other two parts only will repeat widthwise because they have a fixed size. I devise doing this developing two tables (in the sides of main page) with three rows each one like this:
For each row I apply a different CSS style:
#fondo1 { /*top border*/
background-image: url(../images/fondo/01.jpg);
background-repeat: repeat-x;
}
#fondo2 { /*main background*/
background-image: url(../images/fondo/03.jpg);
background-repeat: repeat;
}
#fondo3 { /*bottom border*/
background-image: url(../images/fondo/02.jpg);
background-repeat:repeat-x;
}
In firefox and Safari works really good, but IE don't show correctly the main background (it doesn't repeat). I attach two screenshots from firefox and IE:
Thanks!!!
Bookmarks