Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 12 of 12
  1. #1
    New to the CF scene
    Join Date
    Nov 2010
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    IE compatibility issues. Perhaps Doctype?

    I have a confusing issue and after looking into it, I think it might be doctype related but it still doesn't make sense.

    I use Kompozer to build my site, and on firefox and chrome it all seems to work just fine. However, IE and safari have issues.

    this page:
    http://www.empire-earned.com/warning/1.html

    it wont load the actual image in IE, just the top banners. also-

    this page:
    http://www.empire-earned.com/photo/nature/1.html

    this one seems to work just fine, and as far as I can tell I did their layout the same way.

    another question I have may be related. My fonts should all be either Stencil or Arial Black, but don't always show that way on other's browsers. How do I lock it in to always be those fonts?

    Thanks a ton!

  • #2
    Senior Coder
    Join Date
    Aug 2010
    Location
    High Point, NC
    Posts
    3,332
    Thanks
    5
    Thanked 363 Times in 360 Posts
    Have you validated your code here?

    Also, fonts are very tricky. If you use something other than web safe fonts, unless the user(pc the user is browsing on) has that font installed, then they cant view it.

  • #3
    New to the CF scene
    Join Date
    Nov 2010
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts
    ah crap, so that gives me a bunch of errors. the problem is, I don't know how to actually code, I was using the layout prog to generate the code.

    *sigh*

    Thank you for the tip though.

  • #4
    Senior Coder
    Join Date
    Aug 2010
    Location
    High Point, NC
    Posts
    3,332
    Thanks
    5
    Thanked 363 Times in 360 Posts
    Quote Originally Posted by Spykron View Post
    ah crap, so that gives me a bunch of errors. the problem is, I don't know how to actually code, I was using the layout prog to generate the code.

    *sigh*

    Thank you for the tip though.
    Copy and paste the code error and do a google. You can find some helpful info on how to fix most problems. Or you can post specific code validation errors here and we may can help.

  • #5
    New to the CF scene
    Join Date
    Nov 2010
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts
    ok so i plugged in a bunch of pro websites into that validator and they have a lot of errors also. so whats the deal? do i try to fix all of them or do they not really matter?

    well obviously at least one of them matters.

  • #6
    Senior Coder
    Join Date
    Aug 2010
    Location
    High Point, NC
    Posts
    3,332
    Thanks
    5
    Thanked 363 Times in 360 Posts
    Quote Originally Posted by Spykron View Post
    ok so i plugged in a bunch of pro websites into that validator and they have a lot of errors also. so whats the deal? do i try to fix all of them or do they not really matter?

    well obviously at least one of them matters.
    By pro websites do you mean you tried validating websites you randomly picked? Sure not all websites validate, but many errors in coding can render different results in different browsers. For instance, if you dont specify a correct and complete doctype, IE might not display your page correctly. Other browsers might let you get by without the correct doctype.

    If you are having issues with coding you have written, then the first thing to do is make sure you have good semantic code. To me thats the first step in debugging code errors.

  • #7
    New to the CF scene
    Join Date
    Nov 2010
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts
    yea basically.

    http://www.codingforums.com/ has 30 errors...

    anyway i still haven't figured it out so if anyone has more tips they would be appreciated.

  • #8
    Master Coder
    Join Date
    Apr 2003
    Location
    in my house
    Posts
    5,211
    Thanks
    39
    Thanked 201 Times in 197 Posts
    first thing is to forget about how 'big' sites have been built. In many cases they have been built using tables etc which sort of lock the deisgn into a shape which browsers will mostly all follow similarly.

    If you were the change your doctype to html 4.01 transitional - 'transitional' being the key difference, it has no errors.

    there is a sticky in the html forum with the doctypes listed.

    bazz
    "The day you stop learning is the day you become obsolete"! - my late Dad.

    Why do some people say "I don't know for sure"? If they don't know for sure then, they don't know!
    Useful MySQL resource
    Useful MySQL link

  • #9
    New to the CF scene
    Join Date
    Nov 2010
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts
    thanks i plan to try that next. ive heard its a bad idea to not go with strict though, and would be interested to hear your thoughts on that.

  • #10
    Master Coder
    Join Date
    Apr 2003
    Location
    in my house
    Posts
    5,211
    Thanks
    39
    Thanked 201 Times in 197 Posts
    going with strict is ideal. but when I mentioned the transitional doctype, I was trying to convey that your markup isn't sooo bad. generally speaking, tweaking from something to make it strict is relatively straightforward if it was OK in transitional 'format'.

    bazz
    "The day you stop learning is the day you become obsolete"! - my late Dad.

    Why do some people say "I don't know for sure"? If they don't know for sure then, they don't know!
    Useful MySQL resource
    Useful MySQL link

  • #11
    Senior Coder
    Join Date
    Aug 2010
    Location
    High Point, NC
    Posts
    3,332
    Thanks
    5
    Thanked 363 Times in 360 Posts
    Quote Originally Posted by phptutorial View Post
    If you useing IE for your browser, and will be to open some site, you will be got some error if some site using animation theme. But if you build your site with Kompozer tools, I think you can reduce some error.
    Huh? I understood the very little of that..lol

  • #12
    Master Coder
    Join Date
    Apr 2003
    Location
    in my house
    Posts
    5,211
    Thanks
    39
    Thanked 201 Times in 197 Posts
    better to build the site properly with valid code. forget software builders of any sort, imv. they are for amateurs.
    "The day you stop learning is the day you become obsolete"! - my late Dad.

    Why do some people say "I don't know for sure"? If they don't know for sure then, they don't know!
    Useful MySQL resource
    Useful MySQL link


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •