|
|
 |
August 1st, 2007, 10:25 PM
|
#1
|
|
Elite Veteran
Join Date: Jul 2007
Location: Webforumz 24/7
Age: 17
Posts: 3,799
Thanks: 2
Thanked 3 Times in 3 Posts
|
Ie
This is also a sort of accessibility question.
with my sites i like using .PNGs for headers and such and a lot of them are transparent, IE has a problem doing transparent PNGs (the fix didn't work for me) so should I do it all in GIFs (less quality) or take up the extra work and code two stylesheets, one for IE and one for firefox etc.
firefox having pngs and ie having gifs.
yeah so, do you reckon it's all worth the trouble?
|
|
|
August 1st, 2007, 10:33 PM
|
#2
|
|
WebForumz Member
Join Date: Jul 2007
Location: London
Posts: 79
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0
|
Re: Ie
Hi
You could use a . swf flash file with transparent background.
Better quality than . gif and small than . png
http://kb.adobe.com/selfservice/view...4201&sliceId=2
regards
p shah - www.dcpweb.co.uk
|
|
|
August 1st, 2007, 10:41 PM
|
#3
|
|
Elite Veteran
Join Date: Jul 2007
Location: Webforumz 24/7
Age: 17
Posts: 3,799
Thanks: 2
Thanked 3 Times in 3 Posts
|
Re: Ie
I'd love to use flash as a header, but i usually get a lot of problems positioning it etc.
Hmm.
do you reckon I should use a flash page,
and it gives you options,
flash version, IE version, recommended version (firefox with PNGs)
and it could be saved in a session 
Sound like a good idea?
|
|
|
August 1st, 2007, 10:45 PM
|
#4
|
|
WebForumz Member
Join Date: Jul 2007
Location: London
Posts: 79
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0
|
Re: Ie
Hi,
Not too sure what you mean, but never use only flash in your website, simply not good for SEO.
check out my site www.dcpweb.co.uk and you will see how I used flash in title header but also kept html content
regards
P Shah - www.dcpweb.co.uk
|
|
|
August 1st, 2007, 10:54 PM
|
#5
|
|
Elite Veteran
Join Date: Jul 2007
Location: Webforumz 24/7
Age: 17
Posts: 3,799
Thanks: 2
Thanked 3 Times in 3 Posts
|
Re: Ie
No i didn't mean all flash.
But anyway.
If I were to use flash,
I like what you've done on your website,
but on mine I'd need the height shorter to fit the content in
|
|
|
August 2nd, 2007, 04:11 AM
|
#6
|
|
Most Reputable Member
Join Date: May 2007
Location: UK
Age: 29
Posts: 1,107
Thanks: 0
Thanked 0 Times in 0 Posts
|
Re: Ie
Quote:
Originally Posted by alexgeek
should I do it all in GIFs (less quality) or take up the extra work and code two stylesheets, one for IE and one for firefox etc.
firefox having pngs and ie having gifs.
yeah so, do you reckon it's all worth the trouble?
|
You'll almost certainly need an extra stylesheet for IE anyway. In fact, you'll need at least two: one for IE6 and one for IE7.
IE7 supports PNGs just fine, so no need to serve it a GIF.
As for IE6, you can either serve it a GIF, or get one of the fixes to work.
|
|
|
August 2nd, 2007, 04:32 AM
|
#7
|
|
Elite Veteran
SuperMember
Join Date: Jul 2003
Location: Southern UK
Age: 35
Posts: 3,126
Thanks: 28
Thanked 22 Times in 19 Posts
|
Re: Ie
Luckily it's easy to target ie6 and ie7 seperately using ie's proprietary implementation of conditional comments.
Code:
<!--[if lt IE 7]>
some code here for ie6 and below
<![endif]-->
|
|
|
August 2nd, 2007, 08:13 AM
|
#8
|
|
Elite Veteran
Join Date: Jan 2007
Location: You know where
Age: 32
Posts: 4,607
Thanks: 0
Thanked 0 Times in 0 Posts
|
Re: Ie
And you can use JS to deal with the transparency issue in IE6
How to deal with PNG transparency in IE6
|
|
|
August 2nd, 2007, 08:51 AM
|
#9
|
|
Elite Veteran
Join Date: Jul 2007
Location: Webforumz 24/7
Age: 17
Posts: 3,799
Thanks: 2
Thanked 3 Times in 3 Posts
|
Re: Ie
I had problems with the JS to deal with the transparency issue.
oh well I'll try it again.
so say I had a style sheet for IE 6 and lower, and then another one for anyone else, what would the IF look like?
|
|
|
August 2nd, 2007, 08:53 AM
|
#10
|
|
Elite Veteran
Join Date: Jan 2007
Location: You know where
Age: 32
Posts: 4,607
Thanks: 0
Thanked 0 Times in 0 Posts
|
Re: Ie
Use the code Rob pasted.
The stylesheet for all other browser would just be the simple <link .. > tag.
The stylesheet for IE6, you put between the if statement above
|
|
|
August 2nd, 2007, 09:07 AM
|
#11
|
|
Elite Veteran
Join Date: Jul 2007
Location: Webforumz 24/7
Age: 17
Posts: 3,799
Thanks: 2
Thanked 3 Times in 3 Posts
|
Re: Ie
Okay thanks 
i'm going to code it all so it looks nice then work a bit to make it compatible with most browsers.
|
|
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|