I want to have a bar go across the page horizontally in the centre of the body, just wanted to check my css
This is working in IE, but not FF. It's weird because in FF the bar is appearing at the top, but from the middle of the bar (so it takes the 50% from the image, rather than the body). Is there a better (or right) way of doing this?
Thanks
Code:
background-image:url(images/bar.jpg);
background-repeat:repeat-x;
background-position:50%;
This is working in IE, but not FF. It's weird because in FF the bar is appearing at the top, but from the middle of the bar (so it takes the 50% from the image, rather than the body). Is there a better (or right) way of doing this?
Thanks