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 April 7th, 2005, 10:47 AM
andyg1 andyg1 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Posts: 215 andyg1 User rank is Corporal (100 - 500 Reputation Level)andyg1 User rank is Corporal (100 - 500 Reputation Level)andyg1 User rank is Corporal (100 - 500 Reputation Level)andyg1 User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 2 Days 3 h 2 m 40 sec
Reputation Power: 10
Validation, Compatibility, Javascript and Browsers

I've read another post in this forum put up recently and this is along the same lines and abit different aswell...

I recently put together a website, as an amateur, and tested it in IE, all of which I was quite happy about - it's the bulk of the home user market.

Now I've got the time I'm ready and willing to begin to produce a second version that will work properly in FireFox, Opera etc aswell. The confusion begins...

Here's a few questions revolving around this:

- If my site looks right and works well in Opera does that mean it'll look right and work well in FireFox/IE etc?

- If I code some HTML that is valid and CSS that is valid too will that ensure that it looks the same/similar across the different browsers?

- Is there some CSS that will work in some browsers and not others?

- Given that Javascirpt/JScript has subtle differences across the browsers above is there some validation I can do on that, or is there a list somewhere of all the Javascript/JScript functions that are common to all the browsers?

- Will I be able to get the project working on one browser and finding it does the same in the others? If so which browser is it? (I always figured it was Opera)

(On abit of different note - should I be looking at designing with CSS positioning rather than tables?)

And finally:
- is there any hope?

Many thanks

PS I might add a few more questions to this once I've unravelled my head abit.
__________________
Time isn't wasted if you're wasted all the time

Reply With Quote
  #2  
Old April 7th, 2005, 11:19 AM
BonRouge's Avatar
BonRouge BonRouge is offline
Winemaster
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Jul 2004
Location: Sendai, Japan
Posts: 1,354 BonRouge User rank is Second Lieutenant (5000 - 10000 Reputation Level)BonRouge User rank is Second Lieutenant (5000 - 10000 Reputation Level)BonRouge User rank is Second Lieutenant (5000 - 10000 Reputation Level)BonRouge User rank is Second Lieutenant (5000 - 10000 Reputation Level)BonRouge User rank is Second Lieutenant (5000 - 10000 Reputation Level)BonRouge User rank is Second Lieutenant (5000 - 10000 Reputation Level)BonRouge User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 3 Weeks 3 Days 3 h 18 m 20 sec
Reputation Power: 86
Quote:
Originally Posted by andyg1
- If my site looks right and works well in Opera does that mean it'll look right and work well in FireFox/IE etc?

No, not necessarily - all browsers have their little differences.

Quote:
Originally Posted by andyg1
- If I code some HTML that is valid and CSS that is valid too will that ensure that it looks the same/similar across the different browsers?

It won't ensure it's the same- no, but
it's the best you can do. You sometimes might need to use the odd hack or two to address browser issues - most of them being IE's.
Quote:
Originally Posted by andyg1
- Is there some CSS that will work in some browsers and not others?

Yes - lots. Mostly IE. The message here is that IE is basically a bit crap and does things badly or not at all.
A few IE problems :

  • It doesn't undestand 'position:fixed'
  • or 'min-width'/'min-height'
  • It treats 'height' as it should be treating 'min-height'.
  • It doesn't recognise the :hover pseudo-class on anything but the 'a' tag.
  • It doesn't recognise :target at all.
  • It treats floats wrongly.
I'm sure there are many more, but these are a few off the top of my head.

Quote:
Originally Posted by andyg1
- Will I be able to get the project working on one browser and finding it does the same in the others? If so which browser is it? (I always figured it was Opera)

Some people say Opera's the most standards-compliant. Others say it's an IE wannabe. Personally, I develop in Firefox.
Quote:
Originally Posted by andyg1
(On abit of different note - should I be looking at designing with CSS positioning rather than tables?)

Absolutely. Check out the article in my sig. Well, don't just 'check it out' - read it.
Quote:
Originally Posted by andyg1
And finally:
- is there any hope?

There's always hope!
Comments on this post
andyg1 agrees: Lots of detail. Much appreciated.
edwinbrains agrees!

Reply With Quote
  #3  
