Web Design Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignWeb Design Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old December 15th, 2003, 03:42 PM
MastahUK's Avatar
MastahUK MastahUK is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Location: UK
Posts: 242 MastahUK User rank is Corporal (100 - 500 Reputation Level)MastahUK User rank is Corporal (100 - 500 Reputation Level)MastahUK User rank is Corporal (100 - 500 Reputation Level)MastahUK User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 1 Day 9 h 33 m 7 sec
Reputation Power: 8
Send a message via ICQ to MastahUK
Cross browser support - only IE works atm

I created this site, Retina-FX, based off some sketches I did at first. I made the layout fairly quickly, and then spent a while (understatement! :P ) making the content. I finally thought I was finished with the whole thing, when I suddenly realised that it looks awful when viewed in netscape or mozilla.

I can understand why quite a bit of the css won't work, and also why my iframes don't work - but I am not too sure why the actual table layout changes so drastically on other browsers. If anyone could point me in the right direction towards sorting this I will be very grateful!

I was also considering the idea of leaving it alone and just placing "requires internet explorer 5.0 or higher" somewhere, maybe on a splash page. What are your opinions on doing this?

Reply With Quote
  #2  
Old December 15th, 2003, 04:01 PM
jabba_29's Avatar
jabba_29 jabba_29 is offline
Back in HEL
Dev Shed God 8th Plane (8500 - 8999 posts)
 
Join Date: Feb 2002
Location: Finland
Posts: 8,670 jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)  Folding Points: 57777 Folding Title: Beginner FolderFolding Points: 57777 Folding Title: Beginner FolderFolding Points: 57777 Folding Title: Beginner Folder
Time spent in forums: 3 Months 3 Weeks 4 Days 6 h 4 m 26 sec
Reputation Power: 1618
Send a message via ICQ to jabba_29 Send a message via AIM to jabba_29 Send a message via MSN to jabba_29 Send a message via Yahoo to jabba_29 Send a message via Google Talk to jabba_29 Send a message via Skype to jabba_29
Facebook
You are right, looks really bad in Mozilla

You have got to take into account 2 things:

1: Statistics show that 95% of browsers are using IE 5 and above
2: Never trust statistics.

HTH
__________________
Cheers,

Jamie


# skiFFie | Home of the 'accessibility module' for Drupal
# Jamie Burns [me] Accessibility Module [drupal]
# guidelines | search | wap resources | not getting help | fold to cure

# Any form of employment is strictly prohibited ......


__________________

Let the might of your compassion arise to bring a quick end
to the flowing stream of the blood and tears .....
Please hear my anguished words of truth.

__________________

Reply With Quote
  #3  
Old December 15th, 2003, 04:11 PM
MastahUK's Avatar
MastahUK MastahUK is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Location: UK
Posts: 242 MastahUK User rank is Corporal (100 - 500 Reputation Level)MastahUK User rank is Corporal (100 - 500 Reputation Level)MastahUK User rank is Corporal (100 - 500 Reputation Level)MastahUK User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 1 Day 9 h 33 m 7 sec
Reputation Power: 8
Send a message via ICQ to MastahUK
Haha, I think I understand what you're saying.

Anyway, I guess I should do something about this pretty soon then. Hmm.....if I can detect their browser in php, then I should perhaps only view the current code when it is IE 5.0 or above. Does anyone know an alternative to using iframes that will help me to fix this problem? Please don't tell me I have to build the iframes into the outer layout's script, because I want this to be done before christmas (christmas 2004 that is ).

Any help/useful links would be great!

Reply With Quote
  #4  
Old December 15th, 2003, 10:56 PM
robertadams robertadams is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Posts: 79 robertadams User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
It works pretty well in my mozilla, it looks terrible in IE5 that is the only IE I have.
The only problem in Mozilla is your 8ball graphic is being repeated but only half of it is showing the second time.

luck,
robert

Reply With Quote
  #5  
Old December 16th, 2003, 05:33 AM
MastahUK's Avatar
MastahUK MastahUK is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Location: UK
Posts: 242 MastahUK User rank is Corporal (100 - 500 Reputation Level)MastahUK User rank is Corporal (100 - 500 Reputation Level)MastahUK User rank is Corporal (100 - 500 Reputation Level)MastahUK User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 1 Day 9 h 33 m 7 sec
Reputation Power: 8
Send a message via ICQ to MastahUK
After giving this some thought, I have decided that it would be best to make a different version in a layout that will work on any browser. The current one should still be visible for users with Internet Explorer (only 6.0 or higher by the sound of it ), otherwise they will be redirected to the other layout.

