Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I've managed to get an image rollover (images are replaced with different colour areas at hover) and it works when I load the html file direct.

My content editor webpart makes the image go all slicey / stripey and not where my image slices are either (even though the hover/replace still works) - it should be a perfect circle with 5 parts, and looks fine when loading the htm file from where its saved online.

Any idea what SP could be doing to my code and how to counteract it?

Image here

share|improve this question
    
make sure you use RELATIVE positioning in your HTML file as otherwise you might override control settings. –  C. Marius - MVP Apr 22 '13 at 13:14
    
Can you make a fiddle of it jsfiddle.net –  Muhammad Raja Apr 22 '13 at 13:40
    
Thanks, I can't without re-uploading all the images as its on an intranet. Also can't work out how to use 'position:relative', very limited access on this site. –  Kimberley-Marie Sklinar Apr 22 '13 at 15:19
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.