Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Coding Forum


You are currently viewing our Coding Forum as a guest. Please register to participate.
Login



Reply
IE Problem (AGAIN!!!)
Old 02-17-2006, 04:16 PM IE Problem (AGAIN!!!)
herbal_ali's Avatar
Extreme Talker

Posts: 156
Location: London, UK
Trades: 0
Hello,

IE is really pis**** me off, problem after problem. Go to my site in my sig and look at the nav bar, you see the colours of the nav buttons and the rest of the bar matches in firefox, but in IE they don't. For some reason the colours are different brightness and i have no idea why.

Incase you need to know, the images are PNG and i implemented some code to solve problems with PNG files. (see source of page, just above </head>)

Thankyou
herbal_ali is offline
Reply With Quote
View Public Profile Visit herbal_ali's homepage!
 
 
Register now for full access!
Old 02-17-2006, 08:46 PM Re: IE Problem (AGAIN!!!)
Novice Talker

Posts: 9
Trades: 0
I hate IE, Firefox Rules.
I have had problems simmilar with PNG, maby change to gif.
dcgamers is offline
Reply With Quote
View Public Profile
 
Old 02-18-2006, 03:09 AM Re: IE Problem (AGAIN!!!)
vangogh's Avatar
Post Impressionist

Posts: 10,688
Name: Steven Bradley
Location: Boulder, Colorado
Trades: 0
I think it might be the .png too though I didn't have a good explanation. I think in IE that the png for the navigation links is allowing some of the background png to show through making it look darker behind the navigation links. That's just a theory though. I do think that changing the images to jpgs will probably fix the problem.

I'm also a big Firefox supporter, but I don't think it's fair to blame IE when things don't always work like you want them too. Most of the time when we can't get something to work in a browser it's because of our lack of knowledge about how the browser displays our code than it is the browsers fault.

I agree that IE lacks a little in some of it css compliance and in this case its support for png files (at least I think in this case), but it really handles most css pretty well. I imagine with version 7 IE will catch up on its css2 support. (then we can all complain about how it doesn't support css3) I've even come across times when IE behaved exactly as I expected only to have things not work in Firefox.

The more I've learned about css and web development in general the less problems I've had in getting things to display the way I want across different browsers. Usually now it's just a couple of minor tweaks of my original code.
__________________
l Search Engine Friendly Web Design |
Please login or register to view this content. Registration is FREE

l Tips On Marketing, SEO, Design, and Development |
Please login or register to view this content. Registration is FREE

l
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE

Last edited by vangogh; 02-18-2006 at 03:10 AM..
vangogh is offline
Reply With Quote
View Public Profile Visit vangogh's homepage!
 
Old 02-18-2006, 08:14 AM Re: IE Problem (AGAIN!!!)
herbal_ali's Avatar
Extreme Talker

Posts: 156
Location: London, UK
Trades: 0
it works now, i changed it to jpeg
herbal_ali is offline
Reply With Quote
View Public Profile Visit herbal_ali's homepage!
 
Old 02-18-2006, 02:08 PM Re: IE Problem (AGAIN!!!)
vangogh's Avatar
Post Impressionist

Posts: 10,688
Name: Steven Bradley
Location: Boulder, Colorado
Trades: 0
Looks good herbal. Hopefully IE will improve it's supprt for .png files with IE7.
__________________
l Search Engine Friendly Web Design |
Please login or register to view this content. Registration is FREE

l Tips On Marketing, SEO, Design, and Development |
Please login or register to view this content. Registration is FREE

l
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
vangogh is offline
Reply With Quote
View Public Profile Visit vangogh's homepage!
 
Old 02-18-2006, 06:52 PM Re: IE Problem (AGAIN!!!)
Christopher's Avatar
Iced Cap

Latest Blog Post:
Cross-domain AJAX with JSONP
Posts: 3,110
Location: Toronto, Ontario
Trades: 0
That is odd. IE should support PNG's just fine, just not the alpha transparency. If you weren't using alpha transparency, then they should have appeared just fine. Then you have that JS that fixed the alpha transparency issue anyway, so I wonder what the problem was.

Anyway, glad you got it working
__________________

Please login or register to view this content. Registration is FREE
- Latest Articles:
Please login or register to view this content. Registration is FREE
,
Please login or register to view this content. Registration is FREE

--
Please login or register to view this content. Registration is FREE

Christopher is offline
Reply With Quote
View Public Profile
 
Old 02-18-2006, 09:45 PM Re: IE Problem (AGAIN!!!)
vangogh's Avatar
Post Impressionist

Posts: 10,688
Name: Steven Bradley
Location: Boulder, Colorado
Trades: 0
Chroeder, I haven't used pngs much myself. What's the appha transparency issue? Does it occur when creating the pngs in an image editor?
__________________
l Search Engine Friendly Web Design |
Please login or register to view this content. Registration is FREE

l Tips On Marketing, SEO, Design, and Development |
Please login or register to view this content. Registration is FREE

l
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
vangogh is offline
Reply With Quote
View Public Profile Visit vangogh's homepage!
 
Old 02-19-2006, 01:26 AM Re: IE Problem (AGAIN!!!)
Christopher's Avatar
Iced Cap

Latest Blog Post:
Cross-domain AJAX with JSONP
Posts: 3,110
Location: Toronto, Ontario
Trades: 0
GIF's uses something called 'binary transparency'. This means that any pixel is either a solid color, or is transparent. PNG's on the other hand support something called 'alpha transparency' which can make a pixel "kind of transparent". Where you would get blocky edges on transparent GIF's (a transparent GIF saved for light backgrounds will have those blocky light edges when used on a dark background), PNG's will show seamlessly.

The misconception is that PNG+transparency simply does not work in IE. But you can still use 'binary transparency' in IE (just like GIF's).

The Wikipedia page on PNG is a good read for those who are interested.
__________________

Please login or register to view this content. Registration is FREE
- Latest Articles:
Please login or register to view this content. Registration is FREE
,
Please login or register to view this content. Registration is FREE

--
Please login or register to view this content. Registration is FREE

Christopher is offline
Reply With Quote
View Public Profile
 
Old 02-19-2006, 01:37 PM Re: IE Problem (AGAIN!!!)
vangogh's Avatar
Post Impressionist

Posts: 10,688
Name: Steven Bradley
Location: Boulder, Colorado
Trades: 0
Thanks for the info and the link. I've mostly stick to using gifs and jpgs, but would like to learn a little more about png files. Seems like it's going to be the way to go. I had thought support for them was pretty good and from what your saying it sounds like it is.
__________________
l Search Engine Friendly Web Design |
Please login or register to view this content. Registration is FREE

l Tips On Marketing, SEO, Design, and Development |
Please login or register to view this content. Registration is FREE

l
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
vangogh is offline
Reply With Quote
View Public Profile Visit vangogh's homepage!
 
Old 02-19-2006, 06:03 PM Re: IE Problem (AGAIN!!!)
0beron's Avatar
Defies a Status

Posts: 1,832
Location: Somewhere else entirely
Trades: 0
There's some CSS you can use to get transparent PNGS to work in IE 6, no java script required (although you can acheive the same effect with JS).
__________________
UPDATE 0beron SET talkupation = talkupation + lots WHERE post = 'helpful';

Please login or register to view this content. Registration is FREE
(aka MSN handwriting for forums)
0beron is offline
Reply With Quote
View Public Profile Visit 0beron's homepage!
 
Reply     « Reply to IE Problem (AGAIN!!!)
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.30418 seconds with 12 queries