Page 1 of 2
CSS help / Internet explorer problem - New website
Posted: Tue May 25, 2010 11:25 pm
by JCAddy
PROBLEM SOLVED, thanks for the feedback
Hello all - I am in the middle of re doing my website from the bottom up. I'm using a starter / template base through indexhibit.org and trying to customize from there but I am now finding that it's more pain than it's worth and could have probably done it from scratch. When viewed in Firefox, chrome, or safari it displays properly but when viewed in IE it's got some strange things going on.
The issue I am having right now is that when viewed through IE (I know, I know...) images that are links, are automatically being given a rollover effect, when they should be static images (with no rollover effects) that link to another page. See below.
main page: http://www.jaddyportfolio.com
direct link: http://www.jaddyportfolio.com/work/arch ... rendering/
Any ideas how to prevent this from happening in IE? This is probably a simple fix, but I am a tard when it comes to CSS / HTML, so I am learning as I go.
Thanks in advance.
Jason
Re: CSS help / Internet explorer problem - New website
Posted: Wed May 26, 2010 2:41 am
by Bubbaloo
I have no experience with website development. So I can not help you with your problem. I'm just here for emotional support.

Re: CSS help / Internet explorer problem - New website
Posted: Wed May 26, 2010 5:42 am
by JCAddy
You always were good for bumping a thread. Haha, thanks for the support!
Re: CSS help / Internet explorer problem - New website
Posted: Wed May 26, 2010 2:51 pm
by caryjames
Really nice site, renders and presentation!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
P.S. Opens fine here in Firefox

Re: CSS help / Internet explorer problem - New website
Posted: Wed May 26, 2010 4:48 pm
by JCAddy
Thanks Cary. I wish people would just stop using IE and I wouldn't be having this problem. Who really enjoys IE anyway?
Re: CSS help / Internet explorer problem - New website
Posted: Wed May 26, 2010 9:48 pm
by JCAddy
Bump, no love? I know a lot of you guys on here are smart with the coding.
Re: CSS help / Internet explorer problem - New website
Posted: Wed May 26, 2010 9:57 pm
by Mihai
Try taking out this part:
Code: Select all<script type='text/javascript'>
function swapImg(a, image)
{
var the_path = 'http://www.jaddyportfolio.com/files/gimgs/' + image;
show = new Image;
show.src = the_path;
$('body').css({ backgroundImage: 'url(' + show.src + ')', backgroundPosition: '215px 0' , backgroundRepeat: 'no-repeat' });
var title = $('#img' + a).attr('title');
var caption = $('#img' + a).attr('alt');
if (title != 'N/A')
{
caption = (caption != 'N/A') ? ': ' + caption : '';
$('#backgrounded-text').html('<span style="background: white; line-height: 24px;">' + title + caption + '</span>');
}
else
{
$('#backgrounded-text').html('');
}
}
</script>
Re: CSS help / Internet explorer problem - New website
Posted: Wed May 26, 2010 10:04 pm
by JCAddy
I'll try that. Thanks Mihai.
Re: CSS help / Internet explorer problem - New website
Posted: Thu May 27, 2010 2:52 pm
by RobMitchell
JCAddy wrote:Thanks Cary. I wish people would just stop using IE and I wouldn't be having this problem. Who really enjoys IE anyway?
This has been a problem that's been halting our final website designs for ages. The worst thing is that, statisticly, most people are still using IE6 which makes most websites coded for recent versions of Firefox and other browsers look terrible. It's almost like a whole new code needs creating to make it look correct.
Looking forward to the point where people either ditch IE all together or IE suddenly becomes good. :p
Re: CSS help / Internet explorer problem - New website
Posted: Thu May 27, 2010 3:16 pm
by Bubbaloo
It looks great on FF.
The only thing I can comment negatively on is the choice of music for the video. For me, it doesn't fit well.
Re: CSS help / Internet explorer problem - New website
Posted: Thu May 27, 2010 4:58 pm
by JCAddy
Bubbaloo wrote:It looks great on FF.
The only thing I can comment negatively on is the choice of music for the video. For me, it doesn't fit well.
Damn you, I started with the music, because I liked it....and edited the video to match the timing of specific parts. Thought it would be a nice change from the fast paced techno music you hear in most reels. Too late though, what's done is done, not changing that guy.
Re: CSS help / Internet explorer problem - New website
Posted: Thu May 27, 2010 4:59 pm
by JCAddy
Mihai wrote:Try taking out this part:
Code: Select all<script type='text/javascript'>
function swapImg(a, image)
{
var the_path = 'http://www.jaddyportfolio.com/files/gimgs/' + image;
show = new Image;
show.src = the_path;
$('body').css({ backgroundImage: 'url(' + show.src + ')', backgroundPosition: '215px 0' , backgroundRepeat: 'no-repeat' });
var title = $('#img' + a).attr('title');
var caption = $('#img' + a).attr('alt');
if (title != 'N/A')
{
caption = (caption != 'N/A') ? ': ' + caption : '';
$('#backgrounded-text').html('<span style="background: white; line-height: 24px;">' + title + caption + '</span>');
}
else
{
$('#backgrounded-text').html('');
}
}
</script>
I did this last night and it didn't work. I'm about as clueless to WHY I would have been removing that as to what to do next, so thanks for the suggestion.
Re: CSS help / Internet explorer problem - New website
Posted: Thu May 27, 2010 5:16 pm
by yolk
how about a start page that says: are you using IE? you're a moron. download chrome or firefox here' and then add the links.
i know everybody hates flash..but at least it looks the same in all browsers - hence why i chose it
Re: CSS help / Internet explorer problem - New website
Posted: Thu May 27, 2010 5:52 pm
by JCAddy
yolk wrote:how about a start page that says: are you using IE? you're a moron. download chrome or firefox here' and then add the links.
i know everybody hates flash..but at least it looks the same in all browsers - hence why i chose it
LOL, I think the intro page is a good solution. I had a flash site before this, but figured "hey I'll do it in HTML / CSS to make it simple" and now look at where I am at.
Re: CSS help / Internet explorer problem - New website
Posted: Fri May 28, 2010 4:17 pm
by -Adrian
edit: just saw you solved it
