mrtblt
04-15-2008, 07:09 PM
Here is part of my css code
#cracks1
{
position: relative;
z-index: 1;
min-width: 860px;
height: 542px;
margin-bottom: -542px;
background-image: url(images/cracks1.gif);
background-repeat: no-repeat;
}
#cracks2
{
position: fixed;
z-index: 1;
min-width: 860px;
height: 647px;
margin-bottom: -647px;
background-image: url(images/cracks2.gif);
background-repeat: no-repeat;
background-position: 100% 8px;
}
and link of my site is http://www.kumyapi.com.tr/index.php
those divs which i gave css codes seem to be fluid. As i resize the window, their position changes. So how may i make them fixed?
You can see page source on the link provided above
#cracks1
{
position: relative;
z-index: 1;
min-width: 860px;
height: 542px;
margin-bottom: -542px;
background-image: url(images/cracks1.gif);
background-repeat: no-repeat;
}
#cracks2
{
position: fixed;
z-index: 1;
min-width: 860px;
height: 647px;
margin-bottom: -647px;
background-image: url(images/cracks2.gif);
background-repeat: no-repeat;
background-position: 100% 8px;
}
and link of my site is http://www.kumyapi.com.tr/index.php
those divs which i gave css codes seem to be fluid. As i resize the window, their position changes. So how may i make them fixed?
You can see page source on the link provided above