In IE 7 background shift to 1 px top to but in FF it's ok?
background: url(girl.jpg) top left repeat-x;
position: relative;
top: 0px;color: #666;
border-bottom-color: white;
In IE 7 background shift to 1 px top to but in FF it's ok?
background: url(girl.jpg) top left repeat-x;
position: relative;
top: 0px;color: #666;
border-bottom-color: white;
I don't think this comes from the background image. Are you sure there is no transparent border, or other 1px shift elsewhere in the markup?
IE6 has bugs with positioning background on relative positioned elements. Is your document in standards mode? And try giving your element hasLayout e.g. with zoom: 1
.
you can use this
top:0px;
*top:1px;
*background-position:0px 1px;
you can enter value according your design. in *top: px.