Old April 7th, 2005, 09:37 PM
Kravvitz's Avatar
Kravvitz Kravvitz is offline
CSS & JS/DOM Adept
Dev Shed God 22nd Plane (15500 - 15999 posts)
 
Join Date: Jul 2004
Location: USA
Posts: 15,956 Kravvitz User rank is General 8th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 8th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 8th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 8th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 8th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 8th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 8th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 8th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 8th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 8th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 8th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 8th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 8th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 8th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 8th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 8th Grade (Above 100000 Reputation Level) 
Time spent in forums: 3 Months 3 Weeks 5 Days 14 h 32 m 36 sec
Reputation Power: 1533
Bonrouge did a good job of answering those questions.

Telling whether Opera or the Mozilla Gecko engine (used in Netscape 6+ and Firefox) is more standards compliant would be difficult, however it seems to me that Firefox 1.0+ is more standards compliant than Opera 7.54.
__________________
Spreading knowledge, one newbie at a time.

Learn CSS. | PHP includes | X/HTML Validator | CSS validator | Dynamic Site Solutions

Design/program for Firefox (and/or Opera), apply fixes for IE, not the other way around.

I'm looking for new clients.

Reply With Quote
  #4  
Old April 8th, 2005, 07:33 AM
andyg1 andyg1 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Posts: 215 andyg1 User rank is Corporal (100 - 500 Reputation Level)andyg1 User rank is Corporal (100 - 500 Reputation Level)andyg1 User rank is Corporal (100 - 500 Reputation Level)andyg1 User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 2 Days 3 h 2 m 40 sec
Reputation Power: 10
Thanks guys,

but here are a couple more questions:

Is there a list somewhere, eg a reference manual style thing, of all the css commands that aren't supported by each browser eg. a table would be nice.

And the same question but for Javascript/JScript - I have a basic shopping cart on my website that doesn't let some people add stuff to the cart because it only works with function unique to IE. Is there a list made up somewhere, and if not, then why not damn it!!?

Also, on a lighter note, if you become an expert in the cross-browser compatibilty of CSS and Javascript/JScript is there alot of money it...?

Many thanks...

Reply With Quote
  #5  
Old April 8th, 2005, 08:51 AM
BonRouge's Avatar
BonRouge BonRouge is offline
Winemaster
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Jul 2004
Location: Sendai, Japan
Posts: 1,354 BonRouge User rank is Second Lieutenant (5000 - 10000 Reputation Level)BonRouge User rank is Second Lieutenant (5000 - 10000 Reputation Level)BonRouge User rank is Second Lieutenant (5000 - 10000 Reputation Level)BonRouge User rank is Second Lieutenant (5000 - 10000 Reputation Level)BonRouge User rank is Second Lieutenant (5000 - 10000 Reputation Level)BonRouge User rank is Second Lieutenant (5000 - 10000 Reputation Level)BonRouge User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 3 Weeks 3 Days 3 h 18 m 20 sec
Reputation Power: 86
I don't know about javascript support, but Quirksmode (I don't know the author's name) has a pretty good css reference.

As for the money... I'm sure there's good money in this kind of thing, but I don't see any of it - I'm an English teacher .

Reply With Quote
  #6  
Old April 8th, 2005, 02:57 PM
Kravvitz's Avatar
Kravvitz Kravvitz is offline
CSS & JS/DOM Adept
Dev Shed God 22nd Plane (15500 - 15999 posts)
 
Join Date: Jul 2004
Location: USA
Posts: 15,956 Kravvitz User rank is General 8th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 8th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 8th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 8th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 8th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 8th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 8th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 8th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 8th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 8th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 8th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 8th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 8th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 8th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 8th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 8th Grade (Above 100000 Reputation Level) 
Time spent in forums: 3 Months 3 Weeks 5 Days 14 h 32 m 36 sec
Reputation Power: 1533
I know of two other good lists.
http://www.blooberry.com/indexdot/css/
http://www.csscreator.com/attributes/

The key is to test each script and page in several versions of many browsers, because even if you knew exactly what each browser suported, there are still bugs that you can come across.

As for money, you would need to ask someone who is better established that I am.

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignWeb Design Help > Validation, Compatibility, Javascript and Browsers


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 | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway
Stay green...Green IT