I have 2 domains for this site that both use the same hosting. I was wondering if I could detect whether a user has gone to .net or .com and show the different layouts for each one. How could I go about doing this?

Reply With Quote
  #6  
Old December 16th, 2003, 05:45 AM
jabba_29's Avatar
jabba_29 jabba_29 is offline
Back in HEL
Dev Shed God 8th Plane (8500 - 8999 posts)
 
Join Date: Feb 2002
Location: Finland
Posts: 8,670 jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)  Folding Points: 57777 Folding Title: Beginner FolderFolding Points: 57777 Folding Title: Beginner FolderFolding Points: 57777 Folding Title: Beginner Folder
Time spent in forums: 3 Months 3 Weeks 4 Days 6 h 4 m 26 sec
Reputation Power: 1618
Send a message via ICQ to jabba_29 Send a message via AIM to jabba_29 Send a message via MSN to jabba_29 Send a message via Yahoo to jabba_29 Send a message via Google Talk to jabba_29 Send a message via Skype to jabba_29
Facebook
Check out $_SERVER variables, as I see you have PHP on your site.

It may also be possible to use get_browser() to detect the browser, but not all hosts allow this.

HTH

Reply With Quote
  #7  
Old December 16th, 2003, 07:23 AM
MastahUK's Avatar
MastahUK MastahUK is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Location: UK
Posts: 242 MastahUK User rank is Corporal (100 - 500 Reputation Level)MastahUK User rank is Corporal (100 - 500 Reputation Level)MastahUK User rank is Corporal (100 - 500 Reputation Level)MastahUK User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 1 Day 9 h 33 m 7 sec
Reputation Power: 8
Send a message via ICQ to MastahUK
Ah thanks for that jabba. I searched for that function and found a very useful script that I can include that will spit out a variable containing their browser information.

I will start making the layout for mozilla/netscape users soon, I was just wondering what are the do's and don'ts of coding for these browsers. I already know a lot of css isn't supported, but how are tables treated differently on those browsers compared to IE?

Reply With Quote
  #8  
Old December 16th, 2003, 07:30 AM
jabba_29's Avatar
jabba_29 jabba_29 is offline
Back in HEL
Dev Shed God 8th Plane (8500 - 8999 posts)
 
Join Date: Feb 2002
Location: Finland
Posts: 8,670 jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)  Folding Points: 57777 Folding Title: Beginner FolderFolding Points: 57777 Folding Title: Beginner FolderFolding Points: 57777 Folding Title: Beginner Folder
Time spent in forums: 3 Months 3 Weeks 4 Days 6 h 4 m 26 sec
Reputation Power: 1618
Send a message via ICQ to jabba_29 Send a message via AIM to jabba_29 Send a message via MSN to jabba_29 Send a message via Yahoo to jabba_29 Send a message via Google Talk to jabba_29 Send a message via Skype to jabba_29
Facebook
I think if you want to go for layout for all browsers, use @import for the css - that way bowsers that don't support it will get a basic layout with no css.
Alternatively have seperate stylesheets for the main browsers.
One thing is that I would do your testing in non IE. You will probably find that it will be OK in IE, but try browsers that are the most standards compliant, as browsers are all improving and moving towards these standards if they are not these already.
Some useful information can be found at WaSP .

Reply With Quote
  #9  
Old December 16th, 2003, 08:52 AM
MastahUK's Avatar
MastahUK MastahUK is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Location: UK
Posts: 242 MastahUK User rank is Corporal (100 - 500 Reputation Level)MastahUK User rank is Corporal (100 - 500 Reputation Level)MastahUK User rank is Corporal (100 - 500 Reputation Level)MastahUK User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 1 Day 9 h 33 m 7 sec
Reputation Power: 8
Send a message via ICQ to MastahUK
Thanks again jabba, you've been really helpful

I found out that for some reason, netscape (and probably many other browsers) doesnt support tables very well. It said that tables should be made using HTML 3.2, not HTML 4.0. I am not familiar with the differences here, but I'll just test in netscape from now on and hope it works.

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignWeb Design Help > Cross browser support - only IE works atm


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support |