CSS Image Link Help
I have a css image header backgound which i linked using the following code and it works in IE - http://slouchmat.co.uk/products.htm - if you click on the header it takes you back to the homepage
however it does not work in Firefox
The code: -
background-position: center center;
The debugger says "windows.location is not a function". Try:
I can never remember the best way to do this for cross-browser compatibility, so you may also have to try "window.location", "document.location", and "document.location.href", but the principle is the same.
Sometimes not having a space where one is expected can cause problems. Maybe this one?: logo"onclick Or, is it just a typo here?
you can also put your div inside in a tag. otherwise you can simply use onclick="location='http://slouchmat.co.uk/index2.htm';"
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)