-
1. Re: Browser Compatability Help please?
Jon Fritz II Oct 4, 2012 9:33 AM (in response to jgcalifornia)More than likely there is nothing truely "wrong" with your code. Some of those browsers are so old, it's pretty unlikely you'd have a visitor using one and expecting anything to work correctly to begin with.
Just to make sure though, could you post a link to a working page so we can see what's going on behind the scenes?
-
2. Re: Browser Compatability Help please?
jgcalifornia Oct 4, 2012 9:35 AM (in response to Jon Fritz II) -
3. Re: Browser Compatability Help please?
Jon Fritz II Oct 4, 2012 9:42 AM (in response to jgcalifornia)You do have some HTML errors. If you run it through this validator, it will show you where they are and you can repair them...
There is an error in the css of your <head> section, you have a line of css outside your <style> tags...
#example-one li,#example-one li a { display: inline-block; float: none; *display:inline;/* ie6 and 7 inlin e-box hack */ zoom: 1.0; }
If you don't need it, delete it, if you do, just move it into one of the <style> tag sets. (you may want to clean the css up and move it to an external sheet so everything is in the same place)
The rest of it looks fine according to the CSS validator here: http://jigsaw.w3.org/css-validator/ the errors it throws, aside from the out of place css line are to be expected and don't affect anything negatively (they're just browser specific code).
I wouldn't be surprised if that line is causing the error you're seeing.
-
4. Re: Browser Compatability Help please?
jgcalifornia Oct 4, 2012 9:50 AM (in response to Jon Fritz II)Hi, yes I validated through that page, hence some of the errors i inquired about. Infact, the errors that validator give me are 40 more than DW gives me!
Not sure why.
I moved the CSS line you mentioned, but get this in the CSS validator:
37 #example-one li, #example-one li a Parse Error *display:inline; -
5. Re: Browser Compatability Help please?
Jon Fritz II Oct 4, 2012 9:57 AM (in response to jgcalifornia)Stick with the online W3C validators...
...and repair your errors. IE is far and away the worst browser when it comes to html errors. Once it's in Quirks Mode, all bets are off as to whether it will run your code as you intended. The other browsers seem more forgiving of invalid code and generally do a better job interpereting what you meant to have display.
-
6. Re: Browser Compatability Help please?
jgcalifornia Oct 4, 2012 10:00 AM (in response to Jon Fritz II)I had a feeling the online validators were more appropriate thean DW, which gives me more than a dozen errors...
What I dont understand, is why it doesnt even like my <h> tags.
-
7. Re: Browser Compatability Help please?
Jon Fritz II Oct 4, 2012 10:06 AM (in response to jgcalifornia)I'm not completely sure what that line does, I almost never use browser hacks in my css for IE 6 or 7.
You're probably fine leaving it as is.


