Sign up ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free.

I'm trying to make a website and everything works fine on certain browsers like Google Chrome and Safari, but it doesn't work on Mozilla Firefox and Internet Explorer.

Here's a link to how it looks http://imgur.com/BmMOqw0,qiICBR4#0 The first image is how it looks in Chrome and Safari. The second link is IE and Firefox.

The HTML is basically a square image wrapped in many borders.

 <div> <div> ... <div> <img> </div> ... </div> </div>

The CSS has the image and all the divs set to border-radius 100% and also has code along the lines of:

 max-width: 574px;
 max-height: 574px;
 display:block; 
 max-height:100%; //repetitive, I know, but I've been frustratingly trying everything that might work
 width:auto; 
 max-width:100%;
 height: auto;

I've tried it with max-height, without max-height, with height: 100%, without height: 100%, etc. I've googled this problem countless times and the solutions that work for others don't seem to work for me. I've set html, body {height: 100%} and I've tried .cycle-slide {width:100%;} and section img { width: 100% } but those didn't work either.

edit: http://jsfiddle.net/zc3Y8/1/ The code is a little bit different because I'm using Ruby on Rails on Aptana. But this is pretty much how it looks

share|improve this question
    
A jsfiddle.com example would be helpful :) – Daniel Aug 9 '13 at 23:22
    
added a jsfiddle – user2669464 Aug 10 '13 at 0:27

1 Answer 1

You are using two different images as link: First one, http://i.imgur.com/BmMOqw0.png and second one, http://i.imgur.com/qiICBR4.png

share|improve this answer
    
Yeah, stackoverflow only allows two links in the post, so I put it together to show what it looks like in Chrome/Safari and Firefox/IE – user2669464 Aug 10 '13 at 20:18
    
I mean that you have different images for each link in your page... – Manolo Aug 11 '13 at 13:24
    
Sorry for the confusion. My website has two circles. The first image ( i.imgur.com/BmMOqw0.png) is how it looks in Chrome/Safari and the second image ( i.imgur.com/qiICBR4.png ) of the distorted circles is how it looks in Firefox/IE. – user2669464 Aug 11 '13 at 19:17
    
You have an extra </div> – Manolo Aug 11 '13 at 19:28
    
It still didn't fix my problem when I changed it, but thanks for that catch. – user2669464 Aug 12 '13 at 18:48

